bundle exec rake sunspot:solr:start
DEPRECATION WARNING: Support for Rails < 4.1.0 will be dropped. (called from warn at /Users/http://ift.tt/1S0t6XL)
Connecting to database specified by database.yml
Removing stale PID file at [file in solr file...]
Successfully started Solr ...
$ ps aux | grep solr
jeffrey.wan 59427 0.1 0.1 5099980 14924 ?? S Thu03PM 12:39.85 /usr/bin/java -server -Xss256k -Xms512m -Xmx512m -XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 -XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 -XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:/Users/jeffrey.wan/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/sunspot_solr-2.2.4/solr/server/logs/solr_gc.log -Djetty.port=8982 -DSTOP.PORT=7982 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -Djetty.home=/Users/http://ift.tt/1S0t6XN -Dsolr.solr.home=/Users/http://ift.tt/1VuWgE0 -Dsolr.install.dir=/Users/http://ift.tt/1S0t6qW -jar start.jar --module=http
jeffrey.wan 9004 0.0 0.0 2434840 772 s002 S+ 10:06AM 0:00.00 grep solr
The processes don't show a solr process. Any idea why?
This is my sunspot.yml:
production:
solr:
hostname: localhost
port: 8983
log_level: WARNING
# read_timeout: 2
# open_timeout: 0.5
development:
solr:
hostname: localhost
port: 8982
log_level: INFO
solr_home: solr
path: /solr/collection1
test:
solr:
hostname: localhost
port: 8981
log_level: WARNING
Aucun commentaire:
Enregistrer un commentaire