Hello everybody,
I ran into the same problem I had a while ago - nfsen sometimes (during the
weekend) runs out of disk space and is at a stand-still...
Here's how my system looked this morning:
[EMAIL PROTECTED] ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 15G 8.4G 5.4G 61% /
*/dev/sda2 241G 229G 0 100% /data*
none 3.5G 0 3.5G 0% /dev/shm
*/dev/sda5 13G 13G 0 100% /var*
The /var partition was filled by the syslog error messages:
Apr 20 11:19:49 localhost /usr/local/bin/nfcapd[4490]: Process_v9: output
buffer size error. Abort v9 record processing
Apr 20 11:19:49 localhost /usr/local/bin/nfcapd[4487]: Failed to write
output buffer to disk: 'No space left on device'
I have a script that checks for partitions overflowing, but for some reason
it didn't do the trick this time...
After deleting some old flow data and clearing the /var partition, I rebuilt
the live profile and restarted nfsen...
[EMAIL PROTECTED] clearOldRRDs]# ./emergencyCleanup.pl
/data 100
/var 100
Deleting files older than 2 days
/data 48
/var 85
[EMAIL PROTECTED] clearOldRRDs]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 15G 8.4G 5.4G 61% /
*/dev/sda2 241G 110G 120G 48% /data*
none 3.5G 0 3.5G 0% /dev/shm
*/dev/sda5 13G 11G 1.9G 85% /var*
[EMAIL PROTECTED] bin]# ./nfsen -r live
name live
group (nogroup)
tcreate Thu Apr 10 15:02:27 2008
tstart Thu Apr 17 23:40:00 2008
tend Mon Apr 21 09:25:00 2008
updated Mon Apr 21 09:25:00 2008
expire 3 days 0 hours
size 100.4 GB
*maxsize 200.0 GB*
type live
locked 0
status OK
version 130
My question is: if the maximum size of the profile is 200G, and the full
profile would occupy 210G, why did it fill my 230G partition?
Could you explain agian how the watermarking works? I would like to set it
to delete stuff as soon as possible and not be lazy...
Thank you,
Adrian
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss