Page MenuHomePhabricator

Kartotherian does not start in producton
Closed, ResolvedPublic

Description

Stacktrace: https://phabricator.wikimedia.org/P2171#8885

The latest Kartotherian version runs fine under my own account on the prod server, but not as a firejailed service

Event Timeline

Yurik raised the priority of this task from to High.
Yurik updated the task description. (Show Details)
Yurik added projects: service-runner, Maps-Sprint.
Yurik added subscribers: Yurik, MaxSem, mobrovac.

I don't have access there, but this log line makes me think the problem might be in the configuration. Is the config using absolute or relative paths? If it's the latter, perhaps the wrong dir is used at the root?

Also, make sure service-runner's at the latest version (0.2.10)

Update: the service runs as a single instance, but fails as ncpu. This might be related to the fact that mapnik shared lib is used by a large number of npms

Yurik claimed this task.

I had to refactor the code to avoid 10+ different singleton instances of mapnik, and now it starts ok.