Enourmous amount of open files



Hi there.
I'm not subscribed to the list so please cc any answers to my address. Thank
you.

My problem is this: I've just compiled Gnome (and libraries) for the computersystem
at my university (University of Copenhagen) and for some reason all Gnome
programs seem to open an anstonishing amount of files. A usual session gives
about 600-900 open file handles. We're using a bunch of Linuxboxes  servers
and SunRay-1 terminals. The Linux boxes apparently has a kernel default set
at about 1000 file descriptors meaning that only one student can run Gnome
at a time!

So is there any way of making gnome open less files?? Why does each gnome
program open so absurdly many files??

I've included a small section of lsof for the screenshooter applet in the
bottom and as far as I can see it's a whole lot of libraries. A linecount
is 116. I mean 116 open files for a goddam applet that absurd!

Can anyone help me out? Since gnome is currently using far to many resources
the computerdepartment want's me to remove Gnome if I can't make it use fewer
filehandles - and that would be a shame.

Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen

screensho 18456  leopold  cwd    DIR       0,10     6144       2640 /net/urd/home/disk12/leopold
(urd:/home/disk12)
screensho 18456  leopold  rtd    DIR        3,5     4096          2 /
screensho 18456  leopold  txt    REG       0,11   368191     188027 /net/freke/vol/dikunix/work/gnome/linux/bin/screenshooter_applet
(fre
ke:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5   339783     361311 /lib/ld-2.1.3.so

screensho 18456  leopold  mem    REG       0,11   546200     184294 /net/freke/vol/dikunix/work/gnome/linux/lib/libpanel_applet.so.0.0.1

(freke:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   591418     148525 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnorba.so.27.1.8
(frek
e:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   176659     176814 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBitCosNaming.so.0.5.

4 (freke:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   937375     176737 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBit.so.0.5.4
(freke:
/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   150661     176801 /net/freke/vol/dikunix/work/orbit/linux/lib/libIIOP.so.0.5.4
(freke:/
vol/dikunix)
screensho 18456  leopold  mem    REG       0,11    44851     176787 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBitutil.so.0.5.4
(fr
eke:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5   370369     361320 /lib/libnsl-2.1.3.so

screensho 18456  leopold  mem    REG       0,11  2662321     160320 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnomeui.so.32.12.1
(fr
eke:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   197679     177335 /net/freke/vol/dikunix/work/gnome/linux/lib/libart_lgpl.so.2.2.0
(fre
ke:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5   156697     229106 /usr/lib/libgdk_imlib.so.1.9.7

screensho 18456  leopold  mem    REG        3,5   142857     229164 /usr/lib/libjpeg.so.62.0.0

screensho 18456  leopold  mem    REG        3,5   272488     229204 /usr/lib/libtiff.so.3.5

screensho 18456  leopold  mem    REG        3,5    33544     229194 /usr/lib/libungif.so.4.1.0

screensho 18456  leopold  mem    REG        3,5   127526     229169 /usr/lib/libpng.so.2.1.0.3

screensho 18456  leopold  mem    REG        3,5    62860      33196 /usr/local/stow/stow/local/zlib-1.1.3-i686-linux-redhat6.1/lib/libz.s

o.3.0.0
screensho 18456  leopold  mem    REG        3,5    67580     361328 /lib/libnss_dns-2.1.3.so

screensho 18456  leopold  mem    REG        3,5    40012     588681 /usr/X11R6/lib/libSM.so.6.0

screensho 18456  leopold  mem    REG        3,5    95214     588677 /usr/X11R6/lib/libICE.so.6.3

screensho 18456  leopold  mem    REG       0,11  3281596     159867 /net/freke/vol/dikunix/work/gtk/linux/lib/libgtk-1.2.so.0.5.3
(freke:
/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   834364     113534 /net/freke/vol/dikunix/work/gtk/linux/lib/libgdk-1.2.so.0.5.3
(freke:
/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11    35864     170917 /net/freke/vol/dikunix/work/glib/linux/lib/libgmodule-1.2.so.0.0.8
(f
reke:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5    54079     588689 /usr/X11R6/lib/libXext.so.6.3

screensho 18456  leopold  mem    REG        3,5   799581     588683 /usr/X11R6/lib/libX11.so.6.1

screensho 18456  leopold  mem    REG       0,11   482805     160286 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnome.so.32.4.1
(freke
:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11    70490     160219 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnomesupport.so.0.0.0

(freke:/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   104312     159397 /net/freke/vol/dikunix/work/esound/linux/lib/libesd.so.0.2.20
(freke:
/vol/dikunix)
screensho 18456  leopold  mem    REG       0,11   185494     175747 /net/freke/vol/dikunix/work/audiofile/linux/lib/libaudiofile.so.0.0.0

 (freke:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5   527442     361319 /lib/libm-2.1.3.so

screensho 18456  leopold  mem    REG        3,5   788433     361316 /lib/libdb-2.1.3.so

screensho 18456  leopold  mem    REG       0,11   443384     170902 /net/freke/vol/dikunix/work/glib/linux/lib/libglib-1.2.so.0.0.8
(frek
e:/vol/dikunix)
screensho 18456  leopold  mem    REG        3,5    75131     361318 /lib/libdl-2.1.3.so

screensho 18456  leopold  mem    REG        3,5  4106956     361314 /lib/libc-2.1.3.so

screensho 18456  leopold  mem    REG        3,5    62885     229290 /usr/lib/libz.so.1.1.3

screensho 18456  leopold  mem    REG        3,5   219887     361326 /lib/libnss_compat-2.1.3.so

screensho 18456  leopold  mem    REG        3,5   256075     361331 /lib/libnss_nis-2.1.3.so

screensho 18456  leopold  mem    REG        3,5   246652     361329 /lib/libnss_files-2.1.3.so

screensho 18456  leopold  mem    REG        3,5    87756     686788 /usr/share/locale/da_DK/LC_CTYPE

screensho 18456  leopold  mem    REG        3,5   169720     361333 /lib/libresolv-2.1.3.so

screensho 18456  leopold  mem    REG        3,5    32197     376197 /usr/lib/gconv/ISO8859-1.so

screensho 18456  leopold  mem    REG        3,5    14172     229110 /usr/lib/libimlib-png.so

screensho 18456  leopold    0u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    1u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    2u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    3u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    4u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    5u   CHR        1,3              163610 /dev/null

screensho 18456  leopold    6u  IPv4     124947                 TCP berling.diku.dk:2782->skinfaxe.diku.dk:6016
(CLOSE)
screensho 18456  leopold    7u  unix 0xf0fc6000              125030 /tmp/orbit-leopold/orb-139122711651140205

screensho 18456  leopold    9r  FIFO        0,0              124644 pipe

screensho 18456  leopold   10w  FIFO        0,0              124644 pipe

screensho 18456  leopold   12r  FIFO        0,0              124731 pipe

screensho 18456  leopold   13r  FIFO        0,0              125246 pipe

screensho 18456  leopold   14u   CHR        1,3              163610 /dev/null

screensho 18456  leopold   15w  FIFO        0,0              125246 pipe

screensho 23458  leopold  cwd    DIR       0,10     6144       2640 /net/urd/home/disk12/leopold
(urd:/home/disk12)
screensho 23458  leopold  rtd    DIR        3,5     4096          2 /
screensho 23458  leopold  txt    REG       0,11   368191     188027 /net/freke/vol/dikunix/work/gnome/linux/bin/screenshooter_applet
(fre
ke:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5   339783     361311 /lib/ld-2.1.3.so

screensho 23458  leopold  mem    REG       0,11   546200     184294 /net/freke/vol/dikunix/work/gnome/linux/lib/libpanel_applet.so.0.0.1

(freke:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   591418     148525 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnorba.so.27.1.8
(frek
e:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   176659     176814 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBitCosNaming.so.0.5.

4 (freke:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   937375     176737 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBit.so.0.5.4
(freke:
/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   150661     176801 /net/freke/vol/dikunix/work/orbit/linux/lib/libIIOP.so.0.5.4
(freke:/
vol/dikunix)
screensho 23458  leopold  mem    REG       0,11    44851     176787 /net/freke/vol/dikunix/work/orbit/linux/lib/libORBitutil.so.0.5.4
(fr
eke:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5   370369     361320 /lib/libnsl-2.1.3.so

screensho 23458  leopold  mem    REG       0,11  2662321     160320 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnomeui.so.32.12.1
(fr
eke:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   197679     177335 /net/freke/vol/dikunix/work/gnome/linux/lib/libart_lgpl.so.2.2.0
(fre
ke:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5   156697     229106 /usr/lib/libgdk_imlib.so.1.9.7

screensho 23458  leopold  mem    REG        3,5   142857     229164 /usr/lib/libjpeg.so.62.0.0

screensho 23458  leopold  mem    REG        3,5   272488     229204 /usr/lib/libtiff.so.3.5

screensho 23458  leopold  mem    REG        3,5    33544     229194 /usr/lib/libungif.so.4.1.0

screensho 23458  leopold  mem    REG        3,5   127526     229169 /usr/lib/libpng.so.2.1.0.3

screensho 23458  leopold  mem    REG        3,5    62860      33196 /usr/local/stow/stow/local/zlib-1.1.3-i686-linux-redhat6.1/lib/libz.s

o.3.0.0
screensho 23458  leopold  mem    REG        3,5    67580     361328 /lib/libnss_dns-2.1.3.so

screensho 23458  leopold  mem    REG        3,5    40012     588681 /usr/X11R6/lib/libSM.so.6.0

screensho 23458  leopold  mem    REG        3,5    95214     588677 /usr/X11R6/lib/libICE.so.6.3

screensho 23458  leopold  mem    REG       0,11  3281596     159867 /net/freke/vol/dikunix/work/gtk/linux/lib/libgtk-1.2.so.0.5.3
(freke:
/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   834364     113534 /net/freke/vol/dikunix/work/gtk/linux/lib/libgdk-1.2.so.0.5.3
(freke:
/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11    35864     170917 /net/freke/vol/dikunix/work/glib/linux/lib/libgmodule-1.2.so.0.0.8
(f
reke:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5    54079     588689 /usr/X11R6/lib/libXext.so.6.3

screensho 23458  leopold  mem    REG        3,5   799581     588683 /usr/X11R6/lib/libX11.so.6.1

screensho 23458  leopold  mem    REG       0,11   482805     160286 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnome.so.32.4.1
(freke
:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11    70490     160219 /net/freke/vol/dikunix/work/gnome/linux/lib/libgnomesupport.so.0.0.0

(freke:/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   104312     159397 /net/freke/vol/dikunix/work/esound/linux/lib/libesd.so.0.2.20
(freke:
/vol/dikunix)
screensho 23458  leopold  mem    REG       0,11   185494     175747 /net/freke/vol/dikunix/work/audiofile/linux/lib/libaudiofile.so.0.0.0

 (freke:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5   527442     361319 /lib/libm-2.1.3.so

screensho 23458  leopold  mem    REG        3,5   788433     361316 /lib/libdb-2.1.3.so

screensho 23458  leopold  mem    REG       0,11   443384     170902 /net/freke/vol/dikunix/work/glib/linux/lib/libglib-1.2.so.0.0.8
(frek
e:/vol/dikunix)
screensho 23458  leopold  mem    REG        3,5    75131     361318 /lib/libdl-2.1.3.so

screensho 23458  leopold  mem    REG        3,5  4106956     361314 /lib/libc-2.1.3.so

screensho 23458  leopold  mem    REG        3,5    62885     229290 /usr/lib/libz.so.1.1.3

screensho 23458  leopold  mem    REG        3,5   219887     361326 /lib/libnss_compat-2.1.3.so

screensho 23458  leopold  mem    REG        3,5   256075     361331 /lib/libnss_nis-2.1.3.so

screensho 23458  leopold  mem    REG        3,5   246652     361329 /lib/libnss_files-2.1.3.so

screensho 23458  leopold  mem    REG        3,5    87756     686788 /usr/share/locale/da_DK/LC_CTYPE

screensho 23458  leopold  mem    REG        3,5   169720     361333 /lib/libresolv-2.1.3.so

screensho 23458  leopold  mem    REG        3,5    32197     376197 /usr/lib/gconv/ISO8859-1.so

screensho 23458  leopold  mem    REG        3,5    14172     229110 /usr/lib/libimlib-png.so

screensho 23458  leopold    0u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    1u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    2u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    3u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    4u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    5u   CHR        1,3              163610 /dev/null

screensho 23458  leopold    6u  IPv4     162182                 TCP berling.diku.dk:3518->guldfaxe.diku.dk:6014
(CLOSE)
screensho 23458  leopold    7u  unix 0xed18d1c0              162199 /tmp/orbit-leopold/orb-337464720511995402

screensho 23458  leopold    9r  FIFO        0,0              161883 pipe

screensho 23458  leopold   10w  FIFO        0,0              161883 pipe

screensho 23458  leopold   11r  FIFO        0,0              162025 pipe

screensho 23458  leopold   13u   CHR        1,3              163610 /dev/null

screensho 23458  leopold   14r  FIFO        0,0              162294 pipe

screensho 23458  leopold   15w  FIFO        0,0              162294 pipe






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