[OSM-dev] osmosis stuck, possible to debug?

Florian Lohoff f at zz.de
Wed Jun 22 20:49:38 BST 2011


On Wed, Jun 22, 2011 at 07:12:49PM +0200, Frederik Ramm wrote:
> Hi,
> 
> On 06/22/11 18:51, Stephan Knauss wrote:
> >this afternoon my update process got stuck. Running on linux. according
> >to ps it's in state "Sl".
> >It's stated with these arguments:
> >osmosis -q --rri --bc --simc --bc --write-xml-change "-" |
> >I guess killing it is all it takes to recover. But is there any tracing
> >I could enable now to detect why it got stuck and make it possible to
> >fix the issue?
> 
> I don't know, but when this happens it tends to happen to almost
> everybody. It happened to four machines where I run minutely
> updates, too. It's usually once every few months. I have no idea
> why.

I used to start osmosis with "timeout" a little unix tool which will kill
the called process once it takes to long.

Just put it to any value which always works so the update has at least
a chance to recover.

Flo
-- 
Florian Lohoff                                                 f at zz.de
„Für eine ausgewogene Energiepolitik über das Jahr 2020 hinaus ist die
Nutzung von Atomenergie eine Brückentechnologie und unverzichtbar. Ein
Ausstieg in zehn Jahren, wie noch unter der rot-grünen Regierung
beschlossen, kommt für die nationale Energieversorgung zu abrupt.“
Angela Merkel CDU 30.8.2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110622/b0468f2b/attachment.pgp>


More information about the dev mailing list