You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Artiom Morozov <ar...@phreaker.net> on 2002/02/23 14:05:19 UTC

rotatelogs and tons of file descriptiors

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