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  [ 5 posts ] 
Author Message
 Post subject: tmp+ramdisk
PostPosted: 31 Oct 2006 02:58 
Offline

Joined: 25 Aug 2006 19:59
Posts: 8
Hi !

How many tmp size must for havp (lan with 40 client) ?
I use ramdisk, but the ramdisk size only 64Mb. I do not create larger (debian os).
I scan under 150Mb/file.

The 64Mb ramdisk is enough ?

Sorry my english :)

thx


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2006 10:41 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
You should set MAXSCANSIZE to something like 5000000 (5MB). If you have 150MB right now, then anyone downloading big file will hang your server..

Also you should set ClamAV to use same ramdisk as temp for best performance, so it might be a bit small..


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2006 13:09 
Offline

Joined: 25 Aug 2006 19:59
Posts: 8
Thx the reply :)

I reduce the MAXSCANSIZE .

Another question:
How to create I bigger than 64Mb ramdisk ?
Is this possible ?


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2006 13:26 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
If you have debian or such, you can see if you have /etc/default/tmpfs. Edit SHM_SIZE=256m. That will edit /dev/shm that is automatically created on boot. Naturally don't set is higher than you have memory. :)

You can change the size without booting like this:
# mount -o remount,size=256m /dev/shm

Or you can manually create new ones like this:
# mount -t tmpfs -o size=256m tmpfs /havp

Or add to fstab:
tmpfs /havp tmpfs defaults,size=256m 0 0

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 31 Oct 2006 21:08 
Offline

Joined: 25 Aug 2006 19:59
Posts: 8
Bigger ramdisk =

Only add to kernel boot parameters in grub.conf:
ramdisk_size=128000 #128Mb/disks

test:
# dmesg | grep RAMDISK

:)

thx hege


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Yahoo [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