Greetings;
I've been having an issue with a VPS that I recently bought, on the VPS-M plan. I budgeted for 128mb of RAM, seeing that there was a knowledge base article which implied that some clients hosted dozens upon dozens of low traffic, basic html domains on this plan with no issue - "We have customers on VPS-XXL plan with single web site in their VPS (i.e. large forums) and customers on VPS-M with couple hundreds mostly static and low traffic domains."
My issue is as such: Yesterday morning, my server memory usage was 75/128mb. Yesterday evening, it was 100/128mb. I disabled spamassassin (doing this caused my server to skyrocket to 100% memory usage for quite a while!) , etc, and restarted the apache process, and it went down to about 90/128mb. This morning, I logged on and lo and behold, it was sitting at 128/128mb! Another restart of httpd later, and it's down to 90/128mb. I followed this by a graceful reboot of the server, and it went down to a staggeringly small (comparitively) 68/128mb! (EDIT: 72/128 now!)
Here is a log of my memory at 90/128mb:
http://zygar.co.nz/memory.txt
and here it is at 72/128:
http://zygar.co.nz/memory2.txt
Fact of the matter is, troubleshooting this is way beyond my skill level right now. I am pretty good with computers in general, but Linux and web servers is something I'm new to, (I mostly dabble in Windows and hardware) so I feel somewhat like I've stepped into the deep end.
What seems to be happening is that server memory usage starts off low, and begins to increase, without ever decreasing. It's like some processes are taking my memory and not letting it go. Considering that I have one Drupal site which is currently disabled, and the rest of my site consists of mostly a dump of some small files right now, this is baffling me. I have barely any traffic, yet my memory usage climbs, and climbs, and climbs until I have to restart the server. Any help on this matter would be very much appreciated.
I'm a quick learner, and as I mentioned, not a computer newbie so don't hesitate to throw big words at me as long as they aren't too Server/Linux specific. I am extremely new to dealing with servers, so _any_ helpful feedback in that regard would be highly appreciated as well.
(Also, it should be mentioned that yes, I am using free -m to find out my memory usage. As I said, quick learner! )
EDIT: Again, it climbed. 79mb now, and the log is here: http://zygar.co.nz/memory3.txt
I also realized how much I sound like one of those ancient folks who calls tech support and goes "I've been using computers since before you were born, young man, and I am telling you that my jiggawatts are broken." I can assure you this was not my intention, just trying to clarify that I at least have a rudimentary idea of what I'm doing when I use a computer, and I'm not adverse to command lines or anything; and that I am capable of picking up on anything computer-related pretty quickly even though this is in no way my field of expertise.
EDIT 2: And from what I can tell, for some reason apache seems to be multiplying itself and then hogging all of the ram to itself?
edit 3: what on earth, it's shot up to 88mb already.
http://zygar.co.nz/memory4.txt
I've been having an issue with a VPS that I recently bought, on the VPS-M plan. I budgeted for 128mb of RAM, seeing that there was a knowledge base article which implied that some clients hosted dozens upon dozens of low traffic, basic html domains on this plan with no issue - "We have customers on VPS-XXL plan with single web site in their VPS (i.e. large forums) and customers on VPS-M with couple hundreds mostly static and low traffic domains."
My issue is as such: Yesterday morning, my server memory usage was 75/128mb. Yesterday evening, it was 100/128mb. I disabled spamassassin (doing this caused my server to skyrocket to 100% memory usage for quite a while!) , etc, and restarted the apache process, and it went down to about 90/128mb. This morning, I logged on and lo and behold, it was sitting at 128/128mb! Another restart of httpd later, and it's down to 90/128mb. I followed this by a graceful reboot of the server, and it went down to a staggeringly small (comparitively) 68/128mb! (EDIT: 72/128 now!)
Here is a log of my memory at 90/128mb:
http://zygar.co.nz/memory.txt
and here it is at 72/128:
http://zygar.co.nz/memory2.txt
Fact of the matter is, troubleshooting this is way beyond my skill level right now. I am pretty good with computers in general, but Linux and web servers is something I'm new to, (I mostly dabble in Windows and hardware) so I feel somewhat like I've stepped into the deep end.
What seems to be happening is that server memory usage starts off low, and begins to increase, without ever decreasing. It's like some processes are taking my memory and not letting it go. Considering that I have one Drupal site which is currently disabled, and the rest of my site consists of mostly a dump of some small files right now, this is baffling me. I have barely any traffic, yet my memory usage climbs, and climbs, and climbs until I have to restart the server. Any help on this matter would be very much appreciated.
I'm a quick learner, and as I mentioned, not a computer newbie so don't hesitate to throw big words at me as long as they aren't too Server/Linux specific. I am extremely new to dealing with servers, so _any_ helpful feedback in that regard would be highly appreciated as well.
(Also, it should be mentioned that yes, I am using free -m to find out my memory usage. As I said, quick learner! )
EDIT: Again, it climbed. 79mb now, and the log is here: http://zygar.co.nz/memory3.txt
I also realized how much I sound like one of those ancient folks who calls tech support and goes "I've been using computers since before you were born, young man, and I am telling you that my jiggawatts are broken." I can assure you this was not my intention, just trying to clarify that I at least have a rudimentary idea of what I'm doing when I use a computer, and I'm not adverse to command lines or anything; and that I am capable of picking up on anything computer-related pretty quickly even though this is in no way my field of expertise.
EDIT 2: And from what I can tell, for some reason apache seems to be multiplying itself and then hogging all of the ram to itself?
edit 3: what on earth, it's shot up to 88mb already.
http://zygar.co.nz/memory4.txt