! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel leaks File Descriptors
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
General

Comments

Description Dejan Cabrilo 2005-07-16 22:32:51 CEST
When I tried to click on one of the launchers in the panel, I got the following
error:

"Failed to create pipe for communicating with child process (Too many open files)"

/proc/$PID/fd has 1024 files in it, out of which there are 1012 dir links all
pointing to /opt/xfce4/share/icons



Reproducible: Didn't try
Steps to Reproduce:
1. 
2. 
3. 




I have following plugins: volume control, weather checker, clock and pager.

All of it are packages for Arch Linux, I would guess stock.
Comment 1 Jasper Huijsmans editbugs 2005-07-17 06:51:33 CEST
Hmm, I would guess that this is caused by the icon theme handling in that case.
Brian, any ideas?
Comment 2 Brian J. Tarricone (not reading bugmail) 2005-07-17 17:56:11 CEST
Reporter: please attach the list of open file descriptors.
Comment 3 Dejan Cabrilo 2005-07-17 20:53:41 CEST
I am not sure if this is what you are asking for, but as it is now:

[cabrilo@localhost fd]$ ls -al
total 8
dr-x------  2 cabrilo users  0 2005-07-17 15:53 .
dr-xr-xr-x  3 cabrilo users  0 2005-07-17 15:52 ..
lr-x------  1 cabrilo users 64 2005-07-17 15:53 0 -> /dev/null
lrwx------  1 cabrilo users 64 2005-07-17 15:53 1 -> /dev/vc/1
lrwx------  1 cabrilo users 64 2005-07-17 15:53 2 -> /dev/vc/1
lrwx------  1 cabrilo users 64 2005-07-17 15:53 3 -> socket:[196685]
lr-x------  1 cabrilo users 64 2005-07-17 15:53 4 -> /opt/xfce4/share/icons
lr-x------  1 cabrilo users 64 2005-07-17 15:53 5 -> /opt/xfce4/share/icons
lrwx------  1 cabrilo users 64 2005-07-17 15:53 6 -> socket:[196697]
lrwx------  1 cabrilo users 64 2005-07-17 15:53 7 -> /dev/snd/controlC0

When the bug occured, it was similar, only with many more like 4 and 5, and
several of them were pointing to /dev/snd/control0. 

Let me know if this is not what you needed.
Comment 4 Brian J. Tarricone (not reading bugmail) 2005-07-18 08:07:20 CEST
Thanks, that's really helpful.  I'm somewhat surprised that this is happening,
but at least it gives me a few places to look.  I'm out of town until Thursday,
but I'll try to get to this on the weekend.  Reassigning to me.
Comment 5 Brian J. Tarricone (not reading bugmail) 2005-10-01 09:50:20 CEST
This should be fixed now, trunk and 4.2 branch.  Please check and verify if you can.

Bug #1082

Reported by:
Dejan Cabrilo
Reported on: 2005-07-16
Last modified on: 2009-07-15

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information