On 12/22/17, John P. Rouillard <rouilj@**********> wrote:
>
> I am currently running 5
>
>   nc www4.fossil-scm.org 80
>
> processes and sending no input.

Ah hah!

I think the problem is this code:
http://www4.fossil-scm.org/artifact/9694a7dc?ln=1855-1858

That connection rate throttler is code that predates Fossil.  I copied
it from CVSTrac.  It is present in the very first check-in of Fossil
(2007-07-21).

MAX_PARALLEL is currently set to 2, which is a ridiculously low
number.  I have raised it to 50 on www4.fossil-scm.org and restarted
that server.  I should probably raise it to 1000 or so.  And instead
of sleeping, I'll just block until children die off.

This problem only comes up when running "fossil server" with direct
connections to the outside, and rogue outsiders starting up
connections and just sitting on them.  People using a reverse proxy
(ex: nginx) won't see the problem because the reverse proxy never sits
on a TCP/IP connection.

Give me a few minutes to come up with the best solution.  Suggestions
from the mailing list are also welcomed.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to