On Sun, Apr 25, 2004 at 04:28:06PM +1200, John Huttley wrote:
> Toad wrote:
>  {many nice things}
> 
> Thank you toad, a job well done!
> 
> Could you please cast your eye to the http interface.
> 
> What happens -- Has happend for ages.-- is that after a minimal amount 
> of activity.
> OR a modest amount of up time, http connection via fproxy are unresponsive.
> 
> This is very much like the max connection problems of the browsers which 
> have been documented.
> Fixes for Mozilla are also documented, and applied.
> 
> However I can browse with galeon, experience artic level slowdowns 
> whilst talking to the local node (!!)
> 
> Then power up mozilla (user.prefs updated) and instantly have the same 
> problems, talking to the local node.
> 
> Netstat will show maybe 30 or 40 connections open to fproxy
> 
> It's Dire. Its been around for a year, more I'm sure.

There are two problems here:
1. A recent bug that causes the HTTP interface to completely freeze up
after a longish period. This is probably a simple bug. I have
occasionally reproduced it but never managed to track it down...
2. A design issue. We limit the number of simultaneous HTTP connections to
the browser to 1/4 to 1/5 of the maximumThreads. We do this because each
one occupies a thread. To make things worse, we don't detect when the
connection is closed. This is arguably a significant usability issue.
Two fixes:
1. Detect when connections are closed, kill running requests and free up
the thread. This could conceivably get done before 0.6.
2. Make the servlets use NIO. This would be a substantial amount of work
but would eliminate the problem, and would have the secondary benefit of
preventing nodes being overloaded on threads when they are being used
heavily by the browser. I do not propose to do this before 0.6. But IMHO
it should get done before 1.0.
> 
> Regards
> 
> 
> John
> Ps,
> the reward for good work is the chance to do more good work.

:)
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to