display version

This commit is contained in:
破娃酱 2016-10-11 15:41:02 +08:00
parent c48190fe7a
commit 45e27f9142
5 changed files with 30 additions and 4 deletions

View file

@ -197,6 +197,7 @@ class TransferBase(object):
last_rows = []
db_instance = obj()
ServerPool.get_instance()
shell.log_shadowsocks_version()
import resource
logging.info('current process RLIMIT_NOFILE resource: soft %d hard %d' % resource.getrlimit(resource.RLIMIT_NOFILE))
try: