Browse Source

ulimit -n 512000

dev
BreakWa11 9 years ago
parent
commit
6932548d8e
  1. 2
      run.sh

2
run.sh

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
cd `dirname $0` cd `dirname $0`
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}') eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}')
ulimit -n 131072 ulimit -n 512000
nohup python server.py m>> ssserver.log 2>&1 & nohup python server.py m>> ssserver.log 2>&1 &

Loading…
Cancel
Save