sthttpd icon indicating copy to clipboard operation
sthttpd copied to clipboard

sthttp use 100MB RAM in raspbian stretch

Open gefin opened this issue 7 years ago • 0 comments

I found the problem in the function fdwatch_get_nfiles which return 1048576 :

thttpd.c: max_connects = fdwatch_get_nfiles(); . /* Initialize our connections table. */ connects = NEW( connecttab, max_connects );

Before i upgraded from jessie to stretch sthttpd worked perfect. Thanks.

gefin avatar Sep 06 '18 16:09 gefin