judge在ubuntu上暂时能跑起来了

This commit is contained in:
virusdefender
2015-07-02 23:39:18 +08:00
parent 8f67c37d0c
commit b43dfe37c8
3 changed files with 81 additions and 36 deletions

View File

@@ -3,7 +3,13 @@
# 如果MAX_RUNNING_NUMBER大于等于5那么这5组数据就会同时进行评测然后返回结果。
# 如果MAX_RUNNING_NUMBER小于5为3那么就会同时运行前三组测试数据然后再运行后两组数据
# 这样可以避免同时运行的程序过多导致的cpu占用太高
MAX_RUNNING_NUMBER = 10
USE_TMPFS = True
LRUN_UID = 1001
LRUN_GID = 1002
max_running_number = 10
# 是否使用tmpfs来缓存程序输出。开启可以提高性能在内存不足的情况下可以关闭
use_tmpfs = True
# lrun运行用户的uid
lrun_uid = 1001
# lrun用户组gid
lrun_gid = 1002