Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Limit (max) connections SimpleHTTPServer

Thread Tools

Limit (max) connections SimpleHTTPServer

Posts: n/a

I would like to know if there is some way to limit the maximum number
of connections to my SimpleHTTPServer. I have built a system that
sends out work from one box to worker boxes and am using
SimpleHTTPServer to send the work. The files are very large
(sometimes as much as 20-30MB). When the system gets backed up, there
can be as many as 500 requests coming in. After about 100
connections, the whole system starts to get sluggish. When they get
over 250 or so some requests will begin to fail

"error: (10054, 'Connection reset by peer')"

or "error: (10053, 'Software caused connection abort')"

Any help and suggestions appreciated.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Popularizing SimpleHTTPServer and CGIHTTPServer Michele Simionato Python 6 02-04-2005 05:01 PM
SimpleHTTPServer, queries unhandled? Bryan Rasmussen Python 2 12-27-2004 05:12 PM
Facing the world with SimpleHTTPServer Jed Parsons Python 2 10-18-2004 11:10 PM
SimpleHTTPServer: connection reset by peer Thomas Guettler Python 0 10-05-2004 10:51 AM
BaseHTTPServer/SimpleHTTPServer HTTP/1.1 support? Joshua W. Biagio Python 0 09-30-2003 04:37 AM