Kafka, mail # user - large amount of disk space freed on restart - 2013-05-23, 04:46
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
large amount of disk space freed on restart
Normally, I see 2-4 log segments deleted every hour in my brokers.  I see
log lines like this:

2013-05-23 04:40:06,857  INFO [kafka-logcleaner-0] log.LogManager -
Deleting log segment 00000000035434043157.kafka from <redacted topic>

However, it seems like if I restart the broker, a massive amount of disk
space is freed (without a corresponding flood of these log segment deleted
messages).  Is there an explanation for this?  Does kafka keep reference to
file segments around, and reuse them as needed or something?  And then or
restart, the references to those free segment files are dropped?


This is with 0.7.2.


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