home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11768 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
  2. From: konopik@konopik.austin.ibm.com (Brad Konopik)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Question: What happens when a Terminal is powered-down?
  5. Keywords: aix sigterm runaway pseudoterminals dynix UniVerse powerdown
  6. Message-ID: <1992Nov19.174614.20323@awdprime.austin.ibm.com>
  7. Date: 19 Nov 92 17:46:14 GMT
  8. References: <319@westmx.westmont.edu>
  9. Sender: news@awdprime.austin.ibm.com (USENET News)
  10. Organization: IBM AIX Porting Center, Austin
  11. Lines: 43
  12.  
  13. In article <319@westmx.westmont.edu> rodkey@westmont.EDU (John Rodkey) writes:
  14. >
  15. >I have this setup:  RS/6000 mod 530, AIX 3.1.6, UniVerse 5.4, DYNIX v. 1??
  16. >Access to the RS/6000 from terminals is through Emulex and Lantronix 
  17. >Network terminal servers.  This problem occurs on both, so I have made
  18. >the assumption that the NTSs are not the weak link.
  19. >
  20. >The terminals (wyse 50's, PCs w/ emulation, etc.) are accessing the
  21. >RS/6000 in order to run the Library public access catalog, which is one
  22. >of the options in a ksh menu program.
  23. >DYNIX, the catalog program,  is using the UniVerse implementation of
  24. >Pick, which is in turn layered over AIX.
  25. >
  26. >Here's the problem:  when the users are done with the public catalog,
  27. >they sometimes turn off the terminal, which creates a 'cpu-hog' on our
  28. >system iff the user was using DYNIX at the time the plug was pulled.
  29. >
  30. >By CPU hog, I mean that its number of cpu clicks on ps -ef, C column is
  31. >between 20 and 120 (normally a cpu-intensive process shows about 12
  32. >clicks - but if there are 20 hogs, each may have only 9, for example).
  33. >
  34. >Clearly I need to get to the bottom of this problem.  Killing processes
  35. >is repetitive, timewasting, etc.  
  36. >
  37. >SO!  The question is:  what signals are issued to processes associated
  38. >with a pty when the terminal powers down?  How does one handle those
  39. >signals to avoid the problem described? How does ksh handle these differently
  40. >than sh?
  41. >
  42.  
  43. Rather than answer your question directly, I'll just tell you that Austin
  44. Defect Support's tty guy made a recent change in how orphaned processes
  45. are handled, to eliminate alot of the CPU hog stuff.  Looking at the 
  46. problem tracking information, I see that this fix is not yet built for
  47. AIX 3.1 (so it's going to be a long time before you see it).  If you 
  48. move to AIX 3.2, you'll want to ask for PTF U406391 (for APAR ix23574).
  49. Abstract: PROCESSES NOT KILLED WHEN SHELL, TELNET, TN, RLOGIN DIES.
  50.  
  51. -- 
  52.   tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
  53.  ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
  54. internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
  55.    uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
  56.