Hi Shawn - You brought up a good point. This might be a possible reason. I'll test it out. Thanks! My index (4.5g) usually takes about 15-20 secs to load.
One other observation - even though it says write.lock file in a specific data directory path, when I look up the directory, I don't see any write.lock file in there. It is really confusing. AL On Tue, May 10, 2016 at 10:37 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 5/9/2016 11:30 AM, A Laxmi wrote: > > yes, I always shutdown both source and destination Solr before copying > the > > index over from one to another. Somehow the write.lock only happens when > > Solr restarts from service script. If loads just fine when started > manually. > > One possible problem: > > The bin/solr script (which is used by the init script) only waits for 5 > seconds for Solr to stop gracefully before killingit forcibly. This can > leave write.lock files behind. > > I thought it had increased to 30 seconds in a recent version and that it > was possibly even configurable in solr.in.sh, but I just checked the > 6.0.0 download. It's still only 5 seconds, and the value is hard-coded > in the script. This is only enough time if you have a very small number > of very small indexes. > > Thanks, > Shawn > >