From fa1a7bef02f7f3098e722b06497d6c27ecd63937 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 18 Nov 2009 00:00:07 +0100 Subject: [PATCH] Add two more reasons why ssld_count>1 can be useful: bugs and fd limits. --- doc/example.conf | 7 +++++-- doc/reference.conf | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/example.conf b/doc/example.conf index ada53790..b00a29f9 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -56,8 +56,11 @@ serverinfo { /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ ssl_dh_params = "etc/dh.pem"; - /* ssld_count: number of ssld processes you want to start, if you have a really busy - * server, using N-1 where N is the number of cpu/cpu cores you have might be useful + /* ssld_count: number of ssld processes you want to start, if you + * have a really busy server, using N-1 where N is the number of + * cpu/cpu cores you have might be useful. A number greater than one + * can also be useful in case of bugs in ssld and because ssld needs + * two file descriptors per SSL connection. */ ssld_count = 1; diff --git a/doc/reference.conf b/doc/reference.conf index 40b6d19c..53297d11 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -142,8 +142,11 @@ serverinfo { /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ ssl_dh_params = "etc/dh.pem"; - /* ssld_count: number of ssld processes you want to start, if you have a really busy - * server, using N-1 where N is the number of cpu/cpu cores you have might be useful + /* ssld_count: number of ssld processes you want to start, if you + * have a really busy server, using N-1 where N is the number of + * cpu/cpu cores you have might be useful. A number greater than one + * can also be useful in case of bugs in ssld and because ssld needs + * two file descriptors per SSL connection. */ ssld_count = 1;