httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artiom Morozov <art...@phreaker.net>
Subject rotatelogs and tons of file descriptiors
Date Sat, 23 Feb 2002 13:05:19 GMT
Fair day to ye, all

	I'm running apache 2.0.28beta on site with a lot of virtual 
hosts. The problem is that i need logs (access log and error log) for 
each site. Restarting server is highly undesirable (even graceful 
restart is quite bad), so i ended up using rotatelogs via pipe. Ok, i 
knew there would be a lot of problems with many processes and files 
opened at once, and it came to be really annoying, so... a question:
	- Is there an addon to / a hack over rotatelogs so that it can 
determine file to be written depending on input? E.g. it's possible to 
%v to log format and use simple DBM hash to lookup filename depending 
on that field.

May be someone has already implemented that? Seems to be a trivial 
thing to code...

---
Regards,
Artiom

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message