From 9b8f50534c6497ee54c7eb90bf022010fc803dca Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 20 Oct 2008 12:56:08 +0000 Subject: Update gf-server instructions and configuration. --- src/server/lighttpd.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server/lighttpd.conf') 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", -- cgit v1.2.3