Optimizing LAMP

Filed Under (Techie) by Cynthia on Sep 17, 2008 7:54 am

Tagged Under :

Bleh.. I’m having a hard time optimizing my server since the host’s hard drive failure. I swear last time I had the memory optimized just fine, but now my memory gets stucked up no matter what settings I seen to use.

It seems like it’s mostly Apache. These are my settings:

StartServers 3
MinSpareServers 5
MaxSpareServers 10
ServerLimit 100
MaxClients 100
MaxRequestsPerChild 200

and I have keepalive on, MaxKeepAliveRequests 1000, and KeepAliveTimeout 3
and still my memory usage spikes to 373916 on a regular basis… and the memory doesn’t seem to want to release. Most of my processes appear to be apache, according to the TOP command. I’ve been watching. If I restart apache, the memory usage goes way down, then climbs steadily back up again as the server runs for a while and apache processes start up again.

I am not getting into the server’s swap memory, thank goodness. And I know that 512K isn’t that much memory. But to increase it, I might have to go to the next higher package, and that’s a huge increase in price, which I don’t want to do.

I actually broke my MySQL database yesterday. Though it seems to have repaired itself… go figure. I’m going to need to get some drug treatments for myself soon, the server stuff is driving me nuts. So yup, drug rehab will be in order for me!

Oh if you don’t know what LAMP stands for…. it stands for Linux Apache MysQL and PHP. Which is what most servers are, nowadays.

On this day..

Tags: Tech

Related posts

No Comments

Leave a comment


Please Note:I love comments and I appreciate your comment! However, if your comment contains a link to a business site or some other type of site that is selling something, your comment will be deleted as spam. I'm sorry, but I am not willing to have outbound links to promote businesses I do not know anything about. Thanks for your consideration.


CommentLuv Enabled