I’m Running out of Memory
Tagged Under : Tech
Not in my human brain.. fortunately. Well, actually, that’s just about gone and I have a hard time remembering things anyway.
But specifically I’m talking about the RAM Memory on my VPS.
Figuring a Bob stroller won’t really help my memory problems, I pulled up Google (Yeah it’s evil, but it’s the best) and started to have a look around.
Looks like Apache is my biggest memory hog. And figuring my VPS is only used for web things, that is understandable. I don’t use the VPS for anything else other than a web server! So it’s time to tune up Apache, and maybe MySQL, to see if that helps my memory issues.
Right now, after a bit of tuning, my WebMin reports:
512 MB total, 348.22 MB used
I’ve been getting up to 500MB used, which is bad. And I’m getting Out Of Memory errors and my blogs are slowing down. So… in order to help this out, I changed some settings in Apache:
StartServers 6
MinSpareServers 3
MaxSpareServers 10
From what I’ve been reading, this should help. Originally it was set ti 8 4 and 20, respectively. I really would like processes killed off (MaxSpreServers) when they are idle. Instead of being held to see if they will be used again. I am not sure how important this is for my blogs, but I guess I’ll find out.
So far, so good… I still am at
512 MB total, 348.55 MB used
So I’ll be watching this for a bit to see how if it helps. I hope so.







You have a 512mb limit?
I have –
721.47 Megabytes used
613678.53 Megabytes available
Is this what you are talking about?
Loras last blog post..Ouchie Paws
Could be.. since you are on a shared host, though, your specs will be different.
I’m on a Virtual Private Server so it’s like having a dedicated host. It’s just part of box that’s all for my own.
Shared and VPS are pretty much apples and oranges when it comes to hosting fruit! LOL
Good to know! Thanks Cyn.. you are like my personal computer guru
Loras last blog post..Ouchie Paws
That’s a fix for memory that I hadn’t known about before! I’ll have to look into that more.