Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hangs on startup #399

Open
Eric-Arz opened this issue Oct 25, 2023 · 4 comments
Open

hangs on startup #399

Eric-Arz opened this issue Oct 25, 2023 · 4 comments

Comments

@Eric-Arz
Copy link

import succeeds without any errors. when trying to start the server with the run command it just hangs on loading:

** INFO: 10:56:08.379: Rendering daemon started
** INFO: 10:56:08.380: Initialising request_queue
** INFO: 10:56:08.380: Parsing section renderd
** INFO: 10:56:08.380: Parsing render section 0
** INFO: 10:56:08.380: Parsing section mapnik
** INFO: 10:56:08.380: Parsing section default
** INFO: 10:56:08.380: config renderd: unix socketname=/run/renderd/renderd.sock
** INFO: 10:56:08.380: config renderd: num_threads=4
** INFO: 10:56:08.380: config renderd: num_slaves=0
** INFO: 10:56:08.380: config renderd: tile_dir=/var/cache/renderd/tiles
** INFO: 10:56:08.380: config renderd: stats_file=/run/renderd/renderd.stats
** INFO: 10:56:08.380: config mapnik:  plugins_dir=/usr/lib/mapnik/3.1/input
** INFO: 10:56:08.380: config mapnik:  font_dir=/usr/share/fonts
** INFO: 10:56:08.380: config mapnik:  font_dir_recurse=1
** INFO: 10:56:08.380: config renderd(0): Active
** INFO: 10:56:08.380: config renderd(0): unix socketname=/run/renderd/renderd.sock
** INFO: 10:56:08.381: config renderd(0): num_threads=4
** INFO: 10:56:08.381: config renderd(0): tile_dir=/var/cache/renderd/tiles
** INFO: 10:56:08.381: config renderd(0): stats_file=/run/renderd/renderd.stats
** INFO: 10:56:08.381: config map 0:   name(default) file(/home/renderer/src/openstreetmap-carto/mapnik.xml) uri(/tile/) htcp() host(localhost)
** INFO: 10:56:08.381: Initialising unix server socket on /run/renderd/renderd.sock
** INFO: 10:56:08.381: Renderd is using mapnik version 3.1.0
** INFO: 10:56:08.627: Running in foreground mode...
** INFO: 10:56:08.627: Loading parameterization function for 
** INFO: 10:56:08.627: Loading parameterization function for 
** INFO: 10:56:08.628: Loading parameterization function for 
** INFO: 10:56:08.628: Loading parameterization function for 
@gyiptgyipt
Copy link

I also have that issue, I run it in my local machine(ubuntu 22.04) without using docker by following tutorial (link).
Please, let me know if you solved this problem. Thanks.

Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.739: config renderd(0): tile_dir=/var/cache/renderd/tiles
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.739: config renderd(0): stats_file=/run/renderd/renderd.stats
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.739: config map 0:   name(default) file(/home/osm/openstreetmap-carto/style.xml) uri(/osm/) htcp() hos>
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.739: Initialising unix server socket on /run/renderd/renderd.sock
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.739: Renderd is using mapnik version 3.1.0
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.906: Running in foreground mode...
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.907: Loading parameterization function for
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.911: Loading parameterization function for
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.912: Loading parameterization function for
Nov 05 01:20:56 dev renderd[26552]: ** INFO: 01:20:56.913: Loading parameterization function for
Nov 05 01:27:32 dev systemd[1]: Stopping Daemon that renders map tiles using mapnik...
Nov 05 01:27:33 dev systemd[1]: renderd.service: Deactivated successfully.
Nov 05 01:27:33 dev systemd[1]: Stopped Daemon that renders map tiles using mapnik.
Nov 05 01:27:33 dev systemd[1]: renderd.service: Consumed 2.902s CPU time.
Nov 05 01:27:33 dev systemd[1]: Started Daemon that renders map tiles using mapnik.
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Rendering daemon started
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Initialising request_queue
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Parsing section renderd
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Parsing render section 0
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Parsing section mapnik
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: Parsing section default
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd: unix socketname=/run/renderd/renderd.sock
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd: num_threads=4
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd: num_slaves=0
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd: tile_dir=/var/cache/renderd/tiles
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd: stats_file=/run/renderd/renderd.stats
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config mapnik:  plugins_dir=/usr/lib/mapnik/3.1/input
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config mapnik:  font_dir=/usr/share/fonts/truetype
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config mapnik:  font_dir_recurse=1
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd(0): Active
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd(0): unix socketname=/run/renderd/renderd.sock
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.101: config renderd(0): num_threads=4
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.102: config renderd(0): tile_dir=/var/cache/renderd/tiles
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.102: config renderd(0): stats_file=/run/renderd/renderd.stats
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.102: config map 0:   name(default) file(/home/osm/openstreetmap-carto/style.xml) uri(/osm/) htcp() hos>
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.102: Initialising unix server socket on /run/renderd/renderd.sock
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.102: Renderd is using mapnik version 3.1.0
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.365: Running in foreground mode...
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.366: Loading parameterization function for
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.366: Loading parameterization function for
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.366: Loading parameterization function for
Nov 05 01:27:33 dev renderd[28104]: ** INFO: 01:27:33.366: Loading parameterization function for 

@Eric-Arz
Copy link
Author

Eric-Arz commented Nov 9, 2023

@Htet-Wai-Yan-HWY We were not able to resolve it. Flat out doesn't work on some machines, including our production server. We are currently working on setting up the Tileserver ourselves so we no longer rely on this container.

@gyiptgyipt
Copy link

@Eric-Arz Thanks for the reply.

@waseigo
Copy link

waseigo commented Sep 11, 2024

3 different VMs, plus one bare-metal server -- all 4 show stuck "Loading parameterization function for", and using curl with the right parameters shows that a connection is established but then nothing happens. @Overv, would you happen to have any ideas?

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

No branches or pull requests

3 participants