Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Error 500 in Phusion_Passenger when doing large upload #3167

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Error 500 in Phusion_Passenger when doing large upload #3167

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Adam Dunn
[Submitted to the original trac issue database at 2.21pm, Saturday, 14th August 2010]

Attempted to upload a large file. This file had been through shp2osm->osmosis->josm-validator (to remove duplicate nodes)->sed (to remove "action=modify" from the ways {produced by josm, but not handled by bulk_upload.py}). File is attached.
Tried using bulk_upload.py to upload, but after ~44k nodes, server returned an error 500, with a bunch of html being passed to bulk_upload.py. html is also attached, but it basically has a backtrace, with:

The application spawner server exited unexpectedly: Broken pipe

Exception class: PhusionPassenger::Railz::ApplicationSpawner::Error

Backtrace:

0 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 134 in `spawn_application'

1 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 261 in `spawn_rails_application'

2 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'

3 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'

....

Changeset in question is: http://www.openstreetmap.org/browse/changeset/5503417

Since I wasn't at my computer to watch it, I don't know exactly when it happened, but it would have been slightly after the "closed at:" time in the changeset.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.43pm, Sunday, 15th August 2010]

There isn't really enough information here to diagnose anything unfortunately. I'm closing it "wontfix" but it's really more like "cantfix".

@openstreetmap-trac
Copy link
Author

Author: Adam Dunn
[Added to the original trac issue at 11.46pm, Sunday, 15th August 2010]

Well, just to tie up the loose ends, offending osm file is not attached, since it is too large to attach, and I won't bother with the html backtrace, since it's wontfix anyways...

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.51pm, Sunday, 15th August 2010]

Well if you've got a backtrace that points at anything in our code (rather than passenger) then that might be useful.

@openstreetmap-trac
Copy link
Author

Author: Adam Dunn
[Added to the original trac issue at 3.10am, Monday, 16th August 2010]

Backtrace only goes back 10 levels in the stack, and all are within passenger. Oh well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant