[OT: LOW RAM] Server running 100% - 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: [OT: LOW RAM] Server running 100% (/thread-2569.html) Pages: 1 2 |
[OT: LOW RAM] Server running 100% - hendry - 02-26-2008 07:08 AM My server is running Debian 4 with RC2 on it. It did run very well for a whole time, but now the amavis / clamav process is hanging on 100% and email is in the meanwhile not delivered. When looking at the running services i see: Quote:Tasks: 83 total, 5 running, 78 sleeping, 0 stopped, 0 zombie One of my users told me that he has send an email with attachements for 14 MB. Is there a way to exclude this kind of attachements from scanning? Any other suggestions why these processes are hanging? RE: Server running 100% - rbtux - 02-26-2008 07:26 AM well you are a litte short of memory... When you can upgrade 256 to 512 Mb you could move the amavis spool directory to a ramdisk. This speeds up the cases where the 14mb attachment are compressed archives... the exclude of big attachments from scanning is IMHO not good idea... RE: Server running 100% - hendry - 02-26-2008 07:33 AM rbtux Wrote:well you are a litte short of memory... When you can upgrade 256 to 512 Mb you could move the amavis spool directory to a ramdisk. This speeds up the cases where the 14mb attachment are compressed archives... Server is already running with 512 mb of memory and because this is a rented dedicated server I cannot upgrade the memory My installation was standard, is it a good idea to follow the How to run on a low resources system and disable for example BIND and tune Apache? Why isn't it a good idea to exclude? RE: Server running 100% - rbtux - 02-26-2008 07:33 AM btw afair the defaults of clamav are that it doesn't scan archives bigger than 10M... RE: Server running 100% - rbtux - 02-26-2008 07:55 AM hendry Wrote:Why isn't it a good idea to exclude? Because in my expirience there are only 2 or 3 files a day which are that big and not archives. So it doesn't really matter. When you not have more resources you should consider following the tutorial. BUT 512 mb is simply not enough for such a full featured system... RE: Server running 100% - joximu - 02-26-2008 08:11 AM I'm still searching the link to ispCP... RE: Server running 100% - rbtux - 02-26-2008 08:28 AM this might take a while RE: [OT: LOW RAM] Server running 100% - Quemeros - 05-07-2008 02:32 AM Im equal... but with 2GB... its root... Only for testing now Code: Cpu(s): 99.7%us, 0.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st RE: [OT: LOW RAM] Server running 100% - hendry - 05-07-2008 02:54 AM Quemeros Wrote:Im equal... but with 2GB... its root... Only for testing now I used the repository of clamav directly and installed the latest version. My problem was solved after that RE: [OT: LOW RAM] Server running 100% - Quemeros - 05-07-2008 06:14 AM Thanks man... for my luck i found one "error" in the AMaVis config, that make AMaVis back to normal... but Clamav still making problems for aprox. 10 mins from it starts... I just go to learn how to do that you say (i'm new in with this xD) ------------------------------------ EDIT ------------------------- jajajaj i don't stand what means "repository"... Now i stand perfectly what you say, don't use apt-get, go direct to clamav web page to get files there THANKS A LOT HENDRY! |