here's the output. jim 17106 0.0 0.0 8492 736 pts/0 S 08:05 0:00 searchd --pidfile --config /var/www/staging/contactor/config/staging.sphinx.conf
currently, i'm just running the staging searchd but the staging and the production app is in the same server. other details: I'm running the rake task the same way as I do in my development box. rake ts:rebuild RAILS_ENV=staging or rake ts:index RAILS_ENV=staging rake ts:start RAILS_ENV=staging Thanks! On Mon, May 17, 2010 at 4:35 PM, Pat Allan <[email protected]> wrote: > Hi Jim > > I just want to double-check - what's the output of (on the command line): > ps aux | grep searchd > > Your email hadn't gotten lost - I've just been away for the weekend :) > > -- > Pat > > On 17/05/2010, at 6:31 PM, Jim Ruther Nill wrote: > > > Hi Pat, > > > > I've sent a pm thinking that this message was probably lost or something. > > > > Anyway, I'm sure that there's a searchd process running. The ts:index > outcome was: > > > > indexing index 'contact_core'... > > collected 2695 docs, 0.1 MB > > collected 5391 attr values > > sorted 0.0 Mvalues, 100.0% done > > sorted 0.0 Mhits, 100.0% done > > total 2695 docs, 65171 bytes > > total 0.269 sec, 241950 bytes/sec, 10005.30 docs/sec > > indexing index 'contact_delta'... > > collected 0 docs, 0.0 MB > > collected 0 attr values > > sorted 0.0 Mvalues, nan% done > > total 0 docs, 0 bytes > > total 0.008 sec, 0 bytes/sec, 0.00 docs/sec > > distributed index 'contact' can not be directly indexed; skipping. > > total 16 reads, 0.000 sec, 32.4 kb/call avg, 0.0 msec/call avg > > total 16 writes, 0.013 sec, 52.7 kb/call avg, 0.8 msec/call avg > > Started successfully (pid 17106). > > > > > > On Mon, May 17, 2010 at 4:13 PM, Pat Allan <[email protected]> > wrote: > > Hi Jim > > > > Can you confirm that there is a searchd process running? Seems like > you've done everything right... > > > > -- > > Pat > > > > On 13/05/2010, at 4:23 PM, jim wrote: > > > > > Hi guys! I'm new here so please be patient with my questions :D > > > > > > I just installed sphinx and thinking_sphinx. I also successfully run > > > the ts:index and ts:start rake tasks. However, when I go to the > > > console and try searching, I get a timeout error. Any ideas? > > > > > > The stack trace below: > > >>> Contact.search '' > > > Errno::ETIMEDOUT: Connection timed out - connect(2) > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 512:in `initialize' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 512:in `new' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 512:in `initialise_socket' > > > from /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/0.9.9/ > > > client.rb:8:in `initialise_connection' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 452:in `open_socket' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 479:in `connect' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 535:in `request' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 203:in `run' > > > from > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.10/lib/riddle/client.rb: > > > 310:in `query' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:266:in `populate' > > > from /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:265:in `populate' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:388:in `call' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:388:in `retry_on_stale_index' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:262:in `populate' > > > from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/ > > > thinking_sphinx/search.rb:118:in `method_missing' > > > from /usr/lib/ruby/1.8/irb.rb:302:in `output_value' > > > from /usr/lib/ruby/1.8/irb.rb:151:in `eval_input' > > > from /usr/lib/ruby/1.8/irb.rb:263:in `signal_status' > > > from /usr/lib/ruby/1.8/irb.rb:147:in `eval_input' > > > from /usr/lib/ruby/1.8/irb.rb:146:in `eval_input' > > > from /usr/lib/ruby/1.8/irb.rb:70:in `start' > > > from /usr/lib/ruby/1.8/irb.rb:69:in `catch' > > > from /usr/lib/ruby/1.8/irb.rb:69:in `start' > > > from /usr/bin/irb:13 > > > > > > -- > > > 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]<thinking-sphinx%[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]<thinking-sphinx%[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]<thinking-sphinx%[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]<thinking-sphinx%[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.
