From 6932548d8e642450f04822b25b42c7168080921e Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Fri, 3 Jun 2016 21:18:50 +0800 Subject: [PATCH] ulimit -n 512000 --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 8fceb97..82a2105 100644 --- a/run.sh +++ b/run.sh @@ -1,6 +1,6 @@ #!/bin/bash cd `dirname $0` 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 &