LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-07-2010, 04:17 AM   #1
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
clamd taking an age to start and guzzling ram


Clamd on my CentOS latest stable box takes an age to start. As in, well over half an hour. Two clamd processes get started, each of which has a VIRT of about 220m. Load average goes through the roof, values from 6-8+.

The server is a bit weedy (190MB RAM, processor I forgot), but I didn't have these problems before. They seemed to arise after running freshclam to update definitions.
 
Old 04-07-2010, 02:11 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by cantab View Post
Clamd on my CentOS latest stable box takes an age to start. (..) arise after running freshclam
After Freshclam updates the databases Clamd needs to parse them. It then keeps its databases in memory. This makes data accessible faster and more efficient compared to loading on demand: after all it's a "server" (as in client-server). AFAIK there's no workaround for this behaviour. Configuring clamd.conf to run less threads might bring down memory usage a bit but that's a trade-off for less scanning performance. BTW 190MB RAM is way, way low.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync taking up all Ram, 800MB! humbletech99 Linux - Software 6 02-27-2007 03:19 PM
Excited to start learning about Linux at my extended retired age ktznz LinuxQuestions.org Member Intro 4 12-24-2006 07:39 PM
Why is Disk Chache taking up 46% of Ram in openSuse10 jebaird SUSE / openSUSE 2 11-13-2006 02:18 PM
Getting clamd & freshclam to start automatically noscin Linux - Security 5 07-28-2006 03:20 AM
mozilla takes age to start hubabuba Slackware 7 04-08-2005 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration