Hi Andrew What happens if you run searchd manually instead of via the rake task?
searchd --config path/to/production.sphinx.conf --nodetach -- Pat On 18/11/2011, at 6:05 PM, Andrew Stewart wrote: > (I tried to post this to the CPU Usage? topic but Google Groups > doesn't seem to allow me.) > > I use Foreman to export an Upstart configuration for Thinking Sphinx. > Here's the line from my Procfile: > > thinking_sphinx: bundle exec rake thinking_sphinx:start > NODETACH=true > > I'm using Thinking Sphinx 2.0.10. > > Then on my server, when I do `ps wwaux | grep thinking_sphinx`, I see > this: > > rails 22942 0.0 0.1 35636 1244 ? Ss 10:37 0:00 > su - rails -c cd /var/www/apps/sparkle/releases/20111118082310; export > PORT=5100; export RAILS_ENV=production; bundle exec rake > thinking_sphinx:start NODETACH=true >> /var/www/apps/sparkle/shared/ > log/thinking_sphinx-1.log 2>&1 > rails 22943 0.2 0.2 19780 2308 ? S 10:37 0:00 - > su -c cd /var/www/apps/sparkle/releases/20111118082310; export > PORT=5100; export RAILS_ENV=production; bundle exec rake > thinking_sphinx:start NODETACH=true >> > /var/www/apps/sparkle/shared/log/thinking_sphinx-1.log 2>&1 > rails 23041 97.3 6.6 251448 67900 ? Rl 10:37 0:12 > ruby /var/www/apps/sparkle/shared/bundle/ruby/1.9.1/bin/rake > thinking_sphinx:start NODETACH=true > > The CPU is at 97.3% (3rd row, 3rd column). It never seems to come > down from the high nineties. > > Please can you help me fix this? > > Thanks in advance, > > Andy Stewart > > -- > 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.
