Re: Blacklistupdate.pl temp directory.

Olaf Westrik <weizen_42-Yz37vSk3/[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
On 2012-02-02 23:01, David W Studeman wrote:
> I highly recommend that the directory that the blacklists are downloaded
> to and remain while the databases are built is /tmp since that one is
> TMPFS on all IPCop installations thus running the database building in
> ram. Otherwise on flash installations it thrashes the flash drive for 45
> minutes. In TMPFS the same work can be done in a few minutes and then
> copied to /var. One IPCop 1.4.21 running URLfilter, I found making that
> change to be absolutely necessary on flash installs.
>
> Suggested is to change line 35 from: my $target =
> "/var/ipcop/proxy/download";
> To: my $target = "/tmp";
>
> I reiterate that there is no compelling reason to build the db files on
> a hard drive.

tmpfs may not be large enough.

We'll need to set minimum requirements for URL filter, from what I have 
seen so far disksize needs to be 2 GiB for harddisk type installation 
and 1 GiB for flash installation.
Memory size needs to be looked into.


Olaf

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.