Path: utzoo!attcan!uunet!midway!mimsy!mojo!eng.umd.edu!stripes From: stripes@eng.umd.edu (Joshua Osborne) Newsgroups: comp.windows.x Subject: Re: X server has too few connections - how to increase ? Keywords: X SunOS "limit descriptors 256" Message-ID: <1990Oct16.140734.4714@eng.umd.edu> Date: 16 Oct 90 14:07:34 GMT References: Sender: news@eng.umd.edu (The News System) Reply-To: stripes@eng.umd.edu (Joshua Osborne) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 29 In article , mwz@kaffa.anu.oz.au (Markus Zellner) writes: > I am running a program that requires (in certain tests) 64 xterms or > XView shelltools to be open at the same time. Since you are talking about XView it is a good bet you are using a Sun (even 'tho XView run on lots of other things). >When I try and run this > program under the standard MIT X server, I get a message along the lines > of "too many connections". I have RTFMed the man pages and there > doesn't seem to be any way short of recompiling the server to increase > the number of connections the X server is allowed to make. > > What I want to know is whether this connection limit (which seems to be > set at 64 at the moment) can be increased, and if so how. If you are running SunOS 4.1 up the soft limit on file descriptors before you start the server (type "limit descriptors 255"), that should let you make alot more connections... If you are running SunOS 4.0 try it anyway. If you are running a truely old version of SunOS, you are SOL. (I advise upgrading, with 4.0 you get shared libs, and they are a *big* win). -- stripes@eng.umd.edu "Security for Unix is like Josh_Osborne@Real_World,The Mutitasking for MS-DOS" "The dyslexic porgramer" - Kevin Lockwood "Isn't that a shell script?" - D. MacKenzie "Yeah, kinda sticks out like a sore thumb in the middle of a kernel" - K. Lidl