@tijs It's really easy. I can paste my conf too though, but I'm sure nginx.conf-dist is plenty. :-) Just let me know.
We run our Apache's at MaxClients of 1024+ (depends on the hardware), Min/MaxSpareServers in the 100-200 range, KeepAlive Off, ListenBacklog on 80. We use 1.3 though, you are probably on 2.x. Our static content is outsourced to a CDN, and prior we used thttpd to serve it. If I we didn't have a CDN, I'd use nginx now.
Thanks, i'll dive into the options a little. Your running a totally different ballpark app though. I really don't have the hardware to support 1024+ maxclients at this point :) But it's good to know where to look next when i hit another limit.
I don't think, look at Max/MinSpareServers vs. MaxClients. ;-) Also depends on how much RAM, etc. your Apaches currently consume and so on. Do you use a framework for your website?
10 comments so far
explain more please
1 year ago by lifesized
there were too many people visiting the site. mostly due to conservative Apache settings. So it was a bad thing brought on by a Good Thing (tm)
1 year ago by tijs
Congrats! :-) Traffic is always good. Btw, proxy apache with nginx to enhance the results. :-)
1 year ago by till
@till yeah that might be a good idea. never done a nginx install though so i'll have to read up on that a bit...
1 year ago by tijs
@tijs It's really easy. I can paste my conf too though, but I'm sure nginx.conf-dist is plenty. :-) Just let me know.
We run our Apache's at MaxClients of 1024+ (depends on the hardware), Min/MaxSpareServers in the 100-200 range, KeepAlive Off, ListenBacklog on 80. We use 1.3 though, you are probably on 2.x. Our static content is outsourced to a CDN, and prior we used thttpd to serve it. If I we didn't have a CDN, I'd use nginx now.
1 year ago by till
Thanks, i'll dive into the options a little. Your running a totally different ballpark app though. I really don't have the hardware to support 1024+ maxclients at this point :) But it's good to know where to look next when i hit another limit.
1 year ago by tijs
The servers are just pentium d (dual core). :O Not so great. Nginx helps a lot. :-)
1 year ago by till
yeah but for 1024 concurrent you would need a few gigs of RAM right?
1 year ago by tijs
I don't think, look at Max/MinSpareServers vs. MaxClients. ;-) Also depends on how much RAM, etc. your Apaches currently consume and so on. Do you use a framework for your website?
1 year ago by till
yeah i do. cakephp, not the fastest out there but it's ok.
1 year ago by tijs