Re: High memory usage [Was: Hi, goor morning modperlers]
First, please pick a sensible subject line... On Tue, 2 May 2000, FEITO Nazareno wrote: Hi, wassup ppl... I have a little problem, when I start up my apache 1.3.12 with mod_perl.1.23, it seem like he is eating all the memory, in a point that the computer almost doesn´t respond, I did try upping swap, I have 128MB ram and 512MB swap(is crazy for me, but I tryied), I don´t know what´s is the problem, my startservers are only 3 and minspare y maxspare are 3 and 6, I don´t have idea what i´m doing wrong, when the webserver is down the memory used is something like 70MB and swap used is 250MB but when the webserver is ^ Looks like you have a fairly serious problem without even using mod_perl! up, memory used is something like 127MB and swap 510MB, is amazing for me, and I can´t even have an idea of what´s going on... That's not a huge amount of help, but you reading the mod_perl guide will be: http://perl.apache.org/guide/ Look for the bits on memory usage (I'm sure someone here will give you a direct URL in about 5 minutes...). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org
Hi, goor morning modperlers
Hi, wassup ppl... I have a little problem, when I start up my apache 1.3.12 with mod_perl.1.23, it seem like he is eating all the memory, in a point that the computer almost doesn´t respond, I did try upping swap, I have 128MB ram and 512MB swap(is crazy for me, but I tryied), I don´t know what´s is the problem, my startservers are only 3 and minspare y maxspare are 3 and 6, I don´t have idea what i´m doing wrong, when the webserver is down the memory used is something like 70MB and swap used is 250MB but when the webserver is up, memory used is something like 127MB and swap 510MB, is amazing for me, and I can´t even have an idea of what´s going on... Any help will be very very precied! Nazareno Perl Programmer Obsequie.com [EMAIL PROTECTED]
Re: Hi, goor morning modperlers
Nazareno..., Couple things. First, are you using linux, and if so are you using 2.3.99pre6? It has a bug in it's vm, you need to downgrade to pre5, or if pre7's out I've heard good stuff about Rik's new sets of patches. The other thing is that you need to grab the apache source, and start cutting programs out of your configuration. Go into the src directory and hand edit the Configuration file, take out everything but what you need. Then either compile mod_perl apxs style, or into apache..., you get slightly less memory consumption by compiling mod_perl in. However, the other end of this is you need to get rid of that huge swap partition. Seriously... your computer will be useless with that big of a swap, at a maxima 128MB swap. The other end of this is.., well, 128MB of RAM is pretty small for a webserver. I would suggest you up that to 256MB, that would only cost $100 (US) in the states, and would greatly alleviate your problem. But if you're running pre6..., downgrade, quick! :-) Later, Shane. On Tue, May 02, 2000 at 09:34:45AM -0300, FEITO Nazareno wrote: Hi, wassup ppl... I have a little problem, when I start up my apache 1.3.12 with mod_perl.1.23, it seem like he is eating all the memory, in a point that the computer almost doesn´t respond, I did try upping swap, I have 128MB ram and 512MB swap(is crazy for me, but I tryied), I don´t know what´s is the problem, my startservers are only 3 and minspare y maxspare are 3 and 6, I don´t have idea what i´m doing wrong, when the webserver is down the memory used is something like 70MB and swap used is 250MB but when the webserver is up, memory used is something like 127MB and swap 510MB, is amazing for me, and I can´t even have an idea of what´s going on... Any help will be very very precied! Nazareno Perl Programmer Obsequie.com [EMAIL PROTECTED]