tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: TCP connections clogging up accf_http(9)
> > while also ignoring the incoming request that provoked it.
> Timo's patch to the patch specifically tries to avoid that, no?
It does, but Robert is right in that eventually, when the queue is
full, it remains full (drop one from q0, add one to q0, ad inf.), so
the accept filter is for all practical purposes defeated.
I wonder if instead of dropping *one* socket in the case of an
overflow, q0 should be iterated and purged of *all* sockets that have
been on it for longer than $time. That would require the sockets
to only know the time they were created, without requiring periodic
housekeeping with a timer or something.
Home |
Main Index |
Thread Index |
Old Index