Gentoo Archives: gentoo-user

From: "Vladimir G. Ivanovic" <vgivanovic@×××××××.net>
To: Gentoo User List <gentoo-user@l.g.o>
Subject: [gentoo-user] X server runs out of file descriptors
Date: Tue, 07 Nov 2006 03:01:39
Message-Id: 1162868189.15138.10.camel@scarlatti.leonora.org
1 My X server (xorg-server-1.1.1-r1; USE flags below) churns through file
2 descriptors at the rate of ~15/hour (on AMD64). Eventually, it reaches
3 the 255 open file limit and I can no longer open any new windows.
4
5 A snippet from "ls -l /proc/<X pid>/fd":
6
7 lrwx------ 1 root root 64 Nov 6 18:41 126 -> socket:[1408395]
8 lrwx------ 1 root root 64 Nov 6 18:41 127 -> socket:[1408397]
9 lrwx------ 1 root root 64 Nov 6 18:41 128 -> socket:[1408400]
10
11 A snippet from "lsof -c X":
12
13 X 14872 root 126u unix 0xffff81002ed46b80 1408395 /tmp/.X11-unix/X0
14 X 14872 root 127u unix 0xffff81002ed47680 1408397 /tmp/.X11-unix/X0
15 X 14872 root 128u unix 0xffff81002ed47100 1408400 /tmp/.X11-unix/X0
16
17 This is new (a few days old) behavior.
18
19 Any ideas on how I should go about figuring out why this is happening?
20
21 Thanks.
22
23 ---- Vladimir
24
25
26 -3dfx -aiglx -debug -dmx dri -input_devices_acecad -input_devices_aiptek
27 -input_devices_calcomp -input_devices_citron -input_devices_digitaledge
28 -input_devices_dmc -input_devices_dynapro -input_devices_elo2300
29 -input_devices_elographics input_devices_evdev -input_devices_fpit
30 -input_devices_hyperpen -input_devices_jamstudio -input_devices_joystick
31 input_devices_keyboard -input_devices_magellan -input_devices_microtouch
32 input_devices_mouse -input_devices_mutouch -input_devices_palmax
33 -input_devices_penmount -input_devices_spaceorb -input_devices_summa
34 -input_devices_synaptics -input_devices_tek4957 -input_devices_ur98
35 -input_devices_vmmouse -input_devices_void -input_devices_wacom ipv6
36 -kdrive -minimal nptl sdl video_cards_apm video_cards_ark
37 video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
38 -video_cards_epson video_cards_fbdev -video_cards_fglrx
39 video_cards_glint video_cards_i128 -video_cards_i740 video_cards_i810
40 -video_cards_impact -video_cards_imstt -video_cards_mach64
41 video_cards_mga video_cards_neomagic -video_cards_newport
42 -video_cards_nsc video_cards_nv -video_cards_nvidia -video_cards_r128
43 -video_cards_radeon video_cards_rendition video_cards_s3
44 video_cards_s3virge video_cards_savage video_cards_siliconmotion
45 video_cards_sis video_cards_sisusb -video_cards_sunbw2
46 -video_cards_suncg14 -video_cards_suncg3 -video_cards_suncg6
47 -video_cards_sunffb -video_cards_sunleo -video_cards_suntcx
48 video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng
49 video_cards_v4l video_cards_vesa video_cards_vga video_cards_via
50 video_cards_vmware video_cards_voodoo xorg xprint
51
52 --
53 Vladimir G. Ivanovic <vgivanovic@×××××××.net>
54
55 --
56 gentoo-user@g.o mailing list