The django development server isn't multithreaded by default, and it's
probably having some trouble serving back the files. There were some
hacks/mods on this last a few months back talking about how to change the
dev server so that it was multithreaded and make it a tad more reliable.

I'm afraid I don't recall the specifics, but it appeared to have the same
signature as your issue.

-joe

On 3/13/07, Ryan Alexander <[EMAIL PROTECTED]> wrote:
>
>
> Function in question:
>
> http://dpaste.com/6787/
>
> Simply put, this is a little client program that goes out to the
> Django server, which tells it which URLS to test and how many times to
> hit them.  It'll average the results, then return the timing info,
> along with the HTML generated by the render (it gets this from a
> global variable.)
>
> Here's the weird part.  If I keep the amount of text pushed back to
> approx. 5-7K chars.  It's fine.  but if I go higher than that, I get
> this error:
>
> Traceback (most recent call last):
>   File "client.py", line 72, in ?
>     runtest()
>   File "client.py", line 62, in runtest
>     response = opener.open(req , data)
>   File "C:\Python24\lib\urllib2.py", line 358, in open
>     response = self._open(req, data)
>   File "C:\Python24\lib\urllib2.py", line 376, in _open
>     '_open', req)
>   File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
>     result = func(*args)
>   File "C:\Python24\lib\urllib2.py", line 1021, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "C:\Python24\lib\urllib2.py", line 996, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error (10054, 'Connection reset by peer')>
>
>
> Can anyone please shed some light on this problem for me?  I'd really
> like to get the whole of the HTML page back to the server so I can do
> some checking of it.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to