Cannot allocate memory

Nidhin M D <nidhin-YzedMhmJjC9Wk0Htik3J/[email protected]> Mon, 25 Apr 2011 12:17:00 +0530
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
--===============0739200470==
Content-Type: multipart/alternative; boundary=0016e64651a219d1a904a1b893d0

--0016e64651a219d1a904a1b893d0
Content-Type: text/plain; charset=ISO-8859-1

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<http://webdevassistant.co.uk/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<http://webdevassistant.co.uk/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

--0016e64651a219d1a904a1b893d0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25);"><br></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt;=
 color: rgb(31, 73, 125);">Hi</span></p><p class=3D"MsoNormal"><br><span st=
yle=3D"font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25);">Please help me to fix this issue.</span></p><p class=3D"MsoNormal"><s=
pan style=3D"font-size: 11pt; color: rgb(31, 73, 125);"><br></span></p><p c=
lass=3D"MsoNormal">
<span style=3D"font-size:11.0pt;color:#1F497D">[Wed Apr 20 14:28:39 2011] [=
notice] mod_fcgid: call /var/www/vhosts/<a href=3D"http://webdevassistant.c=
o.uk/httpdocs/index.php" target=3D"_blank">domain.com/httpdocs/index.php</a=
> with wrapper /usr/bin/php-cgi</span></p>


<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25);">[Wed Apr 20 14:28:39 2011] [error] (12)Cannot allocate memory: mod_fc=
gid: can&#39;t create wrapper process for /var/www/vhosts/<a href=3D"http:/=
/webdevassistant.co.uk/httpdocs/index.php" target=3D"_blank">domain/httpdoc=
s/index.php</a></span></p>
<p class=3D"MsoNormal">----------------------------------------------------=
---------------------------------------------------------------------------=
-----------------------------------------------------------------</p><p cla=
ss=3D"MsoNormal">
<br><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);"></span></p><p=
 class=3D"MsoNormal">Site hosted with plesk control.</p><p class=3D"MsoNorm=
al"><br><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);"></span></=
p><p class=3D"MsoNormal">
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125);">Below is the serv=
er settings.</span></p><p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal=
">vi /etc/httpd/conf.d/fcgid.conf <br></p><p class=3D"MsoNormal"><br><span =
style=3D"font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25);">=A0added by psa-mod-fcgid-configurator<br>LoadModule fcgid_module /us=
r/lib64/httpd/modules/mod_fcgid.so<br><br>&lt;IfModule mod_fcgid.c&gt;<br>=
=A0 SocketPath /var/lib/httpd/fcgid/sock<br>
&lt;/IfModule&gt;<br><br># added by psa-mod-fcgid-configurator<br>&lt;IfMod=
ule mod_fcgid.c&gt;<br>=A0 IdleTimeout 36000<br>=A0 ProcessLifeTime 7200<br=
>=A0 MaxProcessCount 64<br>=A0 DefaultMaxClassProcessCount 8<br>=A0 IPCConn=
ectTimeout 300<br>
=A0 IPCCommTimeout 450<br>=A0 DefaultInitEnv RAILS_ENV production<br>&lt;/I=
fModule&gt;<br></span></p><p class=3D"MsoNormal"><br></p><p class=3D"MsoNor=
mal">For solving some other issue with fcgid, created a new vhost.conf and =
vhost_ssl.conf then added below entries to files.</p>
<p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal">&lt;IfModule mod_fcgi=
d.c&gt;<br>SocketPath /var/lib/httpd/fcgid/sock<br>IdleTimeout 3600<br>Proc=
essLifeTime 7200<br>MaxProcessCount 1000<br>DefaultMinClassProcessCount 3<b=
r>
DefaultMaxClassProcessCount 100<br>IPCConnectTimeout 8<br>IPCCommTimeout 60=
0<br>BusyTimeout 300<br>&lt;/IfModule&gt;</p><p class=3D"MsoNormal"><br></p=
><p class=3D"MsoNormal">All these settings done before 2- 3 months. Drupal =
is used for building the sites. But now i&#39;m getting errors i posted abo=
ve.=A0</p>
<p class=3D"MsoNormal">Total memory - Mem:=A0=A0 1984536k total<br></p><p c=
lass=3D"MsoNormal">Please help.=A0</p><p class=3D"MsoNormal"><br></p><p cla=
ss=3D"MsoNormal">Regards</p><p class=3D"MsoNormal">Nidhin M D<br></p>

--0016e64651a219d1a904a1b893d0--

--===============0739200470==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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

--===============0739200470==--