Question

CPU Starvation Detected in SystemOut.log

Asked by: dipinci

We have noticed a message HMGR0152W: CPU Starvation detected. Current thread scheduling delay is 84 seconds.
This happens everyday night between 11 and 2. The monitorig application gives heavy memory usage on the servers and I guess this could be the cause of the Problem. The messsage is logged in the WebSphere Application Server Cluster members running on Version 6.0.2.31 and JDk is 1.4.2 SR11.

Below are the log details from the SystemOut
[1/30/09 23:27:46:888 AST] 0000167c CoordinatorCo W   HMGR0152W: CPU Starvation detected. Current thread scheduling delay is 6 seconds.



[1/31/09 0:52:22:349 AST] 000000e9 WorkQueueMana W   TCPC0005W: TCP Channel SIB_TCP_JFAP could not obtain thread from thread pool <null>.
[1/31/09 0:52:39:788 AST] 000036b6 WorkQueueMana W   TCPC0005W: TCP Channel SIB_TCP_JFAP could not obtain thread from thread pool <null>.
[1/31/09 0:58:04:781 AST] 0000512e SystemOut     O DefaultValidationEventHandler: [ERROR]: Unexpected element {}:DOCUMENT_NUMBER
     Location:
[1/31/09 0:59:55:649 AST] 00005225 SibMessage    E   [:] CWSIC2023E: A communication error occurred when sending to or receiving from a remote client: exception com.ibm.wsspi.sib.core.exception.SIConnectionDroppedException: CWSIJ0044E: An operation was attempted on a connection that is already closed..
[1/31/09 0:59:55:656 AST] 00005234 SibMessage    E   [:] CWSIC2023E: A communication error occurred when sending to or receiving from a remote client: exception com.ibm.wsspi.sib.core.exception.SIConnectionDroppedException: CWSIJ0044E: An operation was attempted on a connection that is already closed..
[1/31/09 0:59:55:830 AST] 00005233 SibMessage    E   [:] CWSIC2023E: A communication error occurred when sending to or receiving from a remote client: exception com.ibm.wsspi.sib.core.exception.SIConnectionDroppedException: CWSIJ0044E: An operation was attempted on a connection that is already closed..
[1/31/09 0:59:55:829 AST] 00005227 SibMessage    E   [:] CWSIC2021E: A communication error occurred when sending to or receiving from a remote client: exception com.ibm.wsspi.sib.core.exception.SIConnectionDroppedException: CWSIJ0044E: An operation was attempted on a connection that is already closed..
[1/31/09 1:02:40:017 AST] 000036b6 WorkQueueMana W   TCPC0005W: TCP Channel SIB_TCP_JFAP could not obtain thread from thread pool <null>.
[1/31/09 1:02:40:164 AST] 000000e9 WorkQueueMana W   TCPC0005W: TCP Channel SIB_TCP_JFAP could not obtain thread from thread pool <null>.
[1/31/09 1:02:42:818 AST] 0000368a ThreadMonitor W   WSVR0605W: Thread "HAManager.thread.pool : 1" (0000002b) has been active for 692865 milliseconds and may be hung.  There is/are 2 thread(s) in total in the server that may be hung.
[1/31/09 1:02:44:614 AST] 0000368a ThreadMonitor W   WSVR0605W: Thread "WebContainer : 6957" (00005115) has been active for 723163 milliseconds and may be hung.  There is/are 3 thread(s) in total in the server that may be hung.
[1/31/09 1:02:44:933 AST] 0000368a ThreadMonitor W   WSVR0605W: Thread "WebContainer : 6978" (0000519e) has been active for 736477 milliseconds and may be hung.  There is/are 4 thread(s) in total in the server that may be hung.
[1/31/09 1:04:26:546 AST] 0000167c CoordinatorCo W   HMGR0152W: CPU Starvation detected. Current thread scheduling delay is 84 seconds.
[1/31/09 1:04:26:834 AST] 00005265 ApplicationMo W   DCSV0004W: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Did not receive adequate CPU time slice. Last known CPU usage time at 01:01:23:231 AST. Inactivity duration was 183 seconds.
[1/31/09 1:04:30:386 AST] 0000001f MbuRmmAdapter W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_PG_PROD_1\nodeagent. DCS logical channel is View|Gossip.
[1/31/09 1:04:33:818 AST] 0000001f MbuRmmAdapter W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_2\nodeagent. DCS logical channel is View|Gossip.
[1/31/09 1:04:35:285 AST] 00005268 ApplicationMo W   DCSV0004W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Did not receive adequate CPU time slice. Last known CPU usage time at 01:01:35:047 AST. Inactivity duration was 180 seconds.
[1/31/09 1:04:36:318 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_PG_PROD_1\AS_PG_PROD_1. DCS logical channel is View|Ptp.
[1/31/09 1:04:37:188 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ DM_Prod_1\dmgr. DCS logical channel is View|Ptp.
[1/31/09 1:04:37:383 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ST_Prod_1\AS_ST_Prod_1. DCS logical channel is View|Ptp.
[1/31/09 1:04:37:779 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ST_Prod_1\nodeagent. DCS logical channel is View|Ptp.
[1/31/09 1:04:38:171 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_PG_PROD_2\nodeagent. DCS logical channel is View|Ptp.
[1/31/09 1:04:38:342 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_1\nodeagent. DCS logical channel is View|Ptp.
[1/31/09 1:04:38:720 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ST_Prod_2\AS_ST_Prod_2. DCS logical channel is View|Ptp.
[1/31/09 1:04:39:617 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_PG_PROD_2\AS_PG_PROD_2. DCS logical channel is View|Ptp.
[1/31/09 1:04:39:757 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ST_Prod_2\nodeagent. DCS logical channel is View|Ptp.
[1/31/09 1:04:39:983 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is View|Ptp.
[1/31/09 1:04:40:126 AST] 0000001f DiscoveryRmmP W   DCSV1111W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is Connected|Ptp.
[1/31/09 1:04:40:931 AST] 0000001f RmmPtpGroup   W   DCSV1111W: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is View|Ptp.
[1/31/09 1:04:41:276 AST] 0000001f DiscoveryRmmP W   DCSV1111W: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection from the other member was closed. Suspected members is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is Connected|Ptp.
[1/31/09 1:04:41:653 AST] 0000001f DiscoveryRmmP W   DCSV1113W: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection to the other member was closed. Suspected member is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is Connected|Ptp.
[1/31/09 1:04:41:788 AST] 0000001f DiscoveryRmmP W   DCSV1113W: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Suspected another member because the outgoing connection to the other member was closed. Suspected member is Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2. DCS logical channel is Connected|Ptp.
[1/31/09 1:04:42:535 AST] 00000017 RoleViewLeade I   DCSV8053I: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: View change in process. Excluded members are [Cell_ _Prod_1\Node_ _PROD_1\nodeagent Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2 Cell_ _Prod_1\Node_ _PROD_2\nodeagent Cell_ _Prod_1\Node_PG_PROD_1\AS_PG_PROD_1 Cell_ _Prod_1\Node_PG_PROD_1\nodeagent Cell_ _Prod_1\Node_PG_PROD_2\AS_PG_PROD_2 Cell_ _Prod_1\Node_PG_PROD_2\nodeagent Cell_ _Prod_1\Node_ DM_Prod_1\dmgr Cell_ _Prod_1\Node_ST_Prod_1\AS_ST_Prod_1 Cell_ _Prod_1\Node_ST_Prod_1\nodeagent Cell_ _Prod_1\Node_ST_Prod_2\AS_ST_Prod_2 Cell_ _Prod_1\Node_ST_Prod_2\nodeagent].
[1/31/09 1:04:42:537 AST] 0000002a RoleViewLeade I   DCSV8053I: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: View change in process. Excluded members are [Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2].
[1/31/09 1:04:43:309 AST] 0000001f MbuRmmAdapter I   DCSV1032I: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Connected a defined member Cell_ _Prod_1\Node_ _PROD_2\AS_ _PROD_2.
[1/31/09 1:04:44:565 AST] 0000001f VSync         I   DCSV2004I: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: The synchronization procedure completed successfully. The View Identifier is (803:0.Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1). The internal details are [0 0 0 0 0 0 0 0 0 0 0 0 0].
[1/31/09 1:04:44:715 AST] 0000001f VSync         I   DCSV2004I: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: The synchronization procedure completed successfully. The View Identifier is (21:0.Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1). The internal details are [0 0].
[1/31/09 1:04:45:007 AST] 00000017 ViewReceiver  I   DCSV1033I: DCS Stack DefaultCoreGroup at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Confirmed all new view members in view identifier (804:0.Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1). View channel type is View|Ptp.
[1/31/09 1:04:45:226 AST] 0000002a ViewReceiver  I   DCSV1033I: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: Confirmed all new view members in view identifier (22:0.Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1). View channel type is View|Ptp.
[1/31/09 1:04:45:770 AST] 0000002a DataStackMemb I   DCSV8050I: DCS Stack DefaultCoreGroup.Cluster_ _Prod_1 at Member Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1: New view installed, identifier (22:0.Cell_ _Prod_1\Node_ _PROD_1\AS_ _PROD_1), view size is 1 (AV=1, CD=1, CN=1, DF=2)
[1/31/09 1:04:47:225 AST] 000051de DRSGroup      I   CWWDR0010E: Replication instance HttpSessionCache caught exception when sending/receiving messages : com.ibm.wsspi.hamanager.datastack.DataStackMembershipChangingException: The target member is not currently in view.
        at com.ibm.ws.hamanager.datastack.DataStackImpl.sendMessage(DataStackImpl.java(Compiled Code))
        at com.ibm.ws.hamanager.agent.AgentClassImpl.sendMuxedMessage(AgentClassImpl.java(Inlined Compiled Code))
        at com.ibm.ws.hamanager.agent.AgentImpl.sendMessage(AgentImpl.java(Compiled Code))
        at com.ibm.ws.drs.model.DRSGroup.send(DRSGroup.java(Compiled Code))
        at com.ibm.ws.drs.model.DRSGroup.send(DRSGroup.java(Compiled Code))
        at com.ibm.ws.drs.stack.DRSAsyncSend.processSendMessage(DRSAsyncSend.java(Compiled Code))
        at com.ibm.ws.drs.stack.DRSStack.processSendMessage(DRSStack.java(Compiled Code))

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-02-01 at 01:50:50ID24102496
Tags

WebSphere 6.0.2.31

Topics

IBM Websphere Application Server

,

IBM AIX Unix

,

WebSphere Studio

Participating Experts
3
Points
250
Comments
18

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. weblogic   Vs   websphere
    what is the difference between weblogic and websphere?
  2. Websphere CPU binding
    My problem is the following: I have two E10000 domains of four CPUs. My websphere license covers 4 cpus. I want to load balance between 2 Cpus of each node (that have 4 cpus). How can I limit Websphere to use 2 cpus only on each node ? Is there any websphere parameters to do ...
  3. CPU 100% at around 5pm everyday
    Hi all, I have been using my work laptop for 3 years and only in the last couple of days the CPU usage goes to 100% everyday at around 5pm. I use Eset NOD32 and performs full scans every other day without finding any issues. It would appear that I have a trojan horse of so...
  4. WebSphere Clustering
    Actually I have given a task to do the Websphere high availability. To do that i have to go for WebSphere clustering. How can I go ahead and do the clustering Please let me know the steps. And also let me know if any opensource Web application Server can i use to do the clust...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: gheistPosted on 2009-02-01 at 22:09:42ID: 23524668

-Xms1024m -Xmx1024m
and wait for limit to be hit.

 

by: dipinciPosted on 2009-02-02 at 00:54:45ID: 23525221

Actually What you are trying to achive  by this.
JVM was configured earlier with  1GB heap size, due to heapump I have increased.

 

by: gheistPosted on 2009-02-02 at 01:58:31ID: 23525491

http://www-01.ibm.com/support/docview.wss?uid=swg21236327

I'd add that you have to fit JVM in available physical memory by limiting heap, adding ram, and if it fits into RAM then pinning it to physical memory or at least preventing aging. Mak sure you "bindprocessor" JVM threads based on accumulated CPU use to later processors than cpu0 partition 0 which is most loaded by hw interrupts.
You can follow network serving threads using LSOF and bind them to non-virtual CPUs so that HW irqs come in first.

vmtune -fF can be set to 1024 1280 to prevent starvation from paging.
smitty wlm is of help too - guarantee 10% to system of every resource and 10% to other apps like oracle, user sessions, backup sessions, database, app server etc.
This way you can run system that pages out routinely this way, but error clearly indicates that you need more ram.

Here you can compact better server's ram:
http://download.boulder.ibm.com/ibmdl/pub/software/dw/jdk/diagnosis/GCandMemory-042005.pdf
Thruput gives feeling of better interactive response
You should examine JDBC drivers for nodelay/nagle options or disable nagle's using "no" command - that does magic with DB interactive performance.

 

by: HonorGodPosted on 2009-02-04 at 17:46:52ID: 23555740

I've read, and re-read your "question".  Unfortunately, I have yet to find a question in it.  What do you hope to achieve?

 

by: gheistPosted on 2009-02-05 at 00:46:19ID: 23557501

I assume asker wants to understand cause of error message and try to get rid of it. He even posted illustrative log to assist.

 

by: dipinciPosted on 2009-02-05 at 03:44:29ID: 23558322

Hello,

I would like to find out why the error message is coming in the SystemOut.log and from the server monitoring team I happend to find that during the error message the Memory utilization was almost 95-99% which leads to the error in the SystemOut.log and during this time heavy paging is occuring.

After sometime the memory utilization is coming down to 76%. Only one Cluster member and node agent is running. We are trying to find out what actually casusing this problem since it is mission critical application running on this. If any outage to this application leads to Big Problems.

 

by: gheistPosted on 2009-02-05 at 04:17:24ID: 23558546

You really should disable nagle's algorithm and enable thruput gc.
After that you can be confident that e.g memory leak occured in right that moment you get log record and not 10min ago.

 

by: HonorGodPosted on 2009-02-05 at 05:10:50ID: 23558884

The article referenced by gheist in
http://www.experts-exchange.com/Q_24102496.html#a23557501
(i.e., http://www.IBM.com/support/docview.wss?rs=180&uid=swg21236327) is quite good.

The fact that you are seeing these messages at a particular time of day leads me to ask:

What "background jobs" are started during this window of time (11pm - 2am)?
Do you have some kind of virus scan, or backup, or update that occurs during this time every day?

What you may need to do is to run some checks to see what else is consuming resources on this system at that time.  I'm guessing that the Operating System in use is AIX, since you included that in one of your Zones.
So, I would expect that using vmstat at regular intervals during this time might give you a better idea of what processes are consuming significant portions of the CPU, and possibly memory.

You may also want to use something like lsof to figure out what things are in memory, and what libraries are being used.

Some tools exist on the alphaworks website (http://www.alphaworks.ibm.com/) that can prove quite useful in understanding what is actually happening in an WebSphere environment.
For example:
- Heap Analyzer
  http://www.alphaworks.ibm.com/tech/heapanalyzer
- Thread Dump Analyzer
  http://www.alphaworks.ibm.com/tech/jca

It sounds like your Application Server is competing with something else for scare system resources...

 

by: gheistPosted on 2009-02-05 at 07:39:25ID: 23560339

... and there WLM comes to help to guarantee app server its fair share of resources....

 

by: dipinciPosted on 2009-02-06 at 00:09:35ID: 23567674

Tried to verify the other process on the System and not find any scheduled job and other process.
There are some robos running in midnight. Other than that There is no activities.
The harware is pSeries with 6GB of Memory, is this memory is sufficient? This application was running for last 3 years with the same h/w resources.

 

by: gheistPosted on 2009-02-06 at 00:21:36ID: 23567762

Given error message you have current amount of memory is not sufficient.
You should enable porcess accounting (ask redbooks) to be sure nothing else is running.

I will repeat again and again until you get it:
1) Enable thruput GC
2) disable Nagle's using "no" command
3) Employ WLM and guarantee 10% of CPU to system and 10% to websphere 10% to database 1% to non-root users.
4) Tune memory allocation using MALLOC_TYPE and MALLOC FLAGS, and vmtune

I have explained reasons why you should do so. What is the problem you cannot fix _your_ system?

 

by: HonorGodPosted on 2009-02-06 at 03:39:53ID: 23568766

How did you "verify" that other processes aren't running?
I would suggest that you have a cron job start at script just before the normal outage time (? 10:55pm), and have it run vmstats every two minutes for the duration of the normal time (? 2am?).  Have the output written to a file, and see what is actually occurring on the system during those times.

 

by: dipinciPosted on 2009-02-08 at 01:33:43ID: 23582789

Already Enabled Garbage Collection on the JVM  and analysed the output using the IBM Garbage Analyser.  Also caputred some memory output and details got from the monitoring team. Attached the output.
I will try to enable the vmstat and get the out.

Below are the Output from GC Analysis
Memory Output
*********************







Report from Garbage Collector.
*************************************
Summary
Allocation failure count 8767
Concurrent collection count 0
Forced collection count 0
Full collections 0
GC Mode optthruput
Largest memory request (bytes) 3116400
Mean garbage collection pause (ms) 401
Mean heap unusable due to fragmentation (MB) 8.37
Mean interval between collections (minutes) 0.27
Number of collections 8767
Proportion of time spent in garbage collection pauses (%) 2.49
Proportion of time spent unpaused (%) 97.5
Rate of garbage collection 967.96 MB/minutes

Used heap (after collection)
Mean Minimum Maximum Total
heap (MB) heap (MB) heap (MB) heap (MB)
225 74.0 279 1974943

Tuning recommendation
At one point 3257 objects were queued for finalization. Using finalizers is not recommended as it can slow garbage collection and cause wasted space in the heap. Consider reviewing your application for occurrences of the finalize() method.

The application seems to be using some quite large objects. The largest request which triggered an allocation failure (and was recorded in the verbose gc log) was for 3116400 bytes.

The garbage collector tried to allocate from the large object area and failed 181 times. Consider setting or increasing -Xloratio. You may need to also increase the heap size with -mx. Be cautious of increasing -Xloratio to anything greater than 0.2.

The memory usage of the application does not indicate any obvious leaks.

 

by: gheistPosted on 2009-02-08 at 13:06:51ID: 23585656

-Xloratio=0.2 as they say.
Garbage collector is always enabled.
.4s in gc pause is situation that thruput gc is intended to solve.
As you see your -Xmx is at least 3MB short. You should see OOM in some log.

 

by: dipinciPosted on 2009-02-10 at 02:15:24ID: 31541443

The problem was not identified and no changes to the system, but now no memory or cpu starvation msg is appreaing in the logs. Thanks for the valuable suggestions and recommedation

 

by: gheistPosted on 2009-02-10 at 02:55:30ID: 23599059

Then it is memory leak. I'd sugeest restarting weekly or something like that.
IBM's tuning recommendations are worth looking at.
Cause is determined - jvm gets paged out. Read up there for tips how to avoid that.

 

by: wasadmin11Posted on 2009-06-16 at 16:56:53ID: 24643718

I am getting same issue on my system..WebSphere 6 on Solaris 10. Can someone recommend what is the solutuon for this issue.

Thanks in Advance

 

by: gheistPosted on 2009-06-17 at 09:00:45ID: 24649687

Reduce memory consumption of running applications. For exact Solaris tips post in Solaris zone, not AIX one.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...