cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


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

problem with cronolog and graceful restarts


  • To: cronolog-users@xxxxxxxxxxxxxxxxxx
  • Subject: problem with cronolog and graceful restarts
  • From: janderso@xxxxxxxxxxxxxxxx (John S. J. Anderson)
  • Date: Mon, 24 May 2004 14:14:35 -0400
  • Organization: National Center for Biotechnology Information
  • User-agent: Gnus/5.090024 (Oort Gnus v0.24) XEmacs/21.4 (Portable Code, linux)


  I would like to deploy cronolog to do hourly access and error log
  rotation on a number of web servers. (We're currently doing hourly
  rotation via a cron'd script.) In my testing, however, I'm running
  into a problem.

  Basically, it appears that any long-running httpd child that is
  around during a graceful restart doesn't log properly, and doesn't
  exit. This appears to be very similar to bug 26467 in the Apache Bug
  Database ("'graceful' kills 'rotatelogs', then hangs long-lived
  httpd children"). (I am trying cronolog due to this problem with
  rotatelogs.)  

  Can anybody offer any suggestions for ways to solve or work around
  this problem? We need to do relatively frequent graceful restarts,
  and the rate of leakage would mean doing full restarts two or three
  times a week, which is just unacceptable. 

john.
-- 
John S J Anderson, Ph.D.         [ Contractor ]     +1.301.402.7499
Chief Penguin Herder & Linux Team Lead, Systems Group, NCBI/NLM/NIH
"Ah, " said Arthur, "this is obviously some strange usage 
of the word safe that I wasn't previously aware of. "




Copyright © 1996-2004 Andrew Ford and Ford & Mason Ltd