|
@@ -8,8 +8,8 @@ cd /data/python
|
|
|
#关闭接口
|
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
|
#启动接口
|
|
|
-#nohup /data/anaconda3/envs/py37/bin/gunicorn -w 15 --limit-request-fields 0 --limit-request-line 0 -t 1000 --keep-alive 600 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
-nohup /data/anaconda3/envs/py37/bin/python run_extract_server.py >> extract.log port=15030 worker=14 &
|
|
|
+nohup /data/anaconda3/envs/py37/bin/gunicorn -w 15 --limit-request-fields 0 --limit-request-line 0 -t 1000 --keep-alive 600 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
+#nohup /data/anaconda3/envs/py37/bin/python run_extract_server.py >> extract.log port=15030 worker=14 &
|
|
|
|
|
|
#19022启动要素提取接口
|
|
|
#切换目录
|
|
@@ -17,5 +17,5 @@ cd /data/python
|
|
|
#关闭接口
|
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
|
#启动接口
|
|
|
-#nohup /data/anaconda3/envs/py37/bin/gunicorn -w 5 --limit-request-fields 0 --limit-request-line 0 -t 1000 --keep-alive 600 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
-nohup /data/anaconda3/envs/py37/bin/python run_extract_server.py >> extract.log port=15030 worker=7 &
|
|
|
+nohup /data/anaconda3/envs/py37/bin/gunicorn -w 5 --limit-request-fields 0 --limit-request-line 0 -t 1000 --keep-alive 600 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
+#nohup /data/anaconda3/envs/py37/bin/python run_extract_server.py >> extract.log port=15030 worker=7 &
|