Custom Search

running out of fds in portinfo module

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

Funcd is running out of file descriptors in the portinfo module if a
minion is listening on too many ports. On a minion listening to 2741
ports according to "netstat -nlp", it logs:

 "[Errno 24] Too many open files: '/var/log/func/methods/direct_log'",
 '  File "/usr/lib/python2.4/site-packages/func/minion/", line 194, in __call__\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/", line 43, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/", line 26, in inventory\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/", line 43, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/", line 44, in listenports\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/", line 40, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/", line 167, in get_instance\n   File "/usr/lib/python2.4/site-packages/func/", line 144, in __init__\n   File "/usr/lib64/python2.4/logging/", line 757, in __init__\n']

I suspected that I maybe needed to close the fd in cmdline(), 
but that didn't have any effect. Does anybody see what else 
might be causing this?


Func-list mailing list

[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux