sreenivas arumilli [https://community.jboss.org/people/arumilli] created the discussion
"Re: Cpu 100% and GC is running" To view the discussion, visit: https://community.jboss.org/message/647363#647363 -------------------------------------------------------------- Hi, I changed the JVM setting and able tp see the perfomance of my system was much improved. But still I am having 100% cpu usage with GC. Our JVM permaters are : -Dprogram.name=run.sh -Dprogram.name=run.sh -Xms3872m -Xmx3872m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:NewSize=1278m -XX:MaxNewSize=1278m -Djava.net.preferIPv4Stack=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Djavax.net.ssl.trustStore=/opt/properties/.keystore -Djavax.net.ssl.trustStorePassword=changeit -Dcom.sun.management.jmxremote.port=8888 -Djava.rmi.server.hostname=192.168.100.39 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote -XX:+PrintGCDetails -Xloggc:/opt/gc.log -XX:+UseTLAB -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Xss256k -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss-4.2.3.GA//lib/endorsed We observered GC logs and found the below lines are causing CPU 100% usage. 25074.643: [GC [1 CMS-initial-mark: 1349040K(2656256K)] 1350761K(3963712K), 0.0072300 secs] 25074.650: [CMS-concurrent-mark-start] 25075.310: [CMS-concurrent-mark: 0.659/0.659 secs] 25075.310: [CMS-concurrent-preclean-start] 25075.320: [CMS-concurrent-preclean: 0.010/0.010 secs] 25075.320: [CMS-concurrent-abortable-preclean-start] CMS: abort preclean due to time 25076.377: [CMS-concurrent-abortable-preclean: 0.175/1.057 secs] 25076.391: [GC[YG occupancy: 63977 K (1307456 K)]25076.391: [Rescan (parallel) , 0.1988790 secs]25076.589: [weak refs processing, 0.3584420 secs] [1 CMS-remark: 1349040K(2656256K)] 1413018K(3963712K), 0.5868910 secs] 25076.978: [CMS-concurrent-sweep-start] 25077.978: [CMS-concurrent-sweep: 1.000/1.000 secs] 25077.978: [CMS-concurrent-reset-start] 25077.986: [CMS-concurrent-reset: 0.008/0.008 secs] Can you suggest why it getting aborted and what we need to do to prevent this. Arumilli -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/647363#647363] Start a new discussion in Performance Tuning at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
