It looks like xfs will reclaim the preallocated space for a file, after it
is closed.

Does kafka close a file after it has reached it's max size and started
writing to the next log file in sequence?  Or does it keep all open until
they are deleted, or the server quits (that's what it seems like).

I could imagine that it might need to keep log files open, in order to
allow consumers access to them.  But does it keep them open indefinitely,
after there is no longer any data to be written to them, and no consumers
are currently attempting to read from them?

On Tue, Jul 16, 2013 at 4:32 PM, Jay Kreps <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB