![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL Tuning Tools with mysqltuner.pl and tuning-primer.sh | Neo | Web Programming, Web 2.0 and Mashups | 3 | 12-06-2008 01:14 AM |
| tuning | naresh.sun | SUN Solaris | 4 | 05-21-2008 02:25 AM |
| Tuning AIX IO | theerthan | UNIX for Advanced & Expert Users | 1 | 04-06-2008 10:12 AM |
| SAS Tuning | alex blanco | UNIX for Advanced & Expert Users | 1 | 07-10-2007 01:08 PM |
| Tuning Apache | edkung | UNIX for Advanced & Expert Users | 2 | 08-13-2003 02:30 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi Friends, This regarding tuning apache. I am running 100+ LAMP on VPS. But few of them are crashing becoz it reaches to the MaxClient Limit. I thought of Tuning. Here are the specs:
OS: OpenSuse 10 Apache: Apche/2.2.8 PHP: PHP 5.x RAM: 1GB Assuming 80% of it has been occupied by webserver (apache) Apache Settings: These are pretty old settings. I have doubt that these needs to be recompile. # prefork MPM StartServers 50 MinSpareServers 5 MaxSpareServers 100 ServerLimit 50 MaxClients 50 # worker MPM StartServers 50 MinSpareThreads 5 MaxSpareThreads 100 ThreadLimit 128 MaxClients 50 ThreadsPerChild 75 MaxRequestsPerChild 10000 whenever i run ps -eLf|grep httpd |wc -l It alwasys give me = 52 and in the peak hours something apache crashes saying reached the Maximun Client size. No as per the thumb rule. MaxClients ≈ (RAM - size_all_other_processes)/(size_apache_process) which is like MaxClients ≈ (RAM dedicated to Apache)/(Average of apache process) Numbers: MaxClients ≈ Total Ram 1GB - 20% for other process/ Average of RSS (1226304) in KB offcource. (Note: For RSS i an doing ps -ylC httpd --sort:rss, and calculating the average of all 52 process) Now, Here is the problem when i do all this calculation, i end up with a result that i am using less RAM, which is quite a numb because these servers are running for last few years with no problem. So, i was wondering if you guys can give me some direction for the tunning..thasn that would be help. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|