home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / protocol / nfs / 3090 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.9 KB

  1. Xref: sparky comp.protocols.nfs:3090 comp.sys.sun.apps:2953 comp.protocols.tcp-ip:5942
  2. Newsgroups: comp.protocols.nfs,comp.sys.sun.apps,comp.protocols.tcp-ip
  3. Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!lgc.com!lgc.com!danson
  4. From: danson@lgc.com (Doug Anson)
  5. Subject: Re: RPCGEN with inetd
  6. Message-ID: <1993Jan12.175305.25210@lgc.com>
  7. Sender: usenet@lgc.com
  8. Nntp-Posting-Host: voodoo.lgc.com
  9. Organization: LandMark Graphics Corporation LGC
  10. References:  <1iusmnINNa3g@usenet.INS.CWRU.Edu>
  11. Date: Tue, 12 Jan 1993 17:53:05 GMT
  12. Lines: 74
  13.  
  14. In article <1iusmnINNa3g@usenet.INS.CWRU.Edu>, edvax@pyrite.som.cwru.edu (Ed Reznichenko) writes:
  15. |> 
  16. |> The following is posted for a co-worker.  Email responses to me, and I
  17. |> will pass them along.  
  18. |> 
  19. |> Thank you,
  20. |> 
  21. |> --ed
  22. |> 
  23. |> Internet: edvax@pyrite.som.cwru.edu
  24. |> UUCP: uunet!pyrite.som.cwru.edu!edvax
  25. |> 
  26. |>              ----- begin included message -----
  27. |> TOPIC: inetd rpc applications
  28. |> HARDWARE: SPARC
  29. |> OS: SunOS 4.1.1
  30. |> 
  31. |> Given that rpcgen -I fails to produce correct code for inetd-tcp-nowait
  32. |> entries, does anyone happen to have tested server stubs used for 
  33. |> inetd-tcp-nowait entries that they would be willing to share?
  34. |> 
  35. |> Also, the last Stevens text on page 339 says that there are no 4.3BSD 
  36. |> inetd-tcp-wait flag applications. Does anyone know if this remains
  37. |> true?
  38. |> 
  39. |> In order to simulate concurrent servers, we are considering defining
  40. |> <n> inetd-tcp-wait servers with clients randomly selecting a server
  41. |> with a uniform distribution, and hoping client time-outs are
  42. |> sufficient to account for delays. Does anyone have opinions to offer
  43. |> on this? 
  44. |> 
  45. |> Any help with this problem would be appreciated.
  46. |> --------
  47. |> 
  48. |> 
  49. |> Following is the rpcgen bug report we discovered painfully late after many 
  50. |> futile attempts at creating an inetd-tcp-nowait entry:
  51. |> 
  52. |>  Bug Id:     1065359
  53. |>  Category:  doc
  54. |>  Subcategory:  network
  55. |>  Release summary: 4.1.1
  56. |>  Synopsis:  rpcgen -I does not work together with nowait servers
  57. |>      Integrated in releases:  5.0
  58. |>  Summary:
  59. |>     rpcgen -I produces rpc-code which could only be used for server
  60. |>     with the flag wait in /etc/inetd.conf.  This is neither 
  61. |>     documented in the man-page of rpcgen nor in the RPC-Programming
  62. |>     Manual.
  63. |> 
  64. |> 
  65. |>         ----- end included message -----
  66. |> --
  67. |> Bus error, core dumped
  68.  
  69. Furthermore, I would like to add that rpcgen -I doesnt produce stubs that can
  70. be used for TCP RPC servers -- I cant seem to get the RPC handle to the
  71. exec'ed server from my super server.
  72.  
  73. BTW, I was able to get nowait TCP servers running -- I really dont remeber doing
  74. anything "special" to get them to work -- the stubs seem to work fine.
  75.  
  76. Doug
  77.  
  78. -- 
  79. -------------------------------------------
  80. Doug Anson                    
  81. Internet: danson@lgc.com            
  82. Phone:      713.560.1274
  83. FAX:      713.560.1277
  84. SNAIL:    Landmark Graphics Corporation LGC    
  85.       15150 Memorial Drive
  86.       Houston, TX 77079            
  87. -------------------------------------------
  88.