I setup Squid cache in front of apache ... problems.

Discussion in 'Apache' started by iggori, Jun 16, 2010.

  1. #1
    Hello, I hope somebody can help me.
    To cache site and speedup a little i install squid on my site and setup to listen port 80.
    Apache behind is port 8080 and act as a webserver server on dedicated machine.

    Problem is next instead of over 500 process drop to about 160. After some time apache to work stop send pages to squid (process is still active but not serve pages). And after restart work some sort time.

    I guess my apache configuration is not good because all requests come from one insead from lot of diffrent ips. I have about 700-900 people online in every moment.

    My apache has set this way:
    <IfModule mpm_prefork_module>
    StartServers 256
    MinSpareServers 40
    MaxSpareServers 160
    MaxClients 4000
    ServerLimit 4000
    MaxRequestsPerChild 8000
    </IfModule>

    Please help.
     
    iggori, Jun 16, 2010 IP