fix log RLIMIT_NOFILE
This commit is contained in:
parent
1221a1f3f6
commit
1fe6e89c07
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue