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


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux