HP3000-L Archives

November 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jon Diercks <[log in to unmask]>
Reply To:
Jon Diercks <[log in to unmask]>
Date:
Tue, 18 Nov 1997 10:24:21 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
Results of your suggestion:

DEBUG/iX C.05.08

HPDEBUG Intrinsic at: a.00a45698 hxdebug+$e4
$1 ($1d1) nmdebug > pin #158
$2 ($9e) nmdebug > tr
     PC=a.0017470c enable_int+$2c
* 0) SP=41846ef0 RP=a.002a8a0c notify_dispatcher.block_current_process+$31c
  1) SP=41846ef0 RP=a.002aae88 notify_dispatcher+$264
  2) SP=41846e70 RP=a.001a4c20 wait_for_active_port+$ec
  3) SP=41846d70 RP=a.001a58a0 receive_from_port+$534
  4) SP=41846cf0 RP=a.00348efc extend_receive+$494
  5) SP=41846af0 RP=a.001bb2d0 proc_pause+$45c
  6) SP=41846970 RP=a.001bbccc PAUSE+$584
  7) SP=418467b0 RP=a.001bb714 ?PAUSE+$8
       export stub: ac1.0006ce54
  8) SP=418464f0 RP=ac1.00000000
     (end of NM stack)
$3 ($9e) nmdebug > lev 6;dv sp-#484,1,#
VIRT $4dd.4184678c #          -1


... so does that -1 spell trouble?  (i.e. does it mean PAUSE was called for
-1 milliseconds, equalling infinity for all practical purposes?)



At 10:16 AM 11/18/97 EST, Pete Crosby wrote:
>John,
>     Try this:
>
>1. Find the pin number of the process. SOS or the SHOWPROC command
>(use the ":JOB=" format) will give it to you.
>
>2. Go into DEBUG
>
>3. "PIN" to the process. At the nmdebug prompt enter "pin #xyz", where
>you substitute the pin number for "xyz" and be sure you enter the "#"
>to tell debug that the pin number is supplied in decimal.
>
>4. Trace the stack to be sure you have the correct process.
>
>5. Extract the variable passed to proc_pause, which is the pause
>value expressed in milliseconds. To do this, enter:
>
>nmdebug > lev 6;dv sp-#484,1,#
>
>This should give you the pause time in decimal, in milliseconds.
>
>If things are working as you have stated, then somebody is holding the
>lock way too long and you should use DBUTIL to find out who it is and
>then try to determine what that process is doing. Good luck.
>
>--
>                 --Pete Crosby  ([log in to unmask])

________________________________________________________
Jon Diercks * Systems Manager         Computing Services
[log in to unmask] (PGP available)     Anderson University
http://rowlf.csv.anderson.edu/        1100 East Fifth St
(765)641-4305 * FAX (765)641-3851     Anderson, IN 46012

ATOM RSS1 RSS2