mod_fcgid question
am 18.03.2010 13:22:51 von Matthias Leopold
hi,
i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system.
mod_fcgid version is 2.2 (from debian). although everything seems to
work basically i'm seeing lines like this
[warn] mod_fcgid: stderr: Cache unable to open file for writing:
cache/956287ab2d93bc91ee48c8b4204c93f1
in apache error log. i don't know where this is coming from nor where to
configure anything concerning "cache". on a centos system with a similar
setup i don't have this problem. since i sometimes experience memory
exhaustion problems on the debian system i would like to know if the
above error.log message could be related to them.
thx for advice
matthias
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid question
am 18.03.2010 13:32:49 von Nilesh Govindrajan
On 03/18/2010 05:52 PM, Matthias Leopold wrote:
> hi,
>
> i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system.
> mod_fcgid version is 2.2 (from debian). although everything seems to
> work basically i'm seeing lines like this
>
> [warn] mod_fcgid: stderr: Cache unable to open file for writing:
> cache/956287ab2d93bc91ee48c8b4204c93f1
>
> in apache error log. i don't know where this is coming from nor where to
> configure anything concerning "cache". on a centos system with a similar
> setup i don't have this problem. since i sometimes experience memory
> exhaustion problems on the debian system i would like to know if the
> above error.log message could be related to them.
>
> thx for advice
> matthias
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
I think your mod_fcgid's IPC dir is not writeable. Check its permissions.
--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid question
am 18.03.2010 13:34:12 von Jeff Trawick
On Thu, Mar 18, 2010 at 8:22 AM, Matthias Leopold wrote:
> hi,
>
> i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system.
> mod_fcgid version is 2.2 (from debian). although everything seems to
> work basically i'm seeing lines like this
>
> [warn] mod_fcgid: stderr: Cache unable to open file for writing:
> cache/956287ab2d93bc91ee48c8b4204c93f1
>
> in apache error log. i don't know where this is coming from nor where to
> configure anything concerning "cache".
you probably already knew this, but your CGI application is writing
this message to stderr, and mod_fcgid is capturing and logging it;
httpd/mod_fcgid don't generate this message
try searching for the message (starting with "Cache unable"); I just found
http://expressionengine.com/forums/viewthread/37188/
> on a centos system with a similar
> setup i don't have this problem. since i sometimes experience memory
> exhaustion problems on the debian system i would like to know if the
> above error.log message could be related to them.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid question
am 18.03.2010 14:29:14 von Matthias Leopold
Jeff Trawick schrieb:
> On Thu, Mar 18, 2010 at 8:22 AM, Matthias Leopold wrote:
>> hi,
>>
>> i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system.
>> mod_fcgid version is 2.2 (from debian). although everything seems to
>> work basically i'm seeing lines like this
>>
>> [warn] mod_fcgid: stderr: Cache unable to open file for writing:
>> cache/956287ab2d93bc91ee48c8b4204c93f1
>>
>> in apache error log. i don't know where this is coming from nor where to
>> configure anything concerning "cache".
>
> you probably already knew this, but your CGI application is writing
> this message to stderr, and mod_fcgid is capturing and logging it;
> httpd/mod_fcgid don't generate this message
>
> try searching for the message (starting with "Cache unable"); I just found
>
> http://expressionengine.com/forums/viewthread/37188/
>
you're probably right. i was already suspecting something like this and
should've paid more attention to "stderr".... probably it's just wrong
permissions on a directory in some users webspace and not related to my
memory problems
thx
matthias
>> on a centos system with a similar
>> setup i don't have this problem. since i sometimes experience memory
>> exhaustion problems on the debian system i would like to know if the
>> above error.log message could be related to them.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
Mit freundlichen GrĂ¼ssen
Matthias Leopold
System & Network Administration
Streams Telecommunications GmbH
Universitaetsstrasse 10/7, 1090 Vienna, Austria
tel: +43 1 40159113
fax: +43 1 40159300
------------------------------------------------
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org