Path: utzoo!attcan!uunet!lll-winken!ames!elan!jlo From: jlo@elan.UUCP (Jeff Lo) Newsgroups: comp.windows.x Subject: Bizzare problem with client exiting Keywords: IO error client exiting Message-ID: <412@elan.UUCP> Date: 21 Jan 89 00:13:24 GMT Reply-To: jlo@elan.UUCP (Jeff Lo) Organization: Elan Computer Group, Inc., Palo Alto, CA Lines: 36 I have run into a problem with a client exiting unexpectedly that I have not been able to sort out. The client uses only Xlib calls (no toolkits) to continuously loop, displaying a fixed set of images and text. The problem is that sometimes the client will exit without warning. Other times it exits, printing an XIO error message about a broken pipe. When it does this, the number of events known processed is always one of two values (8289 or 18490), typically with 107 or 108 events left on the queue, unless the machine is loaded. The total number of requests is often one of a few values also, but not as consistently as the number of events processed. The problem sometimes doesn't appear as early or often if the machine is somewhat loaded. Since the client is normally continuously sending the same requests over and over rather fast and furiously, it sounds to me like something can't handle the requests coming in so fast, but when the machine is loaded it does better because the client can't send them quite so quickly. I am at a loss. Does anybody out there on the net have any ideas? Has anybody else seen similar behavior? And why does it sometimes just quit without any error message at all? Relevant details: server is X11R3 with patches 1-3, compiled with gcc v1.31 on a Sun 3/50 running SunOS 4.0. The client process has been tried on the Sun compiled with the Sun C compiler, and on a MicroVAX II with Ultrix 2.3 and an X11R2 Xlib. Many Thanks, Jeff Lo Elan Computer Group, Inc. ..!{ames,uunet,hplabs}!elan!jlo 415-322-2450