fix log RLIMIT_NOFILE
This commit is contained in:
@@ -189,6 +189,7 @@ class TransferBase(object):
|
||||
socket.setdefaulttimeout(timeout)
|
||||
last_rows = []
|
||||
db_instance = obj()
|
||||
ServerPool.get_instance()
|
||||
import resource
|
||||
logging.info('current process RLIMIT_NOFILE resource: soft %d hard %d' % resource.getrlimit(resource.RLIMIT_NOFILE))
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user