[18:21:18] MaxClients 150 is nuts [18:21:26] Do you seriously have enough ram for that? [18:21:38] None of my servers could handle that [18:21:47] our max clients is 200 here [18:21:58] but its just running mod_proxy [18:22:16] our app servers have 60 max clients [18:22:28] → Sebast1an joined the channel. [18:22:53] back [18:23:47] You must run some really lean stuff in order to run 150 [18:24:00] What's your non-shared memory footprint for each? [18:25:50] rasmus, our web servers only have 2GB of memory, of which 1GB is used by apache (and never more, we're anal like that) [18:26:14] so each process can have 6mb? [18:26:19] we only have about 25-50 clients connected at any given time to each (w/ keep-alive and the load balancing pipelining requests) [18:26:43] the 150 limit is mostly if there is any sort of hiccup on the box, it can atleast buffer requests for a few fractions of a second [18:26:55] and then normally recover on it's own without rejecting requests [18:26:55] um... 1024 / 150 == 6.8MB [18:27:15] It'll buffer, but it'll swap like mad and fall over like a drunk on payday [18:27:15] Wow, fitting Apache+PHP into 6.8M is magic [18:27:23] i have swap disabled on the web servers [18:27:28] they do no local disk io [18:27:32] so it will just fall over [18:27:40] • SaraMG waves bye-bye [18:27:40] sec let me login to a box to know exactly [18:27:56] → mixedpupp joined the channel. [18:27:57] madbomber: It's math dude. X * Y = Z [18:28:41] which buffer are you talking about? [18:28:59] As soon as accept() triggers, the Apache process is going to be active and eat up memory [18:29:08] virt 140-142, res 23-30, shared 17-25 per process [18:29:12] without swap, as soon as you go over your memory limit, you are dead [18:29:29] malloc(x) == null, bye-bye [18:29:36] ya, we actually turned swap back on a few months ago.. i forgot [18:29:44] when we added more servers last time :) [18:30:02] Mem: 2074600k total, 1772228k used, 302372k free, 245860k buffers [18:30:04] Swap: 2096440k total, 10848k used, 2085592k free, 1119484k cached [18:30:07] SaraMG, boah, it's not like every malloc calls is protected in order no to dramatically crash. *cough* *cough* [18:30:09] ← mixedpupp left IRC. (Client Quit) [18:30:13] that's a current running box doing about 165 pages per second