On Mon Mar 21 2005 at 17:43, Pete Duffin wrote:

> Your file size should say unlimited, no?

On Linux, programs that want to create files bigger than 2 GB must set
the O_LARGEFILE flag when open() is called. I don't think that nessusd
does this (do we need huge logs, by the way?)
The limitation could be in the file system too. 

So, we could:
1. Add O_LARGEFILE if it is defined, but we might still hit a rlimit
or a FS limit (especially on systems where this flag is not available)
2. Rotate logs if they are bigger than a given size (e.g. 1 GB) when
we open them.

1 is cheap (#ifdef), but 2 is much better IMHO.
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to