This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sam-s
Recipients jcea, sam-s, themoken
Date 2019-04-03.15:58:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554307084.08.0.735779519116.issue13947@roundup.psfhosted.org>
In-reply-to
Content
I observe the same behavior on Linux 4.18.0-17-generic #18-Ubuntu
with Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0].
gdbm 1.14.1-6:
after

db = dbm.gnu.open("asdf","n")
db["a"] = "124"
db.reorganize()
db.close()

I see

$ lsof ~/asdf 
COMMAND   PID USER  FD   TYPE DEVICE SIZE/OFF    NODE NAME
python3 22071  sds mem-W  REG    8,2    16384 4328326 /home/sds/asdf

and

>>> db = dbm.gnu.open("asdf","r")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sds/src/pyapp/tests/fileconv_test.py", line 1053, in <module>
_gdbm.error: [Errno 11] Resource temporarily unavailable
History
Date User Action Args
2019-04-03 15:58:04sam-ssetrecipients: + sam-s, jcea, themoken
2019-04-03 15:58:04sam-ssetmessageid: <1554307084.08.0.735779519116.issue13947@roundup.psfhosted.org>
2019-04-03 15:58:04sam-slinkissue13947 messages
2019-04-03 15:58:03sam-screate