Lukas Gebauer escreveu: >> i found an annoying bug with Synapse + FreePascal 2.2.0 >> >> using openload to stress test the default http server example, i found >> that it locks after openload count reaches 3800+ connections... >> >> this is impairing two of my projects : lightwebserver and >> lightwebproxy... >> >> anyone knows how to circunvent this bug ? >> > > It is not Synapse bug, it is technology limit of your operating > system! > > HTTP server demo is very simple and lightweight, and using thread-per- > connection model. It is designed for demonstration purposes, not as > highly optimized web server. > > However you test this simple code for very high usage, and it working > greately. 3800 working concurrent connections are very high load! So, > your test result showing just one... Synapse is very effecient. > > BTW: handling of 3800 concurrent connections need very high network > connection bandwidth, otherwise each connection is very slow, even > you have gigabit bandwidth. > > > its not 3800 concurrent threads, its 3800 connections completed. You can configure openload to do arbitrary number of concurrent connections, during the test i use 5.
After 3800+ connections are completed the HTTP server demo hangs and stops responding any request afterwards... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
