Re: Updating clusterstate from the zookeeper

2013-04-19 Thread Nate Fox
l`" sleep 10 # give a lil time to get pushed out curl " http://localhost:8080/solr/admin/cores?wt=json&action=RELOAD&core=collection1 " This is on zk 3.4.5 -- Nate Fox Sr Systems Engineer o: 310.658.5775 m: 714.248.5350 Follow us @NEOGOV <http://twitter.com/NEOGOV&g

Re: Need hook to know when replication backup is actually completed.

2013-04-12 Thread Nate Fox
Tim, thank you for this! I had been looking for this a while back (even posted something on serverfault) and never got a decent answer. This is exactly what I was looking for. -- Nate Fox Sr Systems Engineer o: 310.658.5775 m: 714.248.5350 Follow us @NEOGOV <http://twitter.com/NEOGOV>

Re: How can I set configuration options?

2013-04-09 Thread Nate Fox
In Ubuntu, I've added it to /etc/default/tomcat7 in the JAVA_OPTS options. For example, I have: JAVA_OPTS="-Djava.awt.headless=true -Xmx2048m -XX:+UseConcMarkSweepGC" JAVA_OPTS="${JAVA_OPTS} -DnumShards=2 -Djetty.port=8080 -DzkHost=zookeeper01.dev.:2181 -Dboostrap_conf=tru

Re: Loadtesting solr/tomcat7 and tomcat stops responding entirely

2013-03-27 Thread Nate Fox
eason - I'd like to know what the reasoning is. - Any reason I shouldnt use Tomcat? I just went with it because I figured it was extremely mature and was easy to use with apt-get :) I'll probably toy with the APR as suggested by Michael, as I like the idea of a non-blocking connector.

Re: Loadtesting solr/tomcat7 and tomcat stops responding entirely

2013-03-26 Thread Nate Fox
We're not using ELB and I have no idea which connector I'm using - I'm guessing whatever is default (I'm a total noob). This is from my server.xml: -- Nate Fox Sr Systems Engineer o: 310.658.5775 m: 714.248.5350 Follow us @NEOGOV <http://twitter.com/NEOGO

Re: Loadtesting solr/tomcat7 and tomcat stops responding entirely

2013-03-26 Thread Nate Fox
x27;s reaction to a 'fast load' without a warmup sound normal? I would have expected the first couple hundred queries to be very slow (>500ms) and then the system catch up after a while. But it just dies very quickly and never recovers. I'll check out your SPM - I've see

Loadtesting solr/tomcat7 and tomcat stops responding entirely

2013-03-26 Thread Nate Fox
I'm new to solr and I'm load testing our setup to see what we can handle. I'm using solrmeter and my problem is a bit odd: * When I set solrmeter to run 4000 queries/min, it will handle a few hundred queries and then tomcat will stop responding completely to requests (even though according to lsof