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:

['REMOTE_ERROR',
 'exceptions.IOError',
 "[Errno 24] Too many open files: '/var/log/func/methods/direct_log'",
 '  File "/usr/lib/python2.4/site-packages/func/minion/server.py", line 194, in __call__\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/func_module.py", line 43, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/portinfo.py", line 26, in inventory\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/func_module.py", line 43, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/portinfo.py", line 44, in listenports\n   File "/usr/lib/python2.4/site-packages/func/minion/modules/func_module.py", line 40, in wrapper\n   File "/usr/lib/python2.4/site-packages/func/logger.py", line 167, in get_instance\n   File "/usr/lib/python2.4/site-packages/func/logger.py", line 144, in __init__\n   File "/usr/lib64/python2.4/logging/__init__.py", 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?


  -jf

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-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

Google
  Web www.spinics.net