centos7 下seahub.sh 无法启动

使用了banwagonhost的VPS,其他一切正常,严格按照手册操作,但是./seahub.sh 一直无法启动,
LANG is not set in ENV, set to en_US.UTF-8
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 …
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again
Please try to run “./seahub.sh start” again
[root@pubfile seafile-server-5.1.3]# export LANG=“en_US.UTF-8”
[root@pubfile seafile-server-5.1.3]# export LC_ALL=“en_US.UTF-8”
[root@pubfile seafile-server-5.1.3]# ./seahub.sh start

Starting seahub at port 8000 …
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again
[root@pubfile seafile-server-5.1.3]#

端口 8000 有被其它程序占用吗?另外看看 runtime/*.log 文件里有什么内容。

端口没有被占用,相关shell log:
[root@pubfile seafile-server-5.1.3]# lsof -i:8000
[root@pubfile seafile-server-5.1.3]# ls
check_init_admin.py runtime seaf-fuse.sh seafile seahub setup-seafile-mysql.py setup-seafile.sh
reset-admin.sh seaf-fsck.sh seaf-gc.sh seafile.sh seahub.sh setup-seafile-mysql.sh upgrade
[root@pubfile seafile-server-5.1.3]# ll runtime/
total 4
-rw-r–r-- 1 root root 0 Aug 13 03:46 access.log
-rw-r–r-- 1 root root 0 Aug 13 03:46 error.log
-rw-rw-r-- 1 500 500 338 May 30 03:49 seahub.conf
[root@pubfile seafile-server-5.1.3]# tail -f runtime/seahub.conf
daemon = True
workers = 3

Logging

runtime_dir = os.path.dirname(file)
pidfile = os.path.join(runtime_dir, ‘seahub.pid’)
errorlog = os.path.join(runtime_dir, ‘error.log’)
accesslog = os.path.join(runtime_dir, ‘access.log’)

for file upload, we need a longer timeout value (default is only 30s, too short)

timeout = 1200

看起来是python脚本执行到这个位置就停止了。

已经解决了。
半虚拟化的问题
宿主机上开了太多了的Python进程,导致无法开始新的python thread。换一个VPS就好了