Nidhin M D | 25 Apr 2011 08:47

Cannot allocate memory


Hi


Please help me to fix this issue.


[Wed Apr 20 14:28:39 2011] [notice] mod_fcgid: call /var/www/vhosts/domain.com/httpdocs/index.php with wrapper /usr/bin/php-cgi

[Wed Apr 20 14:28:39 2011] [error] (12)Cannot allocate memory: mod_fcgid: can't create wrapper process for /var/www/vhosts/domain/httpdocs/index.php

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Site hosted with plesk control.


Below is the server settings.


vi /etc/httpd/conf.d/fcgid.conf


 added by psa-mod-fcgid-configurator
LoadModule fcgid_module /usr/lib64/httpd/modules/mod_fcgid.so

<IfModule mod_fcgid.c>
  SocketPath /var/lib/httpd/fcgid/sock
</IfModule>

# added by psa-mod-fcgid-configurator
<IfModule mod_fcgid.c>
  IdleTimeout 36000
  ProcessLifeTime 7200
  MaxProcessCount 64
  DefaultMaxClassProcessCount 8
  IPCConnectTimeout 300
  IPCCommTimeout 450
  DefaultInitEnv RAILS_ENV production
</IfModule>


For solving some other issue with fcgid, created a new vhost.conf and vhost_ssl.conf then added below entries to files.


<IfModule mod_fcgid.c>
SocketPath /var/lib/httpd/fcgid/sock
IdleTimeout 3600
ProcessLifeTime 7200
MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 600
BusyTimeout 300
</IfModule>


All these settings done before 2- 3 months. Drupal is used for building the sites. But now i'm getting errors i posted above. 

Total memory - Mem:   1984536k total

Please help. 


Regards

Nidhin M D

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers@...
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
Nidhin M D | 26 Apr 2011 07:51

Re: Cannot allocate memory

Thanks Jay Sprenkle... i will buy more memory.. before that i want to know is there any issue in these settings?

On Mon, Apr 25, 2011 at 12:17 PM, Nidhin M D <nidhin-YzedMhmJjC9Wk0Htik3J/w@public.gmane.org> wrote:


Hi


Please help me to fix this issue.


[Wed Apr 20 14:28:39 2011] [notice] mod_fcgid: call /var/www/vhosts/domain.com/httpdocs/index.php with wrapper /usr/bin/php-cgi

[Wed Apr 20 14:28:39 2011] [error] (12)Cannot allocate memory: mod_fcgid: can't create wrapper process for /var/www/vhosts/domain/httpdocs/index.php

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Site hosted with plesk control.


Below is the server settings.


vi /etc/httpd/conf.d/fcgid.conf


 added by psa-mod-fcgid-configurator
LoadModule fcgid_module /usr/lib64/httpd/modules/mod_fcgid.so

<IfModule mod_fcgid.c>
  SocketPath /var/lib/httpd/fcgid/sock
</IfModule>

# added by psa-mod-fcgid-configurator
<IfModule mod_fcgid.c>
  IdleTimeout 36000
  ProcessLifeTime 7200
  MaxProcessCount 64
  DefaultMaxClassProcessCount 8
  IPCConnectTimeout 300
  IPCCommTimeout 450
  DefaultInitEnv RAILS_ENV production
</IfModule>


For solving some other issue with fcgid, created a new vhost.conf and vhost_ssl.conf then added below entries to files.


<IfModule mod_fcgid.c>
SocketPath /var/lib/httpd/fcgid/sock
IdleTimeout 3600
ProcessLifeTime 7200
MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 600
BusyTimeout 300
</IfModule>


All these settings done before 2- 3 months. Drupal is used for building the sites. But now i'm getting errors i posted above. 

Total memory - Mem:   1984536k total

Please help. 


Regards

Nidhin M D


_______________________________________________
FastCGI-developers mailing list
FastCGI-developers@...
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers

Gmane