Re: Cannot allocate memory

Nidhin M D <nidhin-YzedMhmJjC9Wk0Htik3J/[email protected]> Tue, 26 Apr 2011 11:21:40 +0530
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
--===============1572930654==
Content-Type: multipart/alternative; boundary=0016e64765d207272a04a1cbeba5

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

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/[email protected]> 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<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
>

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

Thanks <span class=3D"gI"><span class=3D"gD" style=3D"color:#5b1094">Jay Sp=
renkle... i will buy more memory.. before that i want to know is there any =
issue in these settings?</span></span><br><br><div class=3D"gmail_quote">On=
 Mon, Apr 25, 2011 at 12:17 PM, Nidhin M D <span dir=3D"ltr">&lt;<a href=3D=
"mailto:nidhin-YzedMhmJjC9Wk0Htik3J/[email protected]">nidhin-YzedMhmJjC9Wk0Htik3J/[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><p class=3D"MsoNormal"><span style=3D"font-=
size:11pt;color:rgb(31, 73, 125)"><br></span></p><p class=3D"MsoNormal"><sp=
an style=3D"font-size:11pt;color:rgb(31, 73, 125)">Hi</span></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, 125)=
">Please help me to fix this issue.</span></p><p class=3D"MsoNormal"><span =
style=3D"font-size:11pt;color:rgb(31, 73, 125)"><br></span></p><p class=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, 125)=
">[Wed Apr 20 14:28:39 2011] [error] (12)Cannot allocate memory: mod_fcgid:=
 can&#39;t create wrapper process for /var/www/vhosts/<a href=3D"http://web=
devassistant.co.uk/httpdocs/index.php" target=3D"_blank">domain/httpdocs/in=
dex.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 cla=
ss=3D"MsoNormal">Site hosted with plesk control.</p><p class=3D"MsoNormal">=
<br><span style=3D"font-size:11pt;color:rgb(31, 73, 125)"></span></p><p cla=
ss=3D"MsoNormal">

<span style=3D"font-size:11pt;color:rgb(31, 73, 125)">Below is the server s=
ettings.</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 styl=
e=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)=
">=A0added by psa-mod-fcgid-configurator<br>LoadModule fcgid_module /usr/li=
b64/httpd/modules/mod_fcgid.so<br><br>&lt;IfModule mod_fcgid.c&gt;<br>=A0 S=
ocketPath /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>
</blockquote></div><br>

--0016e64765d207272a04a1cbeba5--

--===============1572930654==
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

--===============1572930654==--