Hi Johan!<br><br>MapProxy can perform incredible well, but on todays multi-core server you have to take great care to run multiple MapProxy instances in a non-blocking configuration. <br><br>Starting MapProxy via paster is great for test &amp; development, but for better performance you should take a look at the multiple MapProxy deployment options using FastCGI or WSGI  [0].<br>
<br>To better analyze the exception it would be helpful to change the language locale to default using &quot; export LANG=&#39;C&#39; &quot; before running paster and repost the exception in English.<br><br><br>cu andreas<br>
<br>[0] <a href="http://mapproxy.org/docs/1.0.0/deployment.html#production">http://mapproxy.org/docs/1.0.0/deployment.html#production</a><br><br><br><br><div class="gmail_quote">2011/3/14 Johan Sandberg <span dir="ltr">&lt;<a href="mailto:johs@kth.se">johs@kth.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">Hey!<br>
<br>
Im performing some performance testing on wms+cache, where mapproxy is included.<br>
<br>
I runn 6000 URLS from a list and use a webstress program to read the list, with 10 request/sec.<br>
<br>
The performance of the test are really low and I think it has to do with this exception.<br>
Anyone nows what this exception means, and/or it can be fixed ?<br>
<br>
<br>
Exception happened during processing of request from<br>
Exception happened during processing of request from  ((&#39;17&#39;2011-03-14 12:22:59,<br>
194 - INFO - 3484:mapproxy.client.http.http:_log - localhost:8080 - - [14/Mar/20<br>
11:12:22:59 ] &quot;GET /geoserver/wms?layers=Jarfalla_tatort&amp;width=927&amp;version=1.1.1<br>
&amp;bbox=137106.437128,6588627.33556,137157.010126,6588677.90856&amp;service=WMS&amp;format<br>
=image%2Fpng&amp;styles=&amp;srs=EPSG%3A3011&amp;request=GetMap&amp;height=927 HTTP/1.1&quot; 200 - &quot;<br>
-&quot; &quot;&quot;<br>
1722..18.6168.1.266&#39;, 4715)<br>
Traceback (most recent call last):<br>
  File &quot;c:\mapproxy_venv\lib\site-packages\paste-1.7.5.1-py2.6.egg\paste\httpser<br>
ver.py&quot;, line 1068, in process_request_in_thread<br>
6.12    self.finish_request(request, client_address)<br>
 6&#39;,  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 322, in finish_request<br>
4721)    self.RequestHandlerClass(request, client_address, self)<br>
  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 618, in __init__<br>
    self.finish()<br>
  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 661, in finish<br>
    self.wfile.flush()<br>
  File &quot;C:\Python26\Lib\socket.py&quot;, line 297, in flush<br>
    self._sock.sendall(buffer(data, write_offset, buffer_size))<br>
error: [Errno 10054] En befintlig anslutning tvingades att stõnga av fjõrrvõrdda<br>
torn<br>
----------------------------------------<br>
<br>
Traceback (most recent call last):<br>
  File &quot;c:\mapproxy_venv\lib\site-packages\paste-1.7.5.1-py2.6.egg\paste\httpser<br>
ver.py&quot;, line 1068, in process_request_in_thread<br>
    self.finish_request(request, client_address)<br>
  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 322, in finish_request<br>
    self.RequestHandlerClass(request, client_address, self)<br>
  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 618, in __init__<br>
    self.finish()<br>
  File &quot;C:\Python26\Lib\SocketServer.py&quot;, line 661, in finish<br>
    self.wfile.flush()<br>
  File &quot;C:\Python26\Lib\socket.py&quot;, line 297, in flush<br>
    self._sock.sendall(buffer(data, write_offset, buffer_size))<br>
error: [Errno 10054] En befintlig anslutning tvingades att stõnga av fjõrrvõrdda<br>
</div>
</div>

<br>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
<br></blockquote></div><br>