mod_fcgid question

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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Matthias Leopold [ Do, 18 März 2010 13:22 ] [ ID #2035569 ]

Re: mod_fcgid question

On Thu, Mar 18, 2010 at 8:22 AM, Matthias Leopold <matthias [at] aic.at> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Jeff Trawick [ Do, 18 März 2010 13:34 ] [ ID #2035570 ]

Re: mod_fcgid question

Jeff Trawick schrieb:
> On Thu, Mar 18, 2010 at 8:22 AM, Matthias Leopold <matthias [at] aic.at> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Matthias Leopold [ Do, 18 März 2010 14:29 ] [ ID #2035571 ]

Re: mod_fcgid question

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<URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nilesh Govindrajan [ Do, 18 März 2010 13:32 ] [ ID #2036116 ]
Webserver » gmane.comp.apache.user » mod_fcgid question

Vorheriges Thema: How to validate the subjectAltName?
Nächstes Thema: Re: Apache proxy based on condition