From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) Description of problem: We have used rpcgen to create a Prog_svc.c and Prog_clnt.c When there are many calls to our program it still results in a single threaded request. This is happening only in Linux. The same program works in SUN SOLARIS However in SUN SOLARIS there is an option of using rpc_control which can be used to set multithreaded option Now this rpc_control function is unavailable in LINUX. Are we missing anything ? Does Linux rpcgen support multithreading? What are the options and can it be listed in the man pages? Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpcgen PROG.x Additional info:
So, rpc on Solaris and Linux is different. Live with it, or do something against it. Either write appropriate code which does not sacrifize any compatibility, or pay somebody to do this. The Red Hat bugzilla is the completely wrong place to report this. If you want, you can file this is the upstream bugzilla at sources.redhat.com but I'll tell you right away, I'll defer the bug until somebody comes up with a patch. I'll not spend a second more than I have to maintaining useless code like RPC.
Created attachment 114139 [details] Multithreaded RPC Server for RHEL 3 http://www.linuxgazette.com/node/9005
Comment on attachment 114139 [details] Multithreaded RPC Server for RHEL 3 http://www.linuxgazette.com/node/9005
Comment on attachment 114139 [details] Multithreaded RPC Server for RHEL 3 http://www.linuxgazette.com/node/10211