HP3000-L Archives

August 2001, 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:
"HOFMEISTER,JAMES (HP-USA,ex1)" <[log in to unmask]>
Reply To:
HOFMEISTER,JAMES (HP-USA,ex1)
Date:
Sat, 18 Aug 2001 00:05:53 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (155 lines)
Hello Folks @ 3000-l,

Re: FTP Hang on MPE 7.0

----------------------------------------------Chris Schofield writes--
Hello everyone, We have a program that runs during the night (A400 MPE
7.0) attempts to FTP get a file from a MPE 6.0 HP3000.  For the last
three nights the process has just stopped.  The output file shows that
it is stopping at various points in the FTP script.  We had to abort
the job.  If I try the transfer manually, it works fine !  Any ideas ?
----------------------------------------------------------------------

It is difficult to understand this problem with our collecting data
which further describes it...  but with the following information you
may be able to further identify the problem and find your solution on
the HP-ITRC or you will have some of the additional information that
the HP Response Center may need to solve your problem.


1) Get a :NMMAINT,50 from both systems to identify which FTP version
   is running.

2) Add the FTP "debug" command to the FTP Client script to determine
   what commands are being send and received between the Client and
   Server at the point of the hang.  Note:  This FTP "debug" command
   is entered at the "FTP>" prompt.

:ftp
File Transfer Protocol [A0011B03] (C) Hewlett-Packard Co. 2000 [PASSIVE
SUPPORT]

ftp> debug
Debugging on (debug=1).  (FTPINFO 24)
ftp>


3) Get a debug stack trace of the hung ftp client process.

   a) Find the pin of the FTP.ARPA.SYS client with the :showproc
      command...

:showproc ;pin=1;system;tree
QPRI  CPUTIME   STATE  JOBNUM  PIN   (PROGRAM) STEP
...
C152  0:00.271  WAIT   S28             64    (FTP.ARPA.SYS) ector
...

   b) Run the FTP.ARPA.SYS program with the ;debug parameter and then
      pin to the hung FTP process.

:run ftp.arpa.sys;debug

DEBUG/iX C.39.06

DEBUG Intrinsic at: 23c.00037890 ?PROGRAM
$1 ($34) nmdebug > pin #64
$2 ($40) nmdebug > tr,d,i
       PC=a.0019b99c enable_int+$2c
NM* 0) SP=418556f0 RP=a.0078b56c
notify_dispatcher.block_current_process+$338
NM  1) SP=418556f0 RP=a.0078d3ac notify_dispatcher+$268
NM  2) SP=41855670 RP=a.00254c54 wait_for_active_port+$e8
NM  3) SP=41855570 RP=a.002558b8 receive_from_port+$544
NM  4) SP=418554f0 RP=a.00762a10 extend_receive+$494
NM  5) SP=418552f0 RP=a.0074da4c rendezvousio.get_specific+$14c
NM  6) SP=418551b0 RP=a.0074dd64 rendezvousio+$194
NM  7) SP=418550f0 RP=a.0074db9c ?rendezvousio+$8
         export stub: a.023c37c8 sm_term_vt.sm_read+$1a0
NM  8) SP=41854db0 RP=a.023c43e4 sm_term_vt+$38
NM  9) SP=41854c70 RP=a.023c4358 ?sm_term_vt+$8
         export stub: a.00775b9c tm_terminal.tm_read+$480
NM  a) SP=41854bf0 RP=a.00777e48 tm_terminal+$17c
NM  b) SP=41854a30 RP=a.0116c4b0 fread_nm+$95c
NM  c) SP=41854970 RP=a.013dc19c FREAD+$d4
NM  d) SP=41854530 RP=a.013dc094 ?FREAD+$8
         export stub: d2.001e5b90 P__TEXT_FILL+$80
NM  e) SP=41854430 RP=d2.001e54b8 P_READSTR+$13c
NM  f) SP=418543b0 RP=d2.001e5368 ?P_READSTR+$8
         export stub: 23c.000321f8 u_get_command+$b8
NM 10) SP=418542f0 RP=23c.00037f30 _start+$5a8
NM 11) SP=418541b0 RP=23c.00000000
     (end of NM stack)
$4 ($40) nmdebug > exit

File Transfer Protocol [A0011B03] (C) Hewlett-Packard Co. 2000 [PASSIVE
SUPPORT]

ftp> quit

END OF PROGRAM
:

4) Get a debug stack trace of the hung ftp server process.

   a) Find the pin of the FTPSRVR.ARPA.SYS server with the :showproc
      command...

:showproc ;pin=1;system;tree
QPRI  CPUTIME   STATE  JOBNUM  PIN   (PROGRAM) STEP
...
D202  0:00.490  WAIT   J2              58    (INETD.NET.SYS)
D202  0:00.273  WAIT   J2                61    (FTPSRVR.ARPA.SYS)
...

   b) Run the FTPSRVR.ARPA.SYS program with the ;debug parameter and then
      pin to the hung FTPSRVR process.

:run ftpsrvr.arpa.sys;debug

DEBUG/iX C.39.06

DEBUG Intrinsic at: f9.00036a80 ?PROGRAM
$1 ($41) nmdebug > pin #61
$2 ($3d) nmdebug > tr,d,i
       PC=a.0026999c enable_int+$2c
NM* 0) SP=41843680 RP=a.0085956c
notify_dispatcher.block_current_process+$338
NM  1) SP=41843680 RP=a.0085b3ac notify_dispatcher+$268
NM  2) SP=41843600 RP=a.00322c54 wait_for_active_port+$e8
NM  3) SP=41843500 RP=a.003238b8 receive_from_port+$544
NM  4) SP=41843480 RP=a.00831c10 selective_receive+$3f8
NM  5) SP=41843280 RP=a.00807a70 hpselect_nm+$254
NM  6) SP=41843140 RP=a.008077e8 ?hpselect_nm+$8
         export stub: a.004a7b98 HPSELECT+$1054
NM  7) SP=41842dc0 RP=a.004a6b30 ?HPSELECT+$8
         export stub: c1.00115fb4 select+$3b8
NM  8) SP=41842840 RP=c1.00113308 do_select+$134
NM  9) SP=41842640 RP=c1.001140a8 bsd_ipcrecv+$c0
NM  a) SP=418425c0 RP=c1.00113fd4 ?bsd_ipcrecv+$8
         export stub: f9.00021ce4 wrap_bsd_ipcrecv+$48
NM  b) SP=41842540 RP=f9.00023b7c s_post_comm_ipcrecv+$130
NM  c) SP=41842500 RP=f9.00035434 s_process_command_req+$18
NM  d) SP=41842280 RP=f9.00036a70 main+$94
NM  e) SP=41842200 RP=f9.00036c3c PROGRAM+$c4
NM  f) SP=41842080 RP=f9.00000000
     (end of NM stack)
$3 ($3d) nmdebug > exit

END OF PROGRAM
:

----------

I hope this helps.

Regards,

James Hofmeister
Hewlett Packard
Worldwide Technology Network Expert Center
P.S. My Ideals are my own, not necessarily my employers.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2