Re: core.SolrCore - java.io.FileNotFoundException

2013-01-14 Thread Jun Wang
The problem is occured recently again, this time exception is 2013-01-14 10:17:23,865 ERROR core.SolrCore - java.io.FileNotFoundException: /home/admin/index/core_p_shard4/index/_1ozb.fnm (No such file or directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAc

Re: core.SolrCore - java.io.FileNotFoundException

2012-10-15 Thread Jun Wang
Hi, Erick Thanks for your advice. My mergeFactor is set to 10, so it's impossible have so many segments, specially some .fdx, .fdt file is just empty. And sometime indexing is working fine, ended with 200+ files in data dir. My deployment is having two core and two shard for every core, using autoc

Re: core.SolrCore - java.io.FileNotFoundException

2012-10-15 Thread Erick Erickson
I have no idea how you managed to get so many files in your index directory, but that's definitely weird. How it relates to your "file not found", I'm not quite sure, but it could be something as simple as you've run out of file handles. So you could try upping the number of file handles as a _tem

Re: core.SolrCore - java.io.FileNotFoundException

2012-10-14 Thread Jun Wang
PS, I have found that there lots of segment in index directory, and most of them is empty, like . totoal file number is 35314 in index directory. -rw-rw-r-- 1 admin systems 0 Oct 14 11:37 _k3n.fdx -rw-rw-r-- 1 admin systems 0 Oct 14 11:37 _k3o.fdt -rw-rw-r-- 1 admin systems 0 Oct 14 11