home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / sysv386 / 13394 < prev    next >
Encoding:
Text File  |  1992-08-20  |  869 b   |  34 lines

  1. Path: sparky!uunet!kithrup!stanford.edu!ames!network.ucsd.edu!news!nic.cerf.net!wegrzyn
  2. From: wegrzyn@nic.cerf.net (Chuck Wegrzyn)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Problem with ESIX 5.4 and maybe SysV.4 Sockets
  5. Message-ID: <2556@news.cerf.net>
  6. Date: 20 Aug 92 21:29:58 GMT
  7. Sender: news@news.cerf.net
  8. Organization: CERFnet
  9. Lines: 22
  10. Nntp-Posting-Host: nic.cerf.net
  11.  
  12. Here is my test program that "blows" Esix System V.4 out of the
  13. water. What I want to know is if everyone is having the same
  14. problem? 
  15.  
  16. main()
  17.  {
  18.      while(1)
  19.         {
  20.             int s = socket(AF_INET,SOCK_DGRAM,0);
  21.             close(s);
  22.         }
  23.  }
  24.  
  25. Yes, I know the program doesn't do much. What I observe is that if you
  26. run ps -l, you will notice the "swap" size field (SZ) increasing 
  27. forever. When you run out of swap space things don't work so well.
  28.  
  29. Has anyone seen this problem before?
  30.  
  31. Chuck Wegrzyn
  32. wegrzyn@cerf.net
  33.  
  34.