From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Adametz, Bluejay" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Troubleshooting high system CPU time Date: Fri, 21 Feb 2003 07:43:34 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200302211248.h1LCm0V23655@gate.fujigreenwood.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1045831456 5454 80.91.224.249 (21 Feb 2003 12:44:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2003 12:44:16 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18mCXG-0001Ph-00 for ; Fri, 21 Feb 2003 13:44:14 +0100 Original-Received: (qmail 24423 invoked by uid 5); 21 Feb 2003 12:44:11 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24414 invoked by uid 49493); 21 Feb 2003 12:44:11 -0000 Original-Received: from bluejay@fujigreenwood.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-4.7/5.0):. Processed in 0.370437 secs); 21 Feb 2003 12:44:11 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 Feb 2003 12:44:11 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAN009TSSPJBR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Feb 2003 07:44:10 -0500 (EST) Original-Received: from gate.fujigreenwood.com ([204.238.252.2]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAN00GFESPEPK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Feb 2003 07:44:03 -0500 (EST) Original-Received: from gate.fujigreenwood.com (root@localhost) by gate.fujigreenwood.com with ESMTP id h1LCmKg23660 for ; Fri, 21 Feb 2003 07:48:20 -0500 (EST) Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) X-H-S-Loop-Check-Ejzfr: Xref: main.gmane.org gmane.os.tru64.managers:3402 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3402 The question was: > Last Saturday a supposedly minor change was made to an application (custom > built plus an Oracle database) running on a DS10. Concurrently with that > change, the system CPU time shot up alarmingly. Clearly they changed > _something_ in the application that caused this, but, trying to be helpful > and also cover the OS end of things, is there any way to troubleshoot what's > causing this? Aside from killing processes and seeing when it stops? As luck would have it, the app folks figured out what happened. They added support for some new cranes, which required more semaphores than before, and sem_ume was too low. Apparently their code's response to an error is to loop. sheesh; what's that remark about programmers, civilization and woodpeckers? ANYway, Bryan Williams, Thomas Sjolshagen, and Tom Smith all suggested using DCPI, and Tim Cutts suggested using trace or truss, to track down this sort of thing, and I'll look into those tools for next time. Thanks all. - Bluejay Adametz Do not meddle in the affairs of dragons, because you are crunchy and taste good with ketchup.