insert a reload step
main thread run 'thread_db' directly insert a 'ulimit' command before run the server
This commit is contained in:
parent
36dc8f9463
commit
c73127d858
5 changed files with 21 additions and 10 deletions
5
run.sh
5
run.sh
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
cd `dirname $0`
|
||||
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}')
|
||||
nohup python server.py >> ssserver.log 2>&1 &
|
||||
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}')
|
||||
ulimit -n 131072
|
||||
nohup python server.py m>> ssserver.log 2>&1 &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue