There are several ways to do this.
I think the most obvious way would be to do this in IIS. If you are using IIS 6.0, you can do this by going to the website properties, go to the performance tab and change the connection limit to what you need. Then you can configure the default IIS error message (I think this is classified as 500 code).
- , . , , , (), (, ).
, , , - Ajax, , " ", .
.
,