getting "reached maximum number of connections" error with large volume of http requests

64 views
Skip to first unread message

Carl S

unread,
Apr 23, 2012, 5:53:18 PM4/23/12
to Google App Engine
Hello, I'm attempting to do some stress testing on my GAE application
to see how it's performance holds up with a large number of
simultaneous users. I tried having a 100 threads each send an https
requests within 1 second, but half of them failed with the following
message:
"Error: Connection not allowed: reached maximum number of
connections."

This is a paid app, so I tried upgrading the instance class and
setting up some idle instances, but it doesn't seem to make any
difference.

Is there a limit on the number of simultaneous connections? Or is
this because all the requests are generated from the same host?

Thanks

Dmitry Gusev

unread,
Apr 26, 2012, 4:03:08 AM4/26/12
to google-a...@googlegroups.com
Hi, 

could this be a client side error? Can you show the stack trace?

Carl S

unread,
Apr 26, 2012, 6:28:15 PM4/26/12
to google-a...@googlegroups.com
I'm using jmeter to generate the requests and there are no exceptions in the jmeter log.  I'm just getting a 503 response from the server with the content shown below. 

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>503 Connection not allowed: reached maximum number of connections</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Connection not allowed: reached maximum number of connections</h1>
</body></html>

Thanks
Reply all
Reply to author
Forward
0 new messages