[OSM-dev] High performance server [JOSM issues]
Stefan de Konink
skinkie at xs4all.nl
Wed May 28 17:24:19 BST 2008
Mario Ferraro schreef:
> That's great, let us know when you'll find it, just curious :)
>
> If it helps, here the HTTP headers I was trying to read to find out
> something. They're equal, but I think they were already.
There *must* be a bug somewhere.
--- osm-goed 2008-05-28 17:58:43.828003816 +0200
+++ osm-fout 2008-05-28 18:00:39.400003408 +0200
@@ -3,11 +3,11 @@
Escape character is '^]'.
HTTP/1.0 200 OK
Connection: close
-Date: Wed, 28 May 2008 15:58:43 GMT
+Date: Wed, 28 May 2008 16:00:38 GMT
Server: Cherokee/0.7.0 (UNIX)
Content-Type: text/xml; charset=utf-8
Content-Disposition: attachment; filename="map.osm"
-Content-Length: 56817
+Content-Length: 57004
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.5" generator="Cherokee OSM API generator">
@@ -960,4 +960,7 @@
<node id="29585831" lat="52.075756200000001"
lon="4.3944561999999996" visible="true" user="not_impl
<tag k="created_by" v="JOSM"/>
</node>
+ <node id="30122365" lat="52.073265499999998" lon="4.389634"
visible="true" user="not_implemented" t
+ <tag k="created_by" v="JOSM"/>
+ </node>
</osm>
This is 399 vs 400 nodes.
This is the 400 request dynamic vs static:
skinkie at nemesis /tmp $ diff -u /tmp/osm-fout /tmp/osm-zelfde
--- /tmp/osm-fout 2008-05-28 18:00:39.400003408 +0200
+++ /tmp/osm-zelfde 2008-05-28 18:09:40.237003793 +0200
@@ -3,10 +3,9 @@
Escape character is '^]'.
HTTP/1.0 200 OK
Connection: close
-Date: Wed, 28 May 2008 16:00:38 GMT
+Date: Wed, 28 May 2008 16:09:39 GMT
Server: Cherokee/0.7.0 (UNIX)
-Content-Type: text/xml; charset=utf-8
-Content-Disposition: attachment; filename="map.osm"
+Last-Modified: Wed, 28 May 2008 16:08:06 GMT
Content-Length: 57004
<?xml version="1.0" encoding="UTF-8"?>
The point is that the 400 request sometimes does work. But a big request
like 4000 nodes including tags breaks.
Stefan
More information about the dev
mailing list