Applications shouldn't be able to exhaust resources and freeze the OS.

Maybe you are running out of disk space on the log?  If so, look at using
logrotate (or whatever package you have) to rotate the logs more often or
based on size.  I guess that should be (4) below.

-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nuno
Sampaio
Sent: Thursday, April 14, 2005 10:00 AM
To: [email protected]
Subject: Re: [Ntop] ntop and hard disk resources

It really does freeze... i have to reboot the machine cause it freezes the
all operating system. ill try some of your recomendations.
thx

Nuno Sampaio

Burton Strauss wrote:

>Doubt ntop is really frozen.  There's nothing in the main threads that 
>depends on disk space.  Creating web pages, however, does require a 
>small temporary file.
>
>What to do?
>
>(1) Like all tools, monitor your disk usage on an on-going basis.  
>
>(2) You can use switches and filters (read the man page) to configure 
>ntop to store less stuff.
>
>(3) You can also look at purging older rrd files.  Although 
>individually small, there are lots of them - and so this is usually the 
>largest component of ntop's usage of disk space.  RRD files which 
>haven't been updated in
>(weeks|months) (e.g. find . -type f -ctime 30 [days]) usually have 
>little value and purging them is simple via a cron job.
>
>It may not help - the number of older files can be quite small if your 
>users are routinely contacting the same hosts:
>
>$ find . -type f -ctime 30 | wc -l
>1309
>$ find . -type f | wc -l          
>40458
>
>If so, then you are back to #2.
>
>-----Burton
> 
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
>Nuno Sampaio
>Sent: Thursday, April 14, 2005 9:31 AM
>To: [email protected]
>Subject: [Ntop] ntop and hard disk resources
>
>ntop freezes when i have no hard disk sapce available.. how can i 
>prevent this from happening? (besides getting a bigger hard disk)
>
>Nuno Sampaio
>_______________________________________________
>Ntop mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>_______________________________________________
>Ntop mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>  
>

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to