diff options
Diffstat (limited to 'src/server/lighttpd.conf')
| -rw-r--r-- | src/server/lighttpd.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/lighttpd.conf b/src/server/lighttpd.conf index aacb2659b..e93e63692 100644 --- a/src/server/lighttpd.conf +++ b/src/server/lighttpd.conf @@ -43,8 +43,9 @@ fastcgi.server = ( "/pgf" => (( "socket" => "/tmp/lighttpd-pgf.socket", "bin-path" => basedir + "/pgf.fcgi", - "bin-environment" => ("GHCRTS" => "-N2", - "PGF_FILE" => "grammar.pgf"), + # Use 2 OS threads (to be able to use 2 cores). + # Limit heap size to 512 MB. + "bin-environment" => ("GHCRTS" => "-N2 -M512M"), "min-procs" => 1, "max-procs" => 1, "broken-scriptfilename" => "disable", |
