Hi Jon, Chamroeun

The shared host theory sounds good - although if the process is still running 
when connections die, then I'm not convinced that's the cause. And besides - 
Jon hasn't mentioned whether he's on a shared host or not.

Beyond that, though - I'd be interested to know whether you can run the 
'search' command-line tool (that comes with Sphinx) to run a query against 
searchd, just to confirm the issue is outside of Ruby. If it is, perhaps it's 
worth asking this question on the Sphinx forum?
http://sphinxsearch.com/forum/

I must admit, I'm not really sure what the cause could be... I'm guessing the 
server isn't running out of resources? (hard disk, ram, number of open files)

Cheers

-- 
Pat

On 11/12/2010, at 3:46 PM, chamroeun ou wrote:

> To Jon:
> 
> Hi, i think your problem is not with SPhinx, it's with your shared-hosting 
> server. In shared hosting, you are not allow to run any daemon. I can't find 
> any shared-hosting that allows you to run daemon. So the solution for using 
> Sphinx or Other search engine like Lucene, you need at least VPS or dedicated 
> server.
> 
> CHamroeun
> website: http://cambodiazoom.com
> 
> On Sun, Nov 28, 2010 at 2:26 PM, Jon <[email protected]> wrote:
> same thing happens to me..
> 
> it works for a while then i start getting: 
> "No response from searchd (status: , version: )"
> 
> if i do a stop, reindex and start, it works again..
> 
> would love to know how to fix this.
> 
> i can't re-produce it either, it is just random (and doing a ps shows that 
> searchd is still running)
> 
> j
> 
> On Tue, Nov 9, 2010 at 3:17 AM, jayro <[email protected]> wrote:
> This is happening on my app very frequently -doing a stop, reindex,
> and start start fixes it but it always comes back.
> 
> Sometimes after a few days - sometimes after a few minutes.
> 
> The really annoying part is that another action in another controller
> doesn't die even when the one action dies..
> 
> [ Riddle::ResponseError: No response from searchd (status: ,
> version: ) ]
> 
> i am running the latest riddle gem thinking this would help (1.1.0)
> 
> for example - this just went down again here after 10 minutes =>
> http://signmeto.roadrunnerrecords.com/search?q=satts
> 
> action code:
> [
> @results = ThinkingSphinx::Search.search params[:q],
>                                         :per_page => 12,
>                                         :page => params[:page],
>                                         :with => { :has_photo =>
> true},
>                                         :match_mode => :any,
>                                         :star => true,
>                                         :index_weights => { User =>
> 7, Artist => 3 },
>                                         :field_weights => { :name =>
> 4 }
> 
> ]
> 
> 
> buts its still very much alive and working here =>
> http://signmeto.roadrunnerrecords.com/explore?tag=metal
> 
> action code:
> 
> [
> @results = Artist.by_score.search(params[:tags],
>                                  :page=>params[:page],
>                                  :per_page=>params[:per_page],
>                                  :rank_mode => :extended,
>                                  :with => { :has_photo =>
> true, :has_song => true}
> ]
> 
> --
> 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