Web Hosting Talk







View Full Version : Out of RAM


Furton
02-19-2002, 03:43 PM
I'm currently on a VPS with 12 sites on board (all mine, not hosting company) and suddenly 3 days ago we started running out of RAM, I have 256MB assigned to me.

I ran TOP from telnet and discovered a lot of httpd procses there consuming a lot of RAM, is this normal?

Currently I'm using the following CGI scripts.

Gaming Admin - News program, well written and never caused a problem before

AdCycle - Around 5000 page views a day, should be fine

Ikonboard - I'm worried about this, but I only have 1 running and not very popular. I also closed the domain it was hosted on and this had no effect, eliminating that.

Any suggestions before having to pay for more RAM?

priyadi
02-20-2002, 07:46 AM
Could you post some numbers? How did you find out that you are running out of memory? How big are your httpd processes? Without numbers it is hard to tell anything.

Furton
02-20-2002, 09:46 AM
Currently I can't even log into telnet, I can only do this for around 20min after it gets a re-boot (keep in mind it's a VPS) then I can't connect to telnet, e-mail and sometimes even the sites.

If I remember the httpd usage was around 2.2%, and there were loads of them there. I can't give you anything more specific until I can log into telnet again.

THis is the error message I get when trying to log into telnet

/usr/sbin/virthost: error in loading shared libraries: /lib/libc.so.6: cannot ma
ke segment writable for relocation: Cannot allocate memory


Connection to host lost.

goodness0001
02-20-2002, 05:18 PM
I found that if your PHP module gets messed up, it starts sucking down memory and CPU and it takes forever to process a request...see if there is a module conflict that is causing the server to thrash about when trying to process a simple request...

DigitalXWeb
02-20-2002, 07:46 PM
Ikonboard > could be the culprit. Shut it down for a day or two and see if it fixes the problem.