| Author |
Message |
Forum: General Discussion Topic: [SOLVED] Need to figure out why Linode is crashing |
| Vance |
|
Posted: Sat Feb 05, 2011 2:31 am
|
|
Replies: 5 Views: 3336
|
warmowski wrote: - attempted to move to apache2-mpm-worker, but rolled back to prefork (reinstalling phplib5 in the process)
What is MaxClients set to in your apache2.conf? As a rough guess, for prefork I'd suggest starting at around 30 on a Linode 768 and adjusting as memory usage patterns indicate. |
|
 |
Forum: Web Servers and Web App Development Topic: mpm-itk spare servers?? |
| Guspaz |
|
Posted: Fri Feb 04, 2011 11:54 am
|
|
Replies: 4 Views: 2943
|
| You can reduce maxclients, but mpm-itk is based on mpm-prefork. It can only handle one client per process. This is horribly inefficient. Are you *SURE* that you need mpm-itk? You'd be far better off with mpm-worker. |
|
 |
Forum: Web Servers and Web App Development Topic: LAMP Stack taking up swap space can't figure out why |
| rdaruszka |
|
Posted: Fri Jan 28, 2011 9:40 pm
|
|
Replies: 24 Views: 8072
|
| ... Experimentation isn't a good thing. Guspaz: Thanks for the call on the MaxClients, I think I had it as high as 40 at one point and dropped it to ... was a misconfig, it was in full defaults on everything back then, MPM Prefork, something like 300 max clients, it was a disaster. Totally not a ... |
|
 |
Forum: Sales Questions and Answers Topic: A million questions part 1 |
| akerl |
|
Posted: Sun Jan 16, 2011 1:18 am
|
|
Replies: 8 Views: 6717
|
| Basically, the first step is using mpm-worker instead of prefork. This requires setting up php-cgi instead of just installing mod_php, ... those are the values you want to look at. Mostly, you'll be tweaking your MaxClients. You can tweak the others as well, but I'd recommend reading up on ... |
|
 |
Forum: Performance and Tuning Topic: Unstable system : Low memory and High Disk I/O |
| pankajbatra |
|
Posted: Mon Jan 10, 2011 3:37 am
|
|
Replies: 6 Views: 6616
|
| ... 2 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ... maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: ... |
|
 |
Forum: Web Servers and Web App Development Topic: Apache tuning! |
| jefe78 |
|
Posted: Sun Dec 12, 2010 2:47 pm
|
|
Replies: 9 Views: 4620
|
| ... Timeout 3 KeepAlive Off MaxKeepAliveRequests 150 KeepAliveTimeout 3 #PREFORK <IfModule mpm_prefork_module> StartServers 10 MinSpareServers 10 MaxSpareServers 20 MaxClients 20 ServerLimit 20 MaxRequestsPerChild 100 </IfModule> # worker MPM <IfModule ... |
|
 |
Forum: Performance and Tuning Topic: Moving from MT & site craps out using Load Impact |
| rsk |
|
Posted: Wed Nov 24, 2010 4:07 am
|
|
Replies: 50 Views: 23065
|
| ... your server's performance down no nothing. Facts: 1. wth mod_prefork+mod_php there's a separate large Apache process WITH integral php ... or a simple image file. That's a huge hog, and you plainly have to cut MaxClients down to a number that'll accomodate all these processes in memory. ... |
|
 |
Forum: Performance and Tuning Topic: Moving from MT & site craps out using Load Impact |
| rsk |
|
Posted: Sat Nov 20, 2010 3:48 pm
|
|
Replies: 50 Views: 23065
|
I'm pretty sure that having MaxClients < StartServers is a waste of RAM on eternally-idle processes...
... but then, I use worker and I don't know for sure about prefork. |
|
 |
Forum: Performance and Tuning Topic: Moving from MT & site craps out using Load Impact |
| xfactor-updates |
|
Posted: Sat Nov 20, 2010 2:55 pm
|
|
Replies: 50 Views: 23065
|
| ... load test: http://109.74.198.57/wp-content/top/Capturenew.PNG My prefork MPM is now: <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 2 MaxRequestsPerChild 200 </IfModule> Increased APC memory php info: http://109.74.198.57/php.php ... |
|
 |
Forum: Sales Questions and Answers Topic: Is Linode 512 enough for me? |
| rsk |
|
Posted: Mon Nov 01, 2010 7:27 pm
|
|
Replies: 13 Views: 10651
|
| ... even under heavy load, and preferably less when idle". For apache-prefork, you want to keep number of processes quite low. I think MinSpareServers 2 MaxSpareServers 5 ServerLimit 20 MaxClients 20 would be reasonable. For apache-worker I am happy with StartServers ... |
|
 |
Forum: Performance and Tuning Topic: Moving a High Traffic Wordpress Blog from MediaTemple |
| obs |
|
Posted: Sat Oct 30, 2010 7:17 pm
|
|
Replies: 32 Views: 22685
|
| This is what I will set <IfModule prefork.c> StartServers 3 MinSpareServers 1 MaxSpareServers 1 ServerLimit 20 MaxClients 20 MaxRequestsPerChild 500 </IfModule> That should be fine you should increase max requests ... |
|
 |
Forum: Performance and Tuning Topic: Moving a High Traffic Wordpress Blog from MediaTemple |
| sanity |
|
Posted: Sat Oct 30, 2010 5:55 pm
|
|
Replies: 32 Views: 22685
|
This is what I will set
<IfModule prefork.c>
StartServers 3
MinSpareServers 1
MaxSpareServers 1
ServerLimit 20
MaxClients 20
MaxRequestsPerChild 500
</IfModule> |
|
 |
Forum: Performance and Tuning Topic: Apache is appalling in memory consumption |
| ichsie2036 |
|
Posted: Sun Oct 24, 2010 10:02 pm
|
|
Replies: 14 Views: 8792
|
| ... 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ... maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: ... |
|
 |
Forum: Performance and Tuning Topic: Linode keeps OOMing; High IOWAIT; High load average - help? |
| hybinet |
|
Posted: Thu Sep 23, 2010 10:45 am
|
|
Replies: 10 Views: 8931
|
| ... or something. I doubt it 8) <IfModule mpm_prefork_module> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 300 MaxClients 300 MaxRequestsPerChild 4000 </IfModule> Three hundred prefork processes, each ... |
|
 |
Forum: Performance and Tuning Topic: Linode keeps OOMing; High IOWAIT; High load average - help? |
| lewayotte |
|
Posted: Wed Sep 22, 2010 4:40 pm
|
|
Replies: 10 Views: 8931
|
| ... w/ FastCGI but it was still happening. In fact, I just changed it to prefork, mod_php this past Friday as an attempt to fix the issue. I also ... which I personally think out performs Super Cache. I'll try lowering MaxClients tonight. I know what I have is over-kill for the traffic being ... |
|
 |
| Sort by: |