[OSM-talk] Big changeset upload and '500 Internal Server Error'

2009-04-25 Thread Jacek Konieczny
Hello,

I am just doing big meta-data import for Polish cities. I have split the
changes in 16 files, one for each voivodeship (province). Most of these
changesets were uploaded without a problem, but a few failed with 
'500 Internal Server Error'. Those were the biggest files, over 1MB
(other have few hundred kilobytes).

It seems I have reached some limit. 
Is it documented? 
Is it that the 'waynodes maximum=2000/' limit (those big files
exceed both 1MB size and 2000 changed nodes)? 
And shouldn't the error code be different, like '413 Request Entity Too
Large' (in case request body size limit) or '401 Bad request' (in case
of API limit)? 
Or, is it just some bug or misconfiguration?

Greets,
Jacek

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Big changeset upload and '500 Internal Server Error'

2009-04-25 Thread Grant Slater
Jacek Konieczny wrote:
 Hello,

 I am just doing big meta-data import for Polish cities. I have split the
 changes in 16 files, one for each voivodeship (province). Most of these
 changesets were uploaded without a problem, but a few failed with 
 '500 Internal Server Error'. Those were the biggest files, over 1MB
 (other have few hundred kilobytes).

 It seems I have reached some limit. 
 Is it documented? 
 Is it that the 'waynodes maximum=2000/' limit (those big files
 exceed both 1MB size and 2000 changed nodes)? 
 And shouldn't the error code be different, like '413 Request Entity Too
 Large' (in case request body size limit) or '401 Bad request' (in case
 of API limit)? 
 Or, is it just some bug or misconfiguration?
   

Server process likely overruns the designed memory bounds causing the 
500 error.
waynodes is nodes within a way. Do you have any ways made up of over 
2000 nodes?

changesets maximum_elements is 5, but this may be adjusted in future.

Likely best to split the larger uploads.

Regards
 Grant


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Big changeset upload and '500 Internal Server Error'

2009-04-25 Thread Jacek Konieczny
On Sat, Apr 25, 2009 at 03:40:40PM +0100, Grant Slater wrote:
 Server process likely overruns the designed memory bounds causing the 
 500 error.

That is what I thought too.

 waynodes is nodes within a way. Do you have any ways made up of over 
 2000 nodes?

No. No ways, just places. And it fails for files with less than 2000
nodes too. The limit is a bit below 2000 nodes and 1MB.

 Likely best to split the larger uploads.

That is probably what I will do.

Greets,
Jacek

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk