Skip to content

enable-reload-signal option causes crash #185

Open
@mizuguta

Description

Hello,
I am using mbtileserver and need to reload tilesets because of changes of sub directories containing mbtile files.
Unfortunately I didn't succeed to reload by HUP signal, it always abnormally exists.

~/go/bin/mbtileserver --enable-reload-signal -d ./data --root-url /tile_service
INFO[0000] Searching for tilesets in ./data             
INFO[0000] Published 37 services                        

--------------------------------------
Use Ctrl-C to exit the server
--------------------------------------
HTTP server started on 0.0.0.0:7777

Then I send HUP signal to the process:

kill -HUP xxxx

It causes abnormal exist:

Reloading...

EXITING (abnormal child exit: wait: no child processes)

It happens on Docker with image golang:latest.
How can I make it working?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions