From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Uwe Lienig Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: XP1000, V5.1 at 100% system time Date: Thu, 26 Feb 2004 09:57:43 +0100 Organization: Forschungsinstitut Fahrzeugtechnik -FiF- Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <403DB507.3000407@fif.mw.htw-dresden.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1077785926 25015 80.91.224.253 (26 Feb 2004 08:58:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2004 08:58:46 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Feb 26 09:58:38 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AwHLq-0007tY-00 for ; Thu, 26 Feb 2004 09:58:38 +0100 Original-Received: (qmail 10750 invoked by uid 5); 26 Feb 2004 08:58:21 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10734 invoked by uid 49493); 26 Feb 2004 08:58:21 -0000 Original-Received: from Uwe.Lienig@fif.mw.htw-dresden.de by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 19.174947 secs); 26 Feb 2004 08:58:21 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 26 Feb 2004 08:58:01 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTO00BKXOWO5K@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Feb 2004 03:58:01 -0500 (EST) Original-Received: from mfifmail.fif.mw.htw-dresden.de (mfifmail.fif.mw.htw-dresden.de [141.56.22.51]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTO00KD1OWJ2S@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Feb 2004 03:57:56 -0500 (EST) Original-Received: from fif.mw.htw-dresden.de (maoii.fif.mw.htw-dresden.de [141.56.22.41]) by mfifmail.fif.mw.htw-dresden.de (8.9.3/8.9.3) with ESMTP id JAA26661 for ; Thu, 26 Feb 2004 09:57:43 +0100 Original-To: Tru64 UNIX X-Accept-Language: de, en User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.4) Gecko/20030903 Xref: main.gmane.org gmane.os.tru64.managers:6513 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6513 Greetings to all managers, this list has proved its reliability again. Thanks to all who responded, namely J Bacher, Alan Rollow and Dr. Blinn. Problem ------- The system in question ran at 100% system time, chewing up the whole CPU and releasing only a little amount of CPU time to ordinary user programs. Using vmstat the output showed a high context switch rate (at about 300k/s) whereas the interrupt rate stayed low (at about 50-80/s). The vmstat output showed the mystery, where only on user process (a simulation prog with a high CPU demand) was running. But this process got only 25% of the CPU. The rest (75%) was spent in system. > vmstat 1 Virtual Memory Statistics: (pagesize = 8192) procs memory pages intr cpu r w u act free wire fault cow zero react pin pout in sy cs us sy id 3 157 28 228K 11K 15K 4 16 18 0 28 0 15 82 242K 24 76 0 3 157 28 228K 11K 15K 0 0 0 0 0 0 12 45 233K 26 74 0 3 157 28 228K 11K 15K 0 0 0 0 0 0 15 53 240K 24 76 0 3 157 28 228K 11K 15K 0 0 0 0 0 0 15 42 218K 31 69 0 Answers ------- Alan pointed out that the WEBES director sometimes causes a high workload. Since this system has no WEBES installed that couldn't be the case. Dr. Tom asked me to use truss to look at the processes system calls if there might be one process not clearly seen, that is doing a lot of system calls. I used a script to check all running processes with truss. truss was instructed to output a summary. But this as well named no guilty process. Dr. Tom then as well was out of thoughts, what might impose such a high system workload to the CPU. Resolution ---------- Since this problem ran out of answers it couldn't be cured in a correct manner (means killing the guilty process or having touched an unknown but reproducable kernel bug). The reason for having such a high cs rate while the sys calls don't correspond to this remains hidden. Since I hadn't logged off for about a month I first wanted to exit the CDE session. This didn't work either - CDE didn't want to let me log off. I su'ed to root and killed the Xserver. I got logged off but the high cs rate remained the same. Interestingly there were a lot of defunct processes after killing the Xserver. I got the login CDE screen again. Since the very problem didn't go away I rebooted the system what returned the system to normal operation. Since there is no test case available to bring the system into this state the problem belongs to mysteries now and then seen on this list. Tanks again to all -- Uwe Lienig | fon: (+49 351) 462 2780 | mailto:uwe.lienig@fif.mw.htw-dresden.de | fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01 -FiF- | 01069 Dresden | 01008 Dresden