Skip to content

Instantly share code, notes, and snippets.

@mattiasarro
Created September 25, 2014 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattiasarro/77ee182e70d1ffd288a6 to your computer and use it in GitHub Desktop.
Save mattiasarro/77ee182e70d1ffd288a6 to your computer and use it in GitHub Desktop.
[vagrant@vagrant-centos-6 vagrant]$ rake sphinx:index
Booting asw-api in development environment
Braintree transactions will run in sandbox mode
Skipping migrations check - have you remembered to run migrations recently?
PayPal transactions will run in sandbox mode
Pensio transactions will run in sandbox mode
Setting Resque to use Redis server at localhost:6379
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Permission denied @ rb_sysopen - /var/spool/cron/vagrant
The cron job will not run until /vagrant/config/sphinx/vagrant has been copied to /var/spool/cron/vagrant
To do this automatically from now on, type the following (requires root access):
sudo touch /var/spool/cron/vagrant
sudo chown vagrant /var/spool/cron/vagrant
Then restart sphinx:
rake sphinx:restart RAILS_ENV=development
Could not flush indexes. searchd is running.
Please stop searchd and try again
Indexer starting...
This may take a long time depending on size of data
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/vagrant/tmp/sphinx/sphinx_init.conf'...
skipping non-plain index 'distributed_event'...
skipping non-plain index 'distributed_yellowpages'...
skipping non-plain index 'distributed_members'...
skipping non-plain index 'distributed_discussions'...
skipping non-plain index 'distributed_recommended_contents'...
skipping non-plain index 'distributed_privileges'...
skipping non-plain index 'distributed_job_listings'...
skipping non-plain index 'distributed_real_estate_listings'...
indexing index 'event'...
collected 19 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 19 docs, 3926 bytes
total 0.075 sec, 52120 bytes/sec, 252.23 docs/sec
indexing index 'delta_event_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.036 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_event'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.030 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'yellowpages'...
collected 3114 docs, 0.6 MB
sorted 1.8 Mhits, 100.0% done
total 3114 docs, 569943 bytes
total 2.384 sec, 239062 bytes/sec, 1306.16 docs/sec
indexing index 'delta_yellowpages_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.039 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_yellowpages'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.030 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'members'...
collected 6493 docs, 0.8 MB
sorted 2.9 Mhits, 100.0% done
total 6493 docs, 771702 bytes
total 2.539 sec, 303879 bytes/sec, 2556.80 docs/sec
indexing index 'delta_members_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.039 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_members'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.035 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'discussions'...
collected 73 docs, 0.0 MB
sorted 0.1 Mhits, 100.0% done
total 73 docs, 17462 bytes
total 0.093 sec, 186207 bytes/sec, 778.44 docs/sec
indexing index 'delta_discussions_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.039 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_discussions'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.033 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'recommended_contents'...
collected 119 docs, 0.0 MB
sorted 0.2 Mhits, 100.0% done
total 119 docs, 36443 bytes
total 0.159 sec, 228123 bytes/sec, 744.90 docs/sec
indexing index 'delta_recommended_contents_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.064 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_recommended_contents'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.050 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'privileges'...
collected 21 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 21 docs, 8213 bytes
total 0.083 sec, 97858 bytes/sec, 250.21 docs/sec
indexing index 'delta_privileges_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.056 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_privileges'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.039 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'job_listings'...
collected 38 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 38 docs, 13065 bytes
total 0.101 sec, 128397 bytes/sec, 373.44 docs/sec
indexing index 'delta_job_listings_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.032 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_job_listings'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.033 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'real_estate_listings'...
collected 39 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 39 docs, 12092 bytes
total 0.071 sec, 168295 bytes/sec, 542.79 docs/sec
indexing index 'delta_real_estate_listings_daily'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.031 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'delta_real_estate_listings'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.030 sec, 0 bytes/sec, 0.00 docs/sec
total 42 reads, 0.015 sec, 748.5 kb/call avg, 0.3 msec/call avg
total 219 writes, 0.041 sec, 292.7 kb/call avg, 0.1 msec/call avg
WARNING: failed to open pid_file '/vagrant/tmp/sphinx/searchd_fake.pid'.
WARNING: indices NOT rotated.
Indexer finished
Updating online status...### Connecting to 127.0.0.1 on port 3312
Failed
Please see log/search.log for more details
[vagrant@vagrant-centos-6 vagrant]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment