CPU reaching 100% with jboss eap 6.0 - sql-server-2012

We are using jboss eap 6.0 with java 7 and struts 1.3 framework along with sql server 2012 ,hosted only one web application ,after 2 days CPU reaching 100%,Please suggest me.Thanks in advance

Please check if your application try to load to any big size image anywhere. Also compare with the old version of app which was running ok.

You can try using the tips in the JBoss EAP 7 Performance Tuning Guide to help identify the Java threads that are causing the high CPU usage: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/performance_tuning_guide/#identifying_high_cpu
Most of the instructions in that guide can also be applied to JBoss EAP 6.
If you are a Red Hat Customer, there is also a Customer Portal Labs tool to help with identifying high CPU threads: https://access.redhat.com/labs/jvmpeg/

Related

visualvm monitoring of JBoss EAP 7

I have a server with JBoss EAP 7 on port 8380.
I want to monitor the jboss via visualvm from my workstation.
How do I need to configure to accept the connection.
I tried it with jmx-parameters in $JAVA_OPTS and jmx over management-interface.
Nothing works.
Maybe someone has a good tutorial.
Best Regards
Christian
The upcoming JBoss EAP 7.1 Performance Tuning Guide has instructions that I have also tested with JBoss EAP 7.0 (I assume you are connecting to a remote server):
Bind the management interface to an IP address: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/performance_tuning_guide/index#configuring_remote_monitoring
Connection steps for VisualVM: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/performance_tuning_guide/index#connecting_to_a_remote_jboss_eap_jvm_using_visualvm
Full disclosure: I am a Red Hat employee and the writer of that guide. If you have any feedback to improve the guide, I'd be more than happy to receive it.

High Memory usage by Java (TM) Platform SE binary

We are noticing that IBM MobileFirst Server is using High Memory by Java TM Platform SE binary process, after 2 3 days of server start it reach up to 6 GB which cause the server in hang status, then only restart is the solution.
in logs we found below message:
"No buffer space available (maximum connections reached?): connect"
Enviornment: IBm Worklight Server 7.1 and java version is 1.7 64 bit on windows server 2012. hybrid Mobile application running on this server.
It seems that there might be some configuration required can any one advice ?
Lots of information missing... this can be caused by any number of reasons.
Are you in a cluster? if yes, how many servers? how much memory is available to each machine?
How many adapters do you have deployed? What is the value you gave to the serverSessionTimeout property? This for example can cause connections to stay open for a longer time, meaning the server will not "clean/remove" connections... and the more you have open, the more memory you will require.
all of these and more can contribute to how much memory you may need.
See also: http://www-01.ibm.com/support/docview.wss?uid=swg21690707
It mentions DB2, but the idea is - the more connections, the more memory you will need.

IBM WAS 8.0 to 8.5.5 migration

I am asked to upgrade IBM WebSphere application server 8.0 to 8.5.5 on linux environment. Could you please give me a step by step guide for this migration?
thanks,
Kumar
The simplest method (assuming your WebSphere instances have enough spare CPU/disk/etc) is to build a second WebSphere cell at the new level and migrate applications across one at a time. Access to the application servers should be controlled by either a web server (using the WAS plugin) or an IP sprayer product and which version of app server used should be controlled in that layer. Updating in place has many pitfalls and can be difficult to recover from if something goes wrong which can lead to extended down time for your applications.

JVM Tomcat Liferay: Code Cache at 95% in production

Using JVM 1.7.0_51 and Tomcat 7 and Liferay Portal CE 6.2GA3 I'm seeing that in JVM's Metrics the value of Code Cache is 95%
In no Tomcat and/or Liferay tuning guide I found the management and/or advice about Code Cache related parameters.
Please anyone could address my to understand this issue ?
Thank you in advance,
Ivano C.

Glassfish to Jboss 6 eap migration

is there any migration guide available for application Server Glassfish to JBoss 6 EAP. I am particularly intrested in server side configuration(Installing, configuration etc) and the important points taken into account if any while migration (Except the code changes)
I believe something is being worked on, but it says it's coming soon. Your best bet for now would probably be to ask in the forums or if you have a support contract for EAP 6 there might be some other types of help available.