Find the answer to your Linux question:
Results 1 to 1 of 1
Hi, Problem:- tomcat process i.e java having CPU utilization 99%. System Information:- 1) System is 2.6.9-34.0.1.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/Linux 2) No. Of CPU:- 2 AMD processor 3) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    11

    Question Tomcat CPU Havoc


    Hi,

    Problem:- tomcat process i.e java having CPU utilization 99%.

    System Information:-

    1) System is 2.6.9-34.0.1.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/Linux
    2) No. Of CPU:- 2 AMD processor
    3) Memory Information:-
    free -m
    total used free shared buffers cached
    Mem: 2007 1990 17 0 26 87
    -/+ buffers/cache: 1876 131
    Swap: 4094 225 3868

    4) Command line argument during process running state:-
    ps -elf | grep tomcat
    4 S root 16137 1 2 76 0 - 790869 - May06 ? 00:24:44 /usr/local/java/bin/java -jrockit -Xms1024M -Xmx1536M -Xgcpause -Xgcreport -Xgcarallel -verbose:gc -Djava.util.logging.manager=org.apache.juli.ClassLo aderLogManager -Djava.util.logging.config.file=/opt/servers/apache-tomcat-5.5.20/conf/logging.properties -Djava.endorsed.dirs=/opt/servers/apache-tomcat-5.5.20/common/endorsed -classpath :/opt/servers/apache-tomcat-5.5.20/bin/bootstrap.jar:/opt/servers/apache-tomcat-5.5.20/bin/commons-logging-api.jar -Dcatalina.base=/opt/servers/apache-tomcat-5.5.20 -Dcatalina.home=/opt/servers/apache-tomcat-5.5.20 -Djava.io.tmpdir=/opt/servers/apache-tomcat-5.5.20/temp org.apache.catalina.startup.Bootstrap start

    5) I traced out java process during high cpu utilization with strace command. I found a lot futex system call. That mean system is waiting for something. I couldn't find out the exact problem.

    Regards,
    Faizsir
    Last edited by Faizsir; 05-07-2007 at 07:15 PM. Reason: Changes in post icon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •