[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

Médéric Boquien report at bugs.python.org
Thu Apr 3 00:13:33 CEST 2014


Médéric Boquien added the comment:

If I remember correctly the problem is that some OS like linux (and probably others) do not really allocate space until something is written. If that's the case then the process may get killed later on when it writes something in the array.

Here is a quick example:

$ truncate -s 1T test.file
$ ls -lh test.file 
-rw-r--r-- 1 mederic users 1.0T Apr  2 23:10 test.file
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       110G   46G   59G  44% /home

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21116>
_______________________________________


More information about the Python-bugs-list mailing list