From: Marius Gavrilescu Date: Tue, 3 Feb 2015 16:21:11 +0000 (+0200) Subject: Increase RLIMIT_NPROC to 15 to appease Java X-Git-Tag: 5999.000_005~59 X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=commitdiff_plain;h=d9ea4614aeddad7f8235a73ce3256bdce2b17811 Increase RLIMIT_NPROC to 15 to appease Java --- diff --git a/gruntmaster-exec b/gruntmaster-exec index bcde8d7..46ac491 100755 --- a/gruntmaster-exec +++ b/gruntmaster-exec @@ -87,7 +87,7 @@ if ($ret) { POSIX::close $oldfd or die $!; } } - my $nproc = $killuser ? 5 : 1; + my $nproc = $killuser ? 15 : 1; my $debug = $ENV{TEST_VERBOSE}; %ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}, HOME => $ENV{HOME}); setrlimit RLIMIT_AS, $mlimit, $mlimit or die $! if $mlimit;