Bill Moran <[EMAIL PROTECTED]> writes:

> Let's see if I remember the details on this.
> I believe this happens when a file is deleted, but another program still holds
> a filehandle? to it.  Thus, if you delete Apache's log file (for example) but
> don't restart Apache, the space the logfile is using isn't truely freed.
> (This is why newsyslog.conf has a column for the PID of a process to restart).
> 
> So ... if you know which process had the files open, restart it (probably by
> sending it a -HUP).

Right.  That's why newsyslog(8) can send a signal on rotating a log file.

I'm not quite sure why this is relevant to the actual problem, because
it's not really *that* many inodes involved in log files, but then
again I'm not sure I completely understand the problem anyway...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to