increase connection limit to 256 due to cpu failing with a modest number of users. also make static data static. failure message was 238: fatal(1, "waiting for FS: %r"); Reference: /n/sources/patch/applied/sslconnlimit Date: Tue Nov 23 05:16:26 CET 2010 Signed-off-by: quanstro@quanstro.net --- /sys/src/9/port/devssl.c Tue Nov 23 05:14:06 2010 +++ /sys/src/9/port/devssl.c Tue Nov 23 05:14:03 2010 @@ -73,15 +73,15 @@ enum { Maxdmsg= 1<<16, - Maxdstate= 128, /* must be a power of 2 */ + Maxdstate= 256, /* must be a power of 2 */ }; -Lock dslock; -int dshiwat; -char *dsname[Maxdstate]; -Dstate *dstate[Maxdstate]; -char *encalgs; -char *hashalgs; +static Lock dslock; +static int dshiwat; +static char *dsname[Maxdstate]; +static Dstate *dstate[Maxdstate]; +static char *encalgs; +static char *hashalgs; enum{ Qtopdir = 1, /* top level directory */