home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14114 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.5 KB

  1. Path: sparky!uunet!europa.asd.contel.com!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!mcsun!uknet!pyrltd!trevan!trevor
  2. From: trevor@trevan.uucp
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: errno=11 (EAGAIN) from poll; what reasons?
  5. Message-ID: <1992Sep06.123456.18982@trevan.uucp>
  6. Date: 6 Sep 92 12:34:56 GMT
  7. References: <1992Sep4.231740.22022@grebyn.com>
  8. Organization: Trevan
  9. Lines: 42
  10.  
  11. richk@grebyn.com (Richard Krehbiel) writes:
  12.  
  13.  
  14. >A couple of programs we're developing commonly receive errno 11
  15. >returns from poll().  The documentation says some system resource is
  16. >exhausted, and try again.  The code simply loops on the poll and all's
  17. >well, eventually.  But it has me wondering.  What is it that's being
  18. >exhausted?  Is it tunable, can I increase it?  Should I worry?  Oh,
  19. >we're running Interactive 2.2 and 3.0.  Thanks.
  20. >-- 
  21.  
  22. I am getting errno=11 when opening a streams device on Consensys System V
  23. release 4. We are using Specialix SI serial ports with their SLXOS streams
  24. driver version 5.01. Our major problem is using this with ttymon. If a
  25. user clears the line without loging out properly the serial port sometimes
  26. gets locked. This can be cleared by disabling and reenabling the port. The
  27. slxos log shows the following.
  28.  
  29. Mon Aug 10 11:03:15 1992; 7950; Starting service (/usr/bin/login) on
  30. /dev/term/A2
  31. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  32. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  33. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  34. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  35. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  36. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  37. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  38. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  39. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  40. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  41. Mon Aug 10 11:09:11 1992; 511; open (/dev/term/A2) failed, errno = 11
  42. Mon Aug 10 11:09:11 1992; 511; service <A2> is respawning too rapidly
  43.  
  44. It seems ttymon does retry but too quickly.
  45. I have also seen this when trying to open a device with Kermit.
  46. So can anyone give us a clue as to what resource needs increasing.
  47. as to what failing. 
  48. -- 
  49.                 regards trevor
  50. ------------------------------------------------------------------------------
  51. Trevor Harris                UUCP: trevor@trevan.uucp
  52. Trevan Designs Limited
  53.