I\'m getting an error when trying to execute python program that uses multiprocessing package:
File \"/usr/local/lib/python2.6/multiprocessing/__init__.py\
In my OVH VPS Classic, this error was caused by a loop in /dev/shm and /run/shm. Both were symlinks linking to each other. So as root here is what I did:
# rm /dev/shm
# mkdir /dev/shm
# chmod 777 /dev/shm
# nano /etc/fstab
Then I modified the shm line from:
none /dev/shm tmpfs rw 0 0
To:
none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
Restarted the server... And that fixed the problem! Alternatively you can mount shm manually:
# mount /dev/shm
Hope this helps :-)