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

Grant Slater openstreetmap at firefishy.com
Sat Apr 25 15:40:40 BST 2009


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 50000, but this may be adjusted in future.

Likely best to split the larger uploads.

Regards
 Grant





More information about the talk mailing list