|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello,
I have a virtual server on Virtuozzo/Plesk platform, and run into a permanent problem with the Apache server: if the server is not restarted daily, it reaches very high numfile numbers (around 5-6000). The server hosts about 20 domains with low activity (there is no domain with more than 1000 hits per day). A lsof on the machine reveals that Apache uses a lot of files for logging (for each domain, it opens the log files several times). Does anyone know what config isn't ok? Alex |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
<alex@id-highway.com> schreef in bericht
news:1170409673.350796.29850@q2g2000cwa.googlegrou ps.com... > Hello, > > I have a virtual server on Virtuozzo/Plesk platform, and run into a > permanent problem with the Apache server: if the server is not > restarted daily, it reaches very high numfile numbers (around 5-6000). A numerical suffix makes me think logrotate is too eager. http://httpd.apache.org/docs/2.2/pro...otatelogs.html Why logrotate, try -if supported on your platform- rotatelog (...) > The server hosts about 20 domains with low activity (there is no > domain with more than 1000 hits per day). > A lsof on the machine reveals that Apache uses a lot of files for > logging (for each domain, it opens the log files several times). Apache has a few (preforked) childs waiting for requests. Each child keeps all log files of all vhosts open. For 15 vhost-ed domains this give me 15 error_log-s and 15 access_log-s opened 10 times each on an idle server. HansH |
|
![]() |
| Outils de la discussion | |
|
|