gam_server listens all fonts files - is it really required ?

Vladimir Grebenschikov vova at parallels.com
Mon Jun 22 21:02:53 UTC 2009


Hi

For me seems a bit overkill to spend ~5k file-handles for just nothing (these fonts directories never changed, IMHO).

My desktop system get ran of 12k file-handles, that's why I am worry about.

$ lsof -p 51981 | fgrep /usr/local/lib/X11/fonts/ | wc -l
    5180
$ lsof -p 51981 | fgrep /usr/local/lib/X11/fonts/ | head -n 20
gam_serve 51981 vova  426r    VDIR          0,99    66048    6877206 /usr/local/lib/X11/fonts/100dpi
gam_serve 51981 vova  427r    VDIR          0,99    66048    6877207 /usr/local/lib/X11/fonts/75dpi
gam_serve 51981 vova  428r    VDIR          0,99     1024    6877208 /usr/local/lib/X11/fonts/OTF
gam_serve 51981 vova  429r    VDIR          0,99      512    6877209 /usr/local/lib/X11/fonts/TTF
gam_serve 51981 vova  430r    VDIR          0,99     1536    6877210 /usr/local/lib/X11/fonts/Type1
gam_serve 51981 vova  431r    VDIR          0,99     3072    6877211 /usr/local/lib/X11/fonts/URW
gam_serve 51981 vova  432r    VDIR          0,99      512    6877212 /usr/local/lib/X11/fonts/bitstream-vera
gam_serve 51981 vova  433r    VDIR          0,99     2560    6877213 /usr/local/lib/X11/fonts/cyrillic
gam_serve 51981 vova  434r    VDIR          0,99     1536    6877214 /usr/local/lib/X11/fonts/encodings
gam_serve 51981 vova  435r    VDIR          0,99      512    6877215 /usr/local/lib/X11/fonts/local
gam_serve 51981 vova  436r    VDIR          0,99    12800    6877216 /usr/local/lib/X11/fonts/misc
gam_serve 51981 vova  437r    VDIR          0,99     2048    6877217 /usr/local/lib/X11/fonts/russian
gam_serve 51981 vova  438r    VDIR          0,99     1024    6877218 /usr/local/lib/X11/fonts/urwfonts-ttf
gam_serve 51981 vova  439r    VDIR          0,99      512   10245420 /usr/local/lib/X11/fonts/util
gam_serve 51981 vova  440r    VDIR          0,99     1024    7019012 /usr/local/lib/X11/fonts/webfonts
gam_serve 51981 vova  441r    VDIR          0,99     1024   14273407 /usr/local/lib/X11/fonts/dejavu
gam_serve 51981 vova  800r    VDIR          0,99    66048    6877206 /usr/local/lib/X11/fonts/100dpi
gam_serve 51981 vova  801r    VREG          0,99     5285    6877399 /usr/local/lib/X11/fonts/100dpi/UTBI__10-ISO8859-1.pcf.gz
gam_serve 51981 vova  802r    VREG          0,99     5169    6877400 /usr/local/lib/X11/fonts/100dpi/UTBI__10-ISO8859-10.pcf.gz
gam_serve 51981 vova  803r    VREG          0,99     5298    6877401 /usr/local/lib/X11/fonts/100dpi/UTBI__10-ISO8859-13.pcf.gz
$

Also here is almost 700 .desktop entries


-- 
Vladimir B. Grebenschikov
Project Manager, Automation
Parallels Inc. vova at parallels.com


More information about the freebsd-gnome mailing list