Current time: 11-22-2024, 02:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
High Memory usage of my server...
Author Message
selven Offline


Posts: 1
Joined: Jul 2011
Reputation: 0
Post: #1
High Memory usage of my server...
Hello,

I've a problem of memory on my dedicated server.
I running IspCP 1.0.7, since 3 months, but days after days, memory usage increase.

I have totally 16GB Memory, and 127M free....... I can't install others softwares of games servers, i don't have enough free memory...

I switch to fastCGI because somes errors 500 appears. It's works perfectly now, but all my memory is used by the LAMP server.

Have you an idea ?

Thanks in advance, and sorry for my bad english Smile
11-02-2011 09:22 PM
Find all posts by this user Quote this message in a reply
pulponair Offline
Junior Member
*

Posts: 10
Joined: Jun 2010
Reputation: 0
Post: #2
RE: High Memory usage of my server...
Hey,

you probably got lose limite and some php zombies hanging arround.

Short term solution:
- stop your webserver.
- Check for running php5-cgi prozesses and kill them manually (killall php5-cgi or killall -9 php5-cgi).
- Check for dead shm and semaphores by "ipcs -l and ipcs -m". And remove the segments/sem that might have been created by the webserver or any php process (owner).
- restart webserver

For further investigation, could you provide us with:
- Apache worker or prefork settings (whatever u may use).
- The purpose of that webserver (e.g how many sites are hosted).
- The exact fastcgi settings
- the Fastcgi version
- the output of "pstree -uc | grep php5" (put it on pastebin).
- Your php starter settings.

cheers,
Nikolas
11-02-2011 11:31 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #3
RE: High Memory usage of my server...
How do you determine that all your memory is used ?
the output of "free" reveals most likely almost nothing free on any system regardless how much ram you have, because Linux tries to make the most use of any ressources it can get.

So post the output of "free" here - and then we can tell you how much you really have.
11-05-2011 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)