httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georgi Chorbadzhiyski ...@unixsol.org>
Subject Re: [users@httpd] interaction btn apache and cronolog
Date Wed, 11 Oct 2006 10:56:47 GMT
Thushara Wijeratna wrote:
> Can you recommend where I can read about the interaction btn apache
> and cronolog? I have a problem in an apache server setup where the
> output (created through cronolog) is corrupt. It sure looks like 2
> processes were writing to the same file and one process overwrote the
> other one.
> 
> So I have lines in the output logs like this:
> 
> CSID=L0CSID=C05504
> 
> Here, it looks like a line starting CSID=L08956 got overwritten right
> after the "0" character and the other process started writing
> "CSID=C05504" to where the file ptr was.
> 
> Not knowing the interaction btn cronolog and apache, it is hard for me
> to debug this.
> 
> I'm on apache 2.0.54, cronolog 1.6.2

This may happen if two virtual hosts are piping logs trough cronolog
and cronolog logs into the same file.

Basically apache just opens the log program and writes requests to it
no synchronization takes place. Make sure every cronolog instance writes
to it's own file.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.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


Mime
View raw message