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
/etc/httpd/conf/extra/httpd-mpm.conf
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
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