Vps – mod_fcgid: No space left on device

apache-2.2mod-fcgidvps

I'm having a problem where apache2 won't start at all on my VPS, and it outputs this error:

[Mon May 09 07:00:38 2011] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for size 13018600 bytes

I know for a fact that I have enough memory (I have 2 gb available plus 1 gb burstable).

Any ideas on what it could be?

EDIT:

If it is any help, the VPS is running on OpenVZ and the guest operating system is Ubuntu 10.04 64bit

Best Answer

@dgrimbergen is right. Check this for example: http://blog.forestsoft.de/2011/01/shared-memory-issue-with-mod_fcgid/

If not, is the sharemempath set in your Apache config (httpd.conf or apache2.conf)?

SharememPath /var/run/fcgid_shm

Make sure this directory exists, is chmod "700" and owned by the same owner as the webserver is running under (www / www-data).

Related Topic