Apache Performance Tuning for a Video Site?

Discussion in 'Apache' started by misohoni, Jan 21, 2009.

  1. #1
    I run a popular video site, which lets users download .avi videos which are about 2mb each. These are my settings below, but I get daily problems of the site not working for a few minutes and then comes back on. I've also disabled the website logs, Clamd and Entropy Chat.

    Could anyone quickly check these settings to see if it looks right? Thanks

    Current httpd.conf settings:

    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 1
    MinSpareServers 5
    MaxSpareServers 10
    StartServers 5
    MaxClients 150
    MaxRequestsPerChild 1000

    Current Top settings:

    load average: 0.39, 0.71, 6.43
    299 processes: 297 sleeping, 1 running, 1 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 48.5% 0.0% 4.6% 0.0% 12.1% 0.0% 34.5%
    Mem: 1019384k av, 890424k used, 128960k free, 0k shrd, 22040k buff
    699444k actv, 116424k in_d, 9676k in_c
    Swap: 2040212k av, 445508k used, 1594704k free 232200k cached

    Current free -m settings:

    total used free shared buffers cached
    Mem: 995 950 44 0 23 245
    -/+ buffers/cache: 681 313
    Swap: 1992 425 1567
     
    misohoni, Jan 21, 2009 IP