HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: havp performance Issue
PostPosted: 24 Oct 2007 09:45 
Offline

Joined: 24 Oct 2007 09:33
Posts: 2
I have installed Havp+clamav+squid on Centos4.4
but it's too slow.
how do I increase performance?

if I use trend replace clamav,what should I do?
TKS. :(


Top
 Profile  
 
 Post subject:
PostPosted: 25 Oct 2007 08:11 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
You need to tell us more about your config. Hardware, users, config? How else to know what's wrong :)


Top
 Profile  
 
 Post subject:
PostPosted: 26 Oct 2007 18:42 
Offline

Joined: 06 Aug 2007 16:29
Posts: 48
I had same environment,havp 0.86 is stable and fast ,
use CENTOS 4.4 without any problem and performance issue.


Here is my suggestion
1. reduce havp process , depend on how much memory and how many scanner you used.

Total memory = max server process * pattern size

2. use Trophie or Clamavlib scanner get better performance , especailly you don't need to pre-fork process and pattern file load direct by havp process.
3. use clamavlib instead of clamd , no need to pre-fork clamav process.
4. clamav provide a useful function to block (broken exe and encrypted archive)

beside this , use sanwich architect to boost performance

Internet <-> Squid A <-> havp <-> Squid B <-> client

get better performance , but you need to take care what virus store in cache of Squid B
or safe one

Internet <-> Squid A <-> havp <-> client


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2007 08:55 
Offline

Joined: 31 Oct 2007 08:33
Posts: 1
Quote:
Total memory = max server process * pattern size


What is "pattern size"?


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2007 09:18 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
The pattern size doesn't really matter. It is loaded before childs are created, so they all share it in memory. It's more like processes * 10MB that the scanning uses.


Top
 Profile  
 
 Post subject:
PostPosted: 12 Nov 2007 06:35 
Offline

Joined: 24 Oct 2007 09:33
Posts: 2
Very sorry for I'm come back too later
I Only have 256MB RAM
intel(R) Celeron(R) CPU 2.66GHz
:(
main config:

SERVERNUMBER 15
MAXSERVERS 100
LOG_OKS false

SCANIMAGES false
ENABLECLAMLIB true
CLAMDBDIR /var/lib/clamav

50 users

to butz. I use
Internet <-> Squid A <-> havp <-> client
architect .still too slow

Hardware issue??


Top
 Profile  
 
 Post subject:
PostPosted: 12 Nov 2007 08:31 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
You need to set MAXSERVERS to 15 too. Maybe 10 servers or less is more realistically. Ofcourse it's near impossible to run any other programs with 256MB.

Also make sure TEMPDIR points to a tmpfs/ramdisk and not to a slow HD. It just might give a small edge even if you are running out of memory.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group