Browse Source
main thread run 'thread_db' directly insert a 'ulimit' command before run the serverdev
breakwa11
9 years ago
5 changed files with 21 additions and 10 deletions
@ -1,5 +1,6 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
cd `dirname $0` |
cd `dirname $0` |
||||
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}') |
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}') |
||||
nohup python server.py >> ssserver.log 2>&1 & |
ulimit -n 131072 |
||||
|
nohup python server.py m>> ssserver.log 2>&1 & |
||||
|
|
||||
|
@ -1,3 +1,3 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}') |
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}') |
||||
|
@ -1,3 +1,3 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
cd `dirname $0` |
||||
tail -f ssserver.log |
tail -f ssserver.log |
||||
|
Loading…
Reference in new issue