seafile.conf (569B)
1 # Start Seahub in fastcgi mode - 1 = enable, 0 = disable 2 SEAHUB_FASTCGI=0 3 # Listen on the port specified below (defaults to 8000) 4 SEAHUB_PORT=8000 5 # Method of serving requests (fastcgi mode only) - threaded or prefork 6 # Using threaded mode is recommended as it consumes less resources 7 SEAHUB_METHOD=threaded 8 # The maximum number of worker processes/threads (fastcgi mode only) 9 # General formula: (2 x $num_cores) + 1 10 # To set the number of workers in WSGI mode (which is the default) 11 # please edit /usr/share/seafile/seafile-server/runtime/seahub.conf 12 SEAHUB_WORKERS=3