Fwd: Re: Too many open files in system for gnome



Hi,

Thank you very much for your suggestions. I had /proc/sys/fs/file-max
with roughly 5000 and after use /usr/sbin/lsof I changed it to 20000
and apparently my problem was solved

The output of /usr/sbin/lsof had 12406 lines, 1420 lines  of the type


galeon-bi 11454 diego  mem    REG        3,3    31258    492749
/usr/lib/libgconf-gtk-1.so.1.0.0

and the others 10986 were associated to nautilus and nautilus-.

However, I don't understand if the responsible for the problem was
nautilus why the problem did not happen in my previous versions of
nautilus  working with the Ximian-Gnome installation?

Do you think that is necessary fill a bug report with this issue?

Best Regards

Diego

On Friday 30 March 2001 22:09, you wrote:
> On Fri, 30 Mar 2001, Dan Mueth wrote:
> > On Fri, 30 Mar 2001, Diego Restrepo wrote:
> > > Hi,
> > > After install the latest pre release of gnome 1.4,  my system start to
> > > get unstable when certain number of processes are reached.
> > >
> > > For example: nautilus+powershell+xmms+kmail+emacs+galeon
> > >
> > > After this all stop work and the following message appear, e.g when
> > > try xemacs
> > >
> > > bash: /usr/bin/xemacs: Too many open files in system
> > >
> > > My computer is  a PII, 128M and  Red Hat 6.0.
> > >
> > >
> > > Any idea of what process is causing the problem?
> >
> > Hi Diego,
> >
> > I'm not sure why GNOME 1.4 is opening more files than GNOME 1.2 did.  I
> > guess because it is better ;)
> >
> > To see how many open files you can have: cat /proc/sys/fs/file-max
> >
> > To increase this number, say to 11264, use:
> >     echo 11264 > /proc/sys/fs/file-max
> >
> > You probably want to stick this at the bottom of your /etc/rc.d/rc.local
> > file so you never have to think about it again.
> >
> > You can also change the default by changing NR_FILE and NR_OPEN in the
> > kernel and rebuilding, if you want to do it the hard way.
>
> Sorry to reply to myself - I just realized I didn't quite answer your
> question.  To find out what files are open and what applications have them
> open, use /usr/sbin/lsof.  Then you can tell us which process is opening
> so many files :)
>
> Dan

-------------------------------------------------------




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