Skip to content

Commit

Permalink
Fix to drop memory sanity limit enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Aug 8, 2024
1 parent 97a7070 commit 7c89110
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stats.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ create_wrapper($statsserver_cmd, $current_theme, $server_name)
# Launch the server in a sub-process (no fork)
my $logfile = $get_logfile->($port);
my $rs = system_logged(
"ulimit -v 384000; ". # Set sanity limit for memory usage to 384 MB
"SESSION_ID=$main::session_id ".
"$statsserver_cmd @{[quotemeta($port)]} ".
">$logfile 2>&1 </dev/null &");
Expand Down

0 comments on commit 7c89110

Please sign in to comment.