[us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Rex C. Eastbourne
Hi, I seem to have done something very wrong with my Apache configuration, but can't figure out what it is. Essentially, each time I launch my website and start to get traffic, I almost immediately run out of RAM. Typing ps faux gives me the following snippet, where I have around 20 processes

Re: [us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Matus UHLAR - fantomas
On 04.05.09 00:15, Rex C. Eastbourne wrote: I seem to have done something very wrong with my Apache configuration, but can't figure out what it is. Essentially, each time I launch my website and start to get traffic, I almost immediately run out of RAM. how much of RAM do you have on that

Re: [us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Rex C. Eastbourne
2009/5/4 Matus UHLAR - fantomas uh...@fantomas.sk: [...] how much of RAM do you have on that machine? 512 MB. Not a lot, I know, but I had thought it would be sufficient to run a website with low traffic like mine. Do you use ubuntu's apache package(s)? Don't you have too much of useless

Re: [us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Jan G.B.
2009/5/4 Rex C. Eastbourne rex.eastbou...@gmail.com: 2009/5/4 Matus UHLAR - fantomas uh...@fantomas.sk: [...] how much of RAM do you have on that machine? 512 MB. Not a lot, I know, but I had thought it would be sufficient to run a website with low traffic like mine. Do you use ubuntu's

Re: [us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Prasanna Ram Venkatachalam
Hi Rex, Jan told all in detail i guess. I was about to start typing for you. Anyway, just an addition to that, try googling about Pre-fork and worker-MPM mode. In the second, you can limit the processes by configuring more threads for each process (threads serve requests here). But there might be

Re: [us...@httpd] RAM problem w/ multiple Apache processes

2009-05-04 Thread Prasanna Ram Venkatachalam
And yes.. For worker MPM you need to compile apache with that option (-with-mpm=worker). I forgot to add that!! Prasanna Ram On Mon, May 4, 2009 at 9:06 PM, Prasanna Ram Venkatachalam vpra...@gmail.com wrote: Hi Rex, Jan told all in detail i guess. I was about to start typing for you.