Current time: 12-24-2024, 10:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
memmory issue on backup / after
Author Message
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #1
memmory issue on backup / after
Hi,
I have extreamly big problem on my webserver.

Normal when ISPCP is working everything is ok, its took about 600 - 800 MB of ram.

But on Backup time ( night) it's took:

RAM all used free
1.78 GB 1.70 GB 81.95 MB


and, the problem is, backup DONT FREE IT ! after complete... :/

Do you have any idea what should i do, to free this ram, after completed backup ?

Maybye restart apache ?

Please help.
Almost 2 GB of ram , used in 10 h :/

I have this problem befor, but i have 1 GB ram, i think its to small, so i installed 2 GB, this same, its took 1,7 GB, and won't free it :/

Befor backup it's about 600 - 700 Mb, after - 1,7 gb...

This is my TOP output, ordered by memmory usage... i CANT find what proces using this ram !!!

   
(This post was last modified: 09-03-2008 07:19 PM by seba22.)
09-03-2008 06:56 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: memmory issue on backup / after
ispcp version? Distro?
Backups are managed by running 2 scripts ispcp-backup-all ispcp-backup-ispcp. Check if still running. But remember that linux make caches in memory and 80-90% usages are normal. See http://www.faqs.org/docs/linux_admin/buffer-cache.html. Also test with
Quote:free
to see how much is used for cache[/quote]
09-03-2008 07:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #3
RE: memmory issue on backup / after
Code:
# free
             total       used       free     shared    buffers     cached
Mem:       1861612    1785584      76028          0     168776    1395908
-/+ buffers/cache:     220900    1640712
Swap:       755012          0     755012
webserver:~#

I see, the problem is in some process !
Not memmory !
Code:
17858 vu2009    25   0 20328 2676  776 R   96  0.1 369:17.28 php5-cgi

Its took 96 % CPU !!!
And this is problem...
PHP5-CGI... what the hell it is..
I'm try to stop apache
/etc/init.d/apache2 stop
/etc/init.d/apache2 start

Not solved...
I'm don't use any script what can take so much CPU...

I can't reboot webserver everyday... :/
Users will kill me...
09-03-2008 08:10 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: memmory issue on backup / after
total used free shared buffers cached
Mem: 1861612 1785584 76028 0 168776 1395908
Swap: 755012 0 755012[/quote]

Cache memory is available on demand. Having 1395908 cached memory is not a problem, it`s normal under linux. Swap is not used so you have nothing to worry.
About highly usage of the CPU, try to upgrade php version to 5.2.6.
09-03-2008 08:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #5
RE: memmory issue on backup / after
How to preform this upgrade of php ?
Im dialy using apt-get update / upgrade and install all fixes.

ISPCP build :
ispCP 1.0.0 RC5 OMEGA
build: 20080614
Priamos
09-03-2008 08:22 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: memmory issue on backup / after
Try to install the DotDeb package
09-03-2008 08:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #7
RE: memmory issue on backup / after
Ok, i have update about 20 packages from this repo including php.

Tomorrow i will post, inforamtion, does it help ;>
09-04-2008 01:57 AM
Find all posts by this user Quote this message in a reply
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #8
RE: memmory issue on backup / after
seba22, i had similar problem... maybe not the same cause but anyway here is what my problem was.

I got an issue with the log rotation scripts, they didn't work at all for some reason and i have to upgrade them with the latest ones from trac.

Please check in your /var/log/apache2 directory is everything okay or you have huge log files, in my case some of the websites were keeping 3-4GB logfiles and this was creating somehow this high cpu and memory usage that you can see under yours php5-cgi processes. After i fix the log rotation... everything looks fine now.

Hopefully this can be helpfull.

Thanks
09-04-2008 03:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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