Need apache + lighttpd Help

aqsatube

Verified User
Joined
Aug 4, 2008
Messages
22
Hi,

my problem in my dedicated servere that i running 2 webserver apache + lighttpd, my website run under apache and i use lighttpd to stream flv, when i let website to stream flv from apache after 5min apache crash and run slow.
also i dnt hav any problem in load average.

load average: 0.80, 0.97, 0.94
Tasks: 284 total, 1 running, 282 sleeping, 0 stopped, 1 zombie
Mem: 8287684k total, 8016364k used, 271320k free, 27832k buffers
Swap: 9213268k total, 76k used, 9213192k free, 7510840k cached

here is some config in httpd config:

/etc/httpd/conf/extra/httpd-default.conf

Code:
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 0
KeepAliveTimeout 1
UseCanonicalName Off
AccessFileName .htaccess
ServerTokens Major
ServerSignature Off
HostnameLookups Off

/etc/httpd/conf/extra/httpd-mpm.conf

Code:
<IfModule !mpm_netware_module>
    PidFile "/var/run/httpd.pid"
</IfModule>

<IfModule !mpm_winnt_module>
<IfModule !mpm_netware_module>
LockFile /var/logs/accept.lock
</IfModule>
</IfModule>

<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    ServerLimit	        2000
    MaxClients          2000
    MaxRequestsPerChild   4000
</IfModule>

<IfModule mpm_worker_module>
    StartServers          2
    ServerLimit         2000
    MaxClients          2000
    MinSpareThreads      25
    MaxSpareThreads      75 
    ThreadsPerChild      25
    MaxRequestsPerChild   2500
</IfModule>

<IfModule mpm_beos_module>
    StartThreads            10
    MaxClients              2000
    MaxRequestsPerThread 40000
</IfModule>
                       
<IfModule mpm_netware_module>
    ThreadStackSize      65536
    StartThreads           250
    MinSpareThreads         25
    MaxSpareThreads        250
    MaxThreads            1000
    MaxRequestsPerChild      0
    MaxMemFree             100
</IfModule>

<IfModule mpm_mpmt_os2_module>
    StartServers           2
    MinSpareThreads        5
    MaxSpareThreads       10
    MaxRequestsPerChild    0
</IfModule>

php info file:
http://tubezik.com/info.php

my online visitors from 300 to 900 and more

Any help will be greatly appreciated!

Thanks for reading!

Skndr
 
I'm not sure why you named this thread Need Help, jlasman!!. If you need help from me then you should contact me by email (address below in my siglines) and I'll send you information concerning our rates.

If you're asking for community based (free) help, then you're probably wasting a lot of time putting my name in the thread's name. So I've edited it and taken out my username.

I'm happy to answer on the forum as time and resources permit, but in this case I really can't answer on the forum; for us to know the problem would require that one of our sysadmins who fully understands both apache and lighttpd when running together, log in and look at on your server.

You write that apache crashes and runs slow. Can you be more specific?

Please feel free to contact me privately if you'd like us to work for you as a commercial service; see my email address below.

Jeff
 
Which unfortunately I didn't get in a timely manner. Please send email to contact me for commercial work.

Thanks.

Jeff
 
Back
Top