Hi Alex

I'm really not sure what's going on... I've not heard of this happening before. 
The daemon shouldn't take 10 seconds to die. It shouldn't really take much more 
than 1 second.

What versions of Rails, Thinking Sphinx and Riddle are you using?

-- 
Pat

On 13/01/2011, at 11:52 AM, Alex Farrill wrote:

> Can anyone explain to me what is going on here -- is the search daemon taking 
> more than 10 seconds to die and then starting the new search daemon throws an 
> exception?  That was my impression... it is really kind of a bummer as I have 
> to deploy two or three times before I can get that thing to die and then 
> start correctly.  Indexing only about 12k documents for what it's worth.  Any 
> thoughts will be helpful.  I'm not too fond of just reindexing as the 
> document structure changes more often than I would like.
> Thanks,
> Alex
> 
> On Tue, Jan 11, 2011 at 10:01 AM, Alex Farrill <[email protected]> wrote:
> Thanks, I found the page on deployment on the ts website
> http://freelancing-god.github.com/ts/en/deployment.html
> 
> But I still find I must sleep for about 10 seconds between index and start, 
> not sure why that is but I guess it's ok
> 
> Thanks
> 
> Alex
> 
> 
> On Tue, Jan 11, 2011 at 9:50 AM, J Coppedge <[email protected]> wrote:
> I normally just run "rake ts:reindex" instead of rebuild.
> 
> 
> On Tue, Jan 11, 2011 at 12:12 AM, pharkle <[email protected]> wrote:
> > Can anyone offer advice on a way to rebuild my index at the end of a
> > capistrano deployment?
> >
> > I am currently doing in the "after 'deploy:symlink'" section:
> >
> > run "cd #{current_path} && /usr/local/bin/rake thinking_sphinx:rebuild
> > RAILS_ENV=#{rails_env}"
> >
> > but at the end of the process I get
> >
> >  ** [out :: 184.73.170.160] total 10 reads, 0.008 sec, 779.2 kb/call
> > avg, 0.8 msec/call avg
> >  ** [out :: 184.73.170.160] total 28 writes, 0.014 sec, 580.1 kb/call
> > avg, 0.5 msec/call avg
> >  ** [out :: 184.73.170.160] rake aborted!
> >  ** [out :: 184.73.170.160] searchd is already running.
> >
> > I am able to get the right behavior by stopping ts, indexing,
> > sleeping, then starting ts again, but it seems like such a hack.  Why
> > is rebuild dying right here?
> >
> > Thanks for any thoughts
> >
> > Alex
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group at 
> > http://groups.google.com/group/thinking-sphinx?hl=en.
> >
> >
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to