You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Stu <do...@earthlink.net> on 2000/11/02 11:01:59 UTC

general/6785: Server writes log info to logfile, but then logfile is immediately cleared

>Number:         6785
>Category:       general
>Synopsis:       Server writes log info to logfile, but then logfile is immediately cleared
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 02 02:10:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     doktor1@earthlink.net
>Release:        1.3.12
>Organization:
apache
>Environment:
Linux 2.2.17 #2 Fri Oct 20 01:21:40 PDT 2000 i686 unknown
gcc version 2.95.2 20000220 (Debian GNU/Linux)
Built with PHP3 and PHP4, both with MySQL
>Description:
If I start up the server and do a quick series of 'ls -l' in the log directory, then hit Reload on the browser I've got the site up in, the size of access_log will temporarily grow to a few hundred bytes, then become zero again perhaps a second or two later. Running strace on the first httpd pid returns this:

select(0, NULL, NULL, NULL, {0, 370000}) = 0 (Timeout)
time(NULL)                              = 973159353
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159354
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159355
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159356
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159357
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159358
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159359
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159360
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159361
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 973159362
wait4(-1, 0xbffffca0, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0} <unfinished ...>
>How-To-Repeat:
I can post httpd.conf or e-mail it if required.
>Fix:
Don't know.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]