On Wed, Mar 11, 2009 at 5:17 AM, Marc Sturlese <marc.sturl...@gmail.com> wrote: > I have noticed that once snapshots are deleted, tomcat keeps holding > references to them.Due to this disk space will never set free until Tomcat > is restarted, I have realized that doing a lsof | grep 'tomcat', the result > look like:
That suggests that the index files aren't being closed for some reason. After the new index searcher is registered, do you see the close of the old index reader in the logs? Do you have any Solr modifications or plugins? -Yonik http://www.lucidimagination.com > java 22015 tomcat 614r REG 253,0 1149569723 1093456605 > /var/local/solr/data/index/_1fb.fdt (deleted) > java 22015 tomcat 615r REG 253,0 12724500 1093456606 > /var/local/solr/data/index/_1fb.fdx (deleted) > java 22015 tomcat 616r REG 253,0 175953343 1093456607 > /var/local/solr/data/index/_1fb.tis (deleted) > java 22015 tomcat 617r REG 253,0 1989522 1102344114 > /var/local/solr/sdata/index/_1fb.tii (deleted) > java 22015 tomcat 618r REG 253,0 178646437 1102344140 > /var/local/solr/data/index/_1fb.frq (deleted) > java 22015 tomcat 619r REG 253,0 108460405 1102344154 > /var/local/solr/sdata/index/_1fb.prx (deleted) > > ... > > How can I make tomcat free the snapshots. Or even better... why is it > happening? > Thanks in advance > -- > View this message in context: > http://www.nabble.com/Tomcat-holding-deleted-snapshots-until-it%27s-restarted-tp22451252p22451252.html > Sent from the Solr - User mailing list archive at Nabble.com. > >