PDA

View Full Version : Need apache + lighttpd Help



aqsatube
03-01-2009, 07:57 AM
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


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


<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

nobaloney
03-01-2009, 10:20 AM
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

aqsatube
03-01-2009, 12:01 PM
i send to you pm

nobaloney
03-03-2009, 04:10 PM
Which unfortunately I didn't get in a timely manner. Please send email to contact me for commercial work.

Thanks.

Jeff