[OSM-dev] High performance server [JOSM issues]
Stefan de Konink
skinkie at xs4all.nl
Wed May 28 15:49:52 BST 2008
Mario Ferraro schreef:
> Have you tried to output the raw osm file (taken from openstreetmap)
> from your server? This could avoid you from suspecting at least headers
> and try to hack the file only (or otherwise, stop to hack the file and
> look for headers).
It is total voodoo.
skinkie at nemesis /opt/osm/var/www/0.5 $ wget -S
http://127.0.0.1:8000/about/0.5/map?bbox=4.372043399272871,52.06894868775914,4.420033124293988,52.11742099102069
--2008-05-28 16:33:14--
http://127.0.0.1:8000/about/0.5/map?bbox=4.372043399272871,52.06894868775914,4.420033124293988,52.11742099102069
Verbinding maken met 127.0.0.1:8000... verbonden.
HTTP-verzoek is verzonden; wachten op antwoord...
HTTP/1.0 200 OK
Connection: close
Date: Wed, 28 May 2008 14:33:15 GMT
Server: Cherokee/0.7.0 (UNIX)
Content-Length: 1053701
Content-Type: text/xml; charset=utf-8
Content-Disposition: attachment; filename="map.osm"
Lengte: 1053701 (1,0M) [text/xml]
Wordt geschreven naar:
map?bbox=4.372043399272871,52.06894868775914,4.420033124293988,52.11742099102069
100%[===============================================================================================>]
1.053.701 --.-K/s in 0,003s
2008-05-28 16:33:15 (337 MB/s) -
'map?bbox=4.372043399272871,52.06894868775914,4.420033124293988,52.11742099102069'
opgeslagen [1053701/1053701]
If I fetch the output using JOSM it works.
So the url:
http://thuis.kinkrsoftware.nl:8000 (works, static file)
http://thuis.kinkrsoftware.nl:8000/about (broken, dynamic)
HTTP/1.0 200 OK
Connection: close
Date: Wed, 28 May 2008 14:34:23 GMT
Server: Cherokee/0.7.0 (UNIX)
Last-Modified: Wed, 28 May 2008 14:33:15 GMT
Content-Length: 1053701
vs
HTTP/1.0 200 OK
Connection: close
Date: Wed, 28 May 2008 14:33:15 GMT
Server: Cherokee/0.7.0 (UNIX)
Content-Length: 1053701
Content-Type: text/xml; charset=utf-8
Content-Disposition: attachment; filename="map.osm"
* I changed the extra space in shortclose
* I changed the \r\n -> \n
If someone sees something else :\
Big Help...
Stefan
More information about the dev
mailing list