The latter, hanging while reading invalid data.
i will try mv instead of copy. excellent idea.
Brad
------------------------------------------------------------
Brad Miele
Technology Director
IPNStock
(866) 476-7862 x902
bmiele@ipnstock.com
Unquestionably, there is progress. The average American now pays out
twice as much in taxes as he formerly got in wages.
-- H. L. Mencken
On Fri, 3 Dec 2004, Bill Moseley wrote:
> On Fri, Dec 03, 2004 at 11:25:41AM -0800, Brad Miele wrote:
> > I am looking for a good solution for swapping indexes on my webservers.
> >
> > Currently, i rsync 4 1+ Gig indexes(and prop files) to a temporary area,
> > then I run a script which tests each index, and as long as there is no
> > error, it copies it to the live index directory, and then it restarts the
> > webserver. The problem is that while the index is being copied to live,
> > searches start to hang, and i get some huge http processes.
>
> You mean the process of copying large files on your system cause
> searches to hang? Or some issue while the indexes are copied and
> swish is reading invalid data?
>
> How about moving directories instead?
>
> mv index_dir index_dir.old && mv index_dir.new index_dir
>
> --
> Bill Moseley
> moseley@hank.org
>
> Unsubscribe from or help with the swish-e list:
> http://swish-e.org/Discussion/
>
> Help with Swish-e:
> http://swish-e.org/current/docs
> swish-e@sunsite.berkeley.edu
>
>
Received on Fri Dec 3 11:37:03 2004