[fwgold-users] Re: CPU pinned

  • From: "Gianluca Rotoni" <gianluca@xxxxxxxxxx>
  • To: fwgold-users@xxxxxxxxxxxxx
  • Date: Mon, 26 May 2003 10:05:26 +0200

Hi,

Depending on the option you passed to the "fw log" command 
(option FWLOGOPTS recommaned value "-ftn") the FW-1 log is 
either read from its beginning or from the last entries as 
they arrive to the management station.

The server side of FwGold does not use RRD as it stores its
counters in memory and waits for the client to connect and grab
them. It is the client which stores the values onto a RRD
database.

FwGold server is a bit a resource eater because it has to match
each log entry against the user filter configuration which is a 
resource intensive task. 100% CPU is nevertheless too much
but then again it really depends on what system you run FwGold
server on, how many log entries per second you have, how complex
your filter definition (userdb.conf) is, etc. etc.

I personally have FwGold server taking 10-15% CPU on a Sun Netra 
T1 receiving about 1.5 Million log entries per day.

Regards,
Gianluca

> When running the fwgold server, my CPU gets pinned at 100%.  vmstat shows my 
> cpu idle time as 0.  
>  
> I'm thinking that it needs to start the RRD database so it needs to parse 
> through the entire fw.log file the first time.  I tried waiting until my 
> fw.log file gets rotated (fw.log becomes much smaller) and then starting the 
> server right away after that... but it still causes my CPU to go to 100% 
> utilization.
>  
> I'm afraid to run the server now.  What is the problem?  
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> 
> =================================================
>         Archives of this mailing list's 
>          messages ca be retrieved from
>  //www.freelists.org/archives/fwgold-users 
> =================================================
>      To unsubscribe from this maling list
> send a mail to fwgold-users-request@xxxxxxxxxxxxx
>      with the word "unsubscribe" as subject.
> =================================================
>    To administer your account visit the site :
>    //www.freelists.org/cgi-bin/lsg2.cgi
> =================================================
> 


=================================================
        Archives of this mailing list's 
         messages ca be retrieved from
 //www.freelists.org/archives/fwgold-users 
=================================================
     To unsubscribe from this maling list
send a mail to fwgold-users-request@xxxxxxxxxxxxx
     with the word "unsubscribe" as subject.
=================================================
   To administer your account visit the site :
   //www.freelists.org/cgi-bin/lsg2.cgi
=================================================

Other related posts: