[kde-solaris] Failed to accept ICE connection - again...
Stefan Teleman
steleman at nyc.rr.com
Wed Feb 18 04:12:58 CET 2004
Oh ... yes, there is. It looks like you are running into the 256 per
process file descriptor limit on SunOS.
It is fairly easy to raise these limits on SunOS: add the following
two lines at the bottom of /etc/system:
set rlim_fd_max=8192
set rlim_fd_cur=1024
(requires root permission to do)
and then reboot.
After reboot, you should see
prompt%> ulimit -Hn
8192
and
prompt%> limit -Sn
1024
which means the soft fd per process limit is now (1024 - 1) and hard
limit is (8192 - 1) -- ulimit -n reports file descriptor limits -1.
This should prevent hitting this barrier in the future. I am surprised
that you have not seen any errors in the kde log -- something similar
to:
setrlimit: not owner
because my Solaris patches for KDE contain explicit code to raise
these file descriptor limits for those processes which require it,
and dcopserver is definitely one of them.
Please let me know.
--Stefan
-----
On Tuesday 17 February 2004 11:36, Richard wrote:
> Hi,
>
> Unfortunately, correcting permissions on /tmp/.ICE-unix (and
> restarting KDE) did not prevent this from happening again.
> Plenty of swap is free and available.
>
> However, I've noticed one thing that may shed light on this. The
> last two(*) times this has happened to me, the last message before
> the deluge of_KDE_IceTransSocketUNIXAccept: accept() failed
> Failed to accept ICE connection!
> starts, is
> DCOP: register 'anonymous-7799' -> number of clients is now 246
>
> Is 246 a kind of limit to the amount of registered DCOP-clients
> possible? And, if so, is there a way to increase it?
> Thanks,
> Richard
>
> (*) It happened a total of three times, I think. The first time I
> didn't notice anything except /home filling up. Since this is a NFS
> share for a lot of users that started having troubles because of my
> .xsession-errors growing to over 2.4GB I figured to free up space
> and check problems later. I'm now wrting .xsession-errors to a
> non-swap location on my local machine.
--
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com -Monty Python
More information about the kde-solaris
mailing list