Changes to improve handling more load #3

Merged
merged 2 commits into from Aug 29, 2011

Projects

None yet

3 participants

@symform
symform commented Aug 23, 2011

Added support for --backlog and --minThreads to xsp and mod-mono-server.

Also improved the logic around the listening socket.

bassam added some commits Aug 23, 2011
@bassam bassam Added two new configurations to mod-mono-server and xsp
--backlog set the backlog on the listener socket
--minThreads set the minimum number of threads allocated in the threadpool on startup

Change the behavior of ApplicationServer.OnAccept so that
 - it exits the process if a subsequent AcceptAsync fails. The process is useless if we cant accept new sockets. Its better to fail fast and have apache spawn a new instance than just hang.
 - if an error occurs on accept close socket immediately without lingering.

Also the listener socket is now non-blocking.
55d49b6
@bassam bassam added --minThreads support to xsp. Missed that it my last commit. 1cbe4d8
@grendello grendello merged commit d463279 into mono:master Aug 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment