Re: X11: Maximum number of clients reached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-05-23 at 13:53 +0200, Mildred Ki'Lya wrote:
> On 05/18/2009 06:34 PM, Patrick O'Callaghan wrote: 
> > On Mon, 2009-05-18 at 09:26 -0400, Adam Jackson wrote:
> > > Check the output of 'sudo lsof -p `pidof Xorg`' when this happens.  This
> > > will show you what file descriptors are in use by the X server.  Last I
> > > checked this error message was misleading, and could mean either "I've
> > > hit the client limit" or "I've run out of file descriptors".
> > >     
> > 
> > That would be:
> > 
> > su -c lsof -p `pidof X`
> 
> Hi,
> 
> So, it happened again. There are 234 opened sockets, and the last file
> descriptor seems to be 255u, so perhaps there is a limit there. Any
> ideas on how to find the program responsible for that?

The 'u' just means the file is opened read/write. The actual fd number
is 255, which is certainly suspicious. Just for kicks, try 'ulimit -n'
to see if your open file limit is set too low for some odd reason.

You can also check the open socket numbers using netstat, e.g.

        netstat | grep <sock-number>

will give an idea of what the file is.

poc

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux