Article View: comp.sys.sun
Article #8374RPC server and client deadlocking
From: Thomas-K. Bischoff
Date: Wed, 05 Jun 1991 14:17
Date: Wed, 05 Jun 1991 14:17
48 lines
2593 bytes
2593 bytes
Hi RPC-experts, I have a self written RPC server and client which run fine but, after running some time do deadlock. The client is also a transient server. All calls to server are done synchron and no batched. All calls to the transient server in the client are done async and batched. All calls are with tcp. The server is blocking in a write call. Here are the last few lines from a 'trace server' command : select (64, 0xf7ffef88, 0, 0, 0xf776e0d0) = 1 read (10, "".., 4000) = 92 write (10, "".., 28) = 28 select (64, 0xf7fff898, 0, 0, 0) = 1 select (64, 0xf7ffef88, 0, 0, 0xf776e0d0) = 1 read (10, "".., 4000) = 92 write (7, "".., 4000) = The client also blocks in a write call. It seems that the problem has something to do with filled buffers, because when I do a 'netstat -f inet' it gives me : Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 saturn3.3810 saturn3.3815 ESTABLISHED tcp 0 0 saturn3.3815 saturn3.3810 ESTABLISHED tcp 0 0 saturn3.3814 uranus.3000 ESTABLISHED tcp 4096 4096 saturn3.3811 saturn3.3813 ESTABLISHED tcp 4096 4096 saturn3.3813 saturn3.3811 ESTABLISHED tcp 0 0 saturn3.3810 saturn3.3812 ESTABLISHED tcp 0 0 saturn3.3812 saturn3.3810 ESTABLISHED tcp 0 0 saturn3.3464 uranus.3000 ESTABLISHED Can somebody enlighten me ? Thomas K. Bischoff Zellweger Uster AG Net: bisc@zellweger.ch Amtsstrasse 3 Phone: xx41-1-9433522 CH 8610 Uster, Switzerland -- __________________________________________________________________________ |Thomas K. Bischoff, TEN Informatik AG, Schaffhauserstr. 1 | |CH 8400 Winterthur, Switzerland | |Phone: xx41-52-235323, Fax:xx41-52-235328, Net: bisc@zellweger.ch |
Technical Details
Message-ID:
<3613@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: bisc@zellweger.ch (Thomas-K. Bischoff) Newsgroups: comp.sys.sun Subject: RPC server and client deadlocking Keywords: No Digest Subjects in Unmoderated Mode Message-ID: <3613@brchh104.bnr.ca> Date: 5 Jun 91 14:17:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Pseudo-Unmoderated Lines: 49 Approved: sun-spots@rice.edu X-Original-Date: Mon, 27 May 91 12:39:53 GMT