From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Cohen, Andy" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: ps hangs Date: Mon, 23 Feb 2004 13:15:20 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <9D592DB37A92234AB635C5585D2D08196AAD63@cobra.pc.cognex.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1077560161 2518 80.91.224.253 (23 Feb 2004 18:16:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2004 18:16:01 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Feb 23 19:15:52 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 1AvKcR-0002iB-00 for ; Mon, 23 Feb 2004 19:15:52 +0100 Original-Received: (qmail 15434 invoked by uid 5); 23 Feb 2004 18:15:45 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15419 invoked by uid 49493); 23 Feb 2004 18:15:45 -0000 Original-Received: from Andy.Cohen@cognex.com 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 1.001423 secs); 23 Feb 2004 18:15:45 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 23 Feb 2004 18:15:44 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTJ00BVZUQ6L1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Feb 2004 13:15:43 -0500 (EST) Original-Received: from cognex.cognex.com (cognex-cp.cognex.com [198.232.30.75]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTJ00HIAUPNMM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Feb 2004 13:15:24 -0500 (EST) Original-Received: from atlantis.pc.cognex.com (atlantis.pc.cognex.com [10.10.160.5]) by cognex.cognex.com (8.12.10/8.12.10) with ESMTP id i1NIFMlD027588 for ; Mon, 23 Feb 2004 13:15:22 -0500 (EST) Original-Received: from cobra.pc.cognex.com ([10.10.160.30]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 23 Feb 2004 13:15:22 -0500 Original-Received: from atlantis.pc.cognex.com ([10.10.160.5]) by cobra.pc.cognex.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 09 Feb 2004 13:15:21 -0500 Original-Received: from mail-gw.cognex.com ([10.10.128.26]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 09 Feb 2004 13:15:20 -0500 Original-Received: from sws1.ornl.gov (sws1.ornl.gov [160.91.1.101]) by mail-gw.cognex.com (8.12.10/8.12.10) with SMTP id i19IFE85017458 for ; Mon, 09 Feb 2004 13:15:16 -0500 (EST) Original-Received: (qmail 2389 invoked by uid 5); Mon, 09 Feb 2004 18:14:57 +0000 Original-To: "Tru64-Unix-Managers \(E-mail\)" X-MIMEOLE: Produced By Microsoft Exchange V6.0.6334.0 Thread-Topic: ps hangs Thread-Index: AcPvOImJcGVZRpoBTjCsR/lBD7nmPg== content-class: urn:content-classes:message X-Scanned-By: CanIt (www . canit . ca) X-Spam-Score: () 0 X-CanItPRO-Stream: acohen X-Bayes-Prob: 0.5 X-Canit-Stats-ID: 564398 - 8b7d677ffe22 X-MS-Has-Attach: X-MS-TNEF-Correlator: Original-Followup-to: poster X-OriginalArrivalTime: 09 Feb 2004 18:14:21.0929 (UTC) FILETIME=[8A9D7D90:01C3EF38] Xref: main.gmane.org gmane.os.tru64.managers:6499 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6499 SUMMARY =3D=3D=3D=3D=3D=3D=3D Turns out it was due to a known bug. I did receive alot of very = informative replies about how memory works and the like much of which = was over my head but interesting none-the-less. The gist of the problem is that the hung process will stay hung forever = (until the system is rebooted). The latest patchkit (#6 for 5.1A) fixed = the problem. This email from Whitney Latta says it all: The processes are waiting for a lock on an anonymous memory object... = and will wait forever for "something" to unset the lbit. The problem is, = this may never happen! As luck would have it, this issue has been seen and resolved in = patchkits for V5.1A... kit#5 and higher (which is why I recommended the = patchkit loaded be included in the message). If you already have = patchkit#5/6 installed, then this may be a new variation of this issue, = and will need to be brought to the attention of HP Services and Tru64 = Unix engineering.=20 Here is the description of the fix (note, a further symptom of this = problem is that panics could also occur under certain circumstances). = This patch will fix the hanging "ps", as well.=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PROBLEM: (94036) (PATCH ID: OSF520-861) ******** When running in lockmode 0 (which is normal for uniprocessor machines), = the=20 locking package ended up patching out the wrong routine. This led to a_lock related panics. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Note the problem occurs when running in "lockmode 0", which is the = nominal lock state for uniprocessor systems, like this as800. The = "lockmode" parameter, set in the "generic:" stanza of sysconfigtab, sets = up the SMP locking package on the system... and, at boottime, patches = out the lock routines based on this setting. (lockmode=3D2 is standard = SMP locking for multiprocessor systems). Unfortunately, this will do nothing for the current problem of hanging = commands, but will eliminate exposure to it in the future. So, to = address the current issue, a reboot will be necessary (the anon_lock = will never complete on its own!). If the patchkit is not current, then I recommend installing the latest = patchkit available online (pk#6 for V5.1A). Thanks everybody! Andy ORIGINAL QUESTION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi, When we're logged in as root and issue a 'ps' nothing happens - it just = hangs. I can't kill them -- they won't die. We're running 5.1A on an = AS 800. Have I exhausted some process limit? Thanks, Andy p.s. -- I don't see anything in /var/adm/messages or uerf. =20 BEGIN-CANIT-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 564398) is spam: Spam: = http://mail-gw.cognex.com/canit/b.php?c=3Ds&i=3D564398&m=3D8b7d677ffe22 Not spam: = http://mail-gw.cognex.com/canit/b.php?c=3Dn&i=3D564398&m=3D8b7d677ffe22 Forget vote: = http://mail-gw.cognex.com/canit/b.php?c=3Df&i=3D564398&m=3D8b7d677ffe22 ------------------------------------------------------ END-CANIT-VOTING-LINKS