You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Deepa Rangarajan <de...@hotmail.com> on 2004/11/18 17:27:03 UTC
Re: [users@httpd] RE : Apache 2.0.46 - Log files
Hi,
I am using Apache 2.0.46 that comes with Redhat Linux ES 3.0 .
How should the log files be maintained? I see access_log.1, error_log.1,
access_log.2. Do these get created on a weekly basis?
I am using separate logs for ssl and they too have the same naming pattern -
ssl_access_log.1,
ssl_access_log.2. What is the purpose of ssl_request_log?
And how many weeks of logs are created? Do the old ones get auto-deleted
after reaching certain number of weeks or we need to write a cron job?
Pls. let me know if you have the answers.
Thks,
Deepa
>From: "Praveen Alavilli" <Pr...@aol.com>
>Reply-To: users@httpd.apache.org
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem
>Date: Thu, 18 Nov 2004 10:54:14 -0500
>
>oh - forgot to include - yes it looks like shutting down the Apache
>child process:
>
>[Thu Nov 18 09:24:16 2004] [warn] (45)Deadlock situation
>detected/avoided: Failed to acquire global mutex lock
>[Thu Nov 18 09:24:17 2004] [emerg] (45)Deadlock situation
>detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
>process gracefully.
>
>thanks
>Praveen
>
>Praveen Alavilli wrote on 11/18/2004, 10:42 AM:
>
> > Here are my build options - I am also using the MPM Worker along with
> > openssl:
> >
> > ./configure --prefix=${DistDir}/${ApacheDir} --enable-shared
> > --enable-mods-shared=most --enable-ssl --with-ssl=${DistDir}/openssl
> > --with-mpm=worker
> >
> > I am also using the mod_security plugin built using the apxs:
> > ${DistDir}/${ApacheDir}/bin/apxs -cia mod_security.c
> >
> > And here are some important config parameters which I tweaked for my
> > load testing:
> > Timeout 30
> > KeepAlive On
> > MaxKeepAliveRequests 500
> > KeepAliveTimeout 15
> > <IfModule worker.c>
> > StartServers 4
> > ThreadLimit 200
> > ListenBacklog 1024
> > MaxClients 1000
> > MinSpareThreads 40
> > MaxSpareThreads 160
> > ThreadsPerChild 200
> > MaxRequestsPerChild 0
> > </IfModule>
> >
> > And some SSL configs:
> > SSLSessionCache shmcb:/usr/local/apache/logs/ssl_scache(512000)
> > SSLSessionCacheTimeout 60
> > SSLMutex file:/data/servers/sns_3.0/apache/logs/ssl_mutex
> >
> > The weird thing is - I don't see the SSLMutex and SSLSessionCache files
> > created at all (though I have all required write permissions). Could
> > that be a reason ?
> >
> > Were you running Apache with SSL when you got the same problem ? Just
> > wanted to make sure this is not some openssl problem.
> >
> > thanks much
> > Praveen
> >
> >
> > Axel-Stéphane SMORGRAV wrote on 11/18/2004, 6:29 AM:
> >
> > > I have previously posted this exact same problem regarding Apache
> > > 2.0.52 with MPM Worker and got no answers. I have been a little
> > > reluctant to post a bug report on bugzilla because I am using a
> > > Netegrity WebAgent, and I suspected that the locking problem could be
> > > caused by this module.
> > >
> > > If memory serves me well, the problem you describe actually causes an
> > > Apache child process to die.
> > >
> > > Could you give a little more details about your Apache configuration
>-
> > > MPM, modules loaded dynamically, static modules, operating system ?
> > >
> > > -ascs
> > >
> > >
> > > -----Message d'origine-----
> > > De : Praveen Alavilli [mailto:Praveen1992@aol.com]
> > > Envoyé : jeudi 18 novembre 2004 01:20
> > > Ŕ : users@httpd.apache.org
> > > Objet : [users@httpd] Apache 2.0.51 - Mutex Lock Problem
> > >
> > >
> > > [Wed Nov 17 18:56:11 2004] [warn] (45)Deadlock situation
> > > detected/avoided: Failed to acquire global mutex lock
> > >
> > > I am seeing the above warning being logged in my error log file quite
> > > frequently - almost every sec during my load tests.
> > > Don't know if it's really a problem or as it's a warning can I just
> > > ignore ?
> > >
> > > I did search the list archives but couldn't find anything that would
> > > help me understand the problem.
> > >
> > > Any ideas ?
> > >
> > > Thanks much
> > > Praveen
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > > ---------------------------------------------------------------------
> > > 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@httpd.apache.org
> > > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
>
>---------------------------------------------------------------------
>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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] RE : Apache 2.0.46 - Log files
Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
thats really not an apache thing but depends on your configuration. what is
in httpd.conf? the logs are declared there. however, i think your system
will use an other tool to rotate the logs, have a look at the crontabs.
----- Original Message -----
From: "Deepa Rangarajan" <de...@hotmail.com>
To: <us...@httpd.apache.org>
Sent: Thursday, November 18, 2004 5:27 PM
Subject: Re: [users@httpd] RE : Apache 2.0.46 - Log files
> Hi,
>
> I am using Apache 2.0.46 that comes with Redhat Linux ES 3.0 .
> How should the log files be maintained? I see access_log.1, error_log.1,
> access_log.2. Do these get created on a weekly basis?
> I am using separate logs for ssl and they too have the same naming
> pattern - ssl_access_log.1,
> ssl_access_log.2. What is the purpose of ssl_request_log?
> And how many weeks of logs are created? Do the old ones get auto-deleted
> after reaching certain number of weeks or we need to write a cron job?
> Pls. let me know if you have the answers.
>
>
> Thks,
> Deepa
>
>
>
>
>
>>From: "Praveen Alavilli" <Pr...@aol.com>
>>Reply-To: users@httpd.apache.org
>>To: users@httpd.apache.org
>>Subject: Re: [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem
>>Date: Thu, 18 Nov 2004 10:54:14 -0500
>>
>>oh - forgot to include - yes it looks like shutting down the Apache
>>child process:
>>
>>[Thu Nov 18 09:24:16 2004] [warn] (45)Deadlock situation
>>detected/avoided: Failed to acquire global mutex lock
>>[Thu Nov 18 09:24:17 2004] [emerg] (45)Deadlock situation
>>detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
>>process gracefully.
>>
>>thanks
>>Praveen
>>
>>Praveen Alavilli wrote on 11/18/2004, 10:42 AM:
>>
>> > Here are my build options - I am also using the MPM Worker along with
>> > openssl:
>> >
>> > ./configure --prefix=${DistDir}/${ApacheDir} --enable-shared
>> > --enable-mods-shared=most --enable-ssl --with-ssl=${DistDir}/openssl
>> > --with-mpm=worker
>> >
>> > I am also using the mod_security plugin built using the apxs:
>> > ${DistDir}/${ApacheDir}/bin/apxs -cia mod_security.c
>> >
>> > And here are some important config parameters which I tweaked for my
>> > load testing:
>> > Timeout 30
>> > KeepAlive On
>> > MaxKeepAliveRequests 500
>> > KeepAliveTimeout 15
>> > <IfModule worker.c>
>> > StartServers 4
>> > ThreadLimit 200
>> > ListenBacklog 1024
>> > MaxClients 1000
>> > MinSpareThreads 40
>> > MaxSpareThreads 160
>> > ThreadsPerChild 200
>> > MaxRequestsPerChild 0
>> > </IfModule>
>> >
>> > And some SSL configs:
>> > SSLSessionCache shmcb:/usr/local/apache/logs/ssl_scache(512000)
>> > SSLSessionCacheTimeout 60
>> > SSLMutex file:/data/servers/sns_3.0/apache/logs/ssl_mutex
>> >
>> > The weird thing is - I don't see the SSLMutex and SSLSessionCache
>> files
>> > created at all (though I have all required write permissions). Could
>> > that be a reason ?
>> >
>> > Were you running Apache with SSL when you got the same problem ? Just
>> > wanted to make sure this is not some openssl problem.
>> >
>> > thanks much
>> > Praveen
>> >
>> >
>> > Axel-Stéphane SMORGRAV wrote on 11/18/2004, 6:29 AM:
>> >
>> > > I have previously posted this exact same problem regarding Apache
>> > > 2.0.52 with MPM Worker and got no answers. I have been a little
>> > > reluctant to post a bug report on bugzilla because I am using a
>> > > Netegrity WebAgent, and I suspected that the locking problem could
>> be
>> > > caused by this module.
>> > >
>> > > If memory serves me well, the problem you describe actually causes
>> an
>> > > Apache child process to die.
>> > >
>> > > Could you give a little more details about your Apache
>> configuration -
>> > > MPM, modules loaded dynamically, static modules, operating system ?
>> > >
>> > > -ascs
>> > >
>> > >
>> > > -----Message d'origine-----
>> > > De : Praveen Alavilli [mailto:Praveen1992@aol.com]
>> > > Envoyé : jeudi 18 novembre 2004 01:20
>> > > À : users@httpd.apache.org
>> > > Objet : [users@httpd] Apache 2.0.51 - Mutex Lock Problem
>> > >
>> > >
>> > > [Wed Nov 17 18:56:11 2004] [warn] (45)Deadlock situation
>> > > detected/avoided: Failed to acquire global mutex lock
>> > >
>> > > I am seeing the above warning being logged in my error log file
>> quite
>> > > frequently - almost every sec during my load tests.
>> > > Don't know if it's really a problem or as it's a warning can I just
>> > > ignore ?
>> > >
>> > > I did search the list archives but couldn't find anything that would
>> > > help me understand the problem.
>> > >
>> > > Any ideas ?
>> > >
>> > > Thanks much
>> > > Praveen
>> >
>> > ---------------------------------------------------------------------
>> > > 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
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > > 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@httpd.apache.org
>> > > " from the digest: users-digest-unsubscribe@httpd.apache.org
>> > > For additional commands, e-mail: users-help@httpd.apache.org
>> > >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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@httpd.apache.org
>> > " from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>>
>>
>>
>>---------------------------------------------------------------------
>>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@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org