SOLR high CPU usage in amazon EC2

Posted by user644745 on Server Fault See other posts from Server Fault or by user644745
Published on 2012-07-03T19:32:11Z Indexed on 2012/07/03 21:17 UTC
Read the original article Hit count: 254

Filed under:
|
|

I installed solr-3.6 in my local windows box and it worked fine.

I installed solr-4.0 in amazon ec2 linux large instance and the cpu usage shot upto 100%. It maintained at 80-90% average cpu power.

I thought it could be because of 4.0, So I installed 3.6 in EC2 again. But again the CPU usage was 80-90% average.

With both the versions, solr works in EC2. dont know why CPU usage is so high. i started the solr server using "sudo nohup java -jar start.jar &"

In my local box java 1.7 is installed and in EC2 it is 1.6.0_24. I have mapped solr dir to an EBS volume.

/dev/mapper/vg1-solr   8361916   1935928   6342128  24% /home/ec2-user/SOLR/solr/example/solr

Is there any known issue ?

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about java