Re: Problems with error logs under mpm_worker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-02-19 at 15:01 -0500, Jeff Trawick wrote:
> On Wed, Feb 17, 2010 at 2:55 PM, Ross Lawrie <ross@xxxxxxxxxxxxx> wrote:
> 
> > I've recently switched my server over to using mpm_worker rather than
> > mpm_prefork, and I'm having problems with much reduced information in
> > the error logs.
> >
> > Whereas before I might see something like this:
> >
> > [Wed Feb 17 10:58:37 2010] [error] [client 114.198.145.132] [pid 23028]
> > main: filename = support_menu.pl
> >
> > I now only see:
> >
> > [pid 1254] main: filename = support_menu.pl
> >
> > In addition, it seems that any ErrorLog entries in my vhosts are
> > ignored, and only the main ErrorLog entry is used.
> 
> I suspect that this is from the switch to mod_cgid (configure will do
> that for you automatically when you use worker MPM, since mod_cgi
> isn't reliable with a threaded MPM).
> 
> To confirm, use mod_cgid with prefork and see if you encounter the
> same logging issues.
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 


Jeff,

Thanks for the reply.

I've rebuilt with prefork and cgid; this does indeed seem to be the
source of what I'm seeing.  From the mod_cgid page I don't see anything
that suggests a way of showing the log format I'm previously used to.
Is there a way to have the same log info displayed under mod_cgi ([Wed
Feb 17 10:58:37 2010] [error] [client 114.198.145.132] [pid 23028] main:
filename = support_menu.pl) shown under mod_cgid, or is that just not
possible under the mod_cgid model?

Thanks again,

Ross.


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux