memmory issue on backup / after - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: memmory issue on backup / after (/thread-4172.html) |
memmory issue on backup / after - seba22 - 09-03-2008 06:56 PM 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 !!! [attachment=440] RE: memmory issue on backup / after - sci2tech - 09-03-2008 07:42 PM 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:freeto see how much is used for cache[/quote] RE: memmory issue on backup / after - seba22 - 09-03-2008 08:10 PM Code: # free 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... RE: memmory issue on backup / after - sci2tech - 09-03-2008 08:17 PM 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. RE: memmory issue on backup / after - seba22 - 09-03-2008 08:22 PM 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 RE: memmory issue on backup / after - gOOvER - 09-03-2008 08:46 PM Try to install the DotDeb package RE: memmory issue on backup / after - seba22 - 09-04-2008 01:57 AM Ok, i have update about 20 packages from this repo including php. Tomorrow i will post, inforamtion, does it help ;> RE: memmory issue on backup / after - bulforce - 09-04-2008 03:33 AM 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 |