Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Our production uses 10 web servers behind a load balancer. Every one hour a logrotate runs and copy truncates the log file. During that time, we find number of apache open process decreases and number of process waiting for connection increases. Could I know how all these 3 parameters are related? Have a look at prefork config

    <IfModule prefork.c>
    StartServers      25
    MinSpareServers   50
    MaxSpareServers   100
    ServerLimit      1024
    MaxClients       1024
    MaxRequestsPerChild  10
    </IfModule>
share|improve this question
    
What does the server load look like at that time? Are there by any chance a number of processes waiting on IO? –  Jenny D Jan 24 '13 at 10:28
    
there is a slight increase in load during that time (it was around 17.2 normally and load hits 25 during this behaviour) btw they are 16 core processors –  kalyan Jan 24 '13 at 10:57
1  
The issue here isn't just the number of cores and processes, the question is whether there is sufficient IO capacities to handle both web requests and log rotations at the same time. So you need to look at just what the processes are doing when the load increases, whether they're in IO wait or doing something else. –  Jenny D Jan 24 '13 at 10:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.