I'm having an issue with mod_python and Apache, and I'm pretty certain I know what the problem is, but I'd like a bit of reassurance. I currently have a situation where I'm working with a very small VM with just 256M of RAM. Now MySQL and Apache run fairly well, and everything is fine and dandy, until I start hitting swap, which I obviously want to avoid as much as possible. With that little RAM though it's just about impossible. I've opted to cron up restart of MySQL and Apache a few times a day, however, I receive a no disk space left on device after about 4-5 days:
[Mon May 11 06:00:14 2009] [notice] caught SIGTERM, shutting down
[Mon May 11 06:00:20 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 11 06:00:20 2009] [notice] Digest: generating secret for digest authentication ...
[Mon May 11 06:00:20 2009] [notice] Digest: done
[Mon May 11 06:00:21 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Mon May 11 06:00:21 2009] [error] (28)No space left on device: mod_python: Failed to create global mutex 1 of 4 (/tmp/mpmtx265021).
My initial though was a lack of semaphores, but that didn't seem to be the case. At least the tricks I've used to circumvent that in the past hasn't worked thus far. I've seen similar issues with people using mod_python, but I haven't found much in the way of actual fixes. Are my restarts causing this, or is this just mod_python being buggy? Thanks!