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

Imperial monitor plugins are incompatible with Broodlord mode #2166

Open
francoisfreitag opened this issue May 15, 2020 · 0 comments
Open

Imperial monitor plugins are incompatible with Broodlord mode #2166

francoisfreitag opened this issue May 15, 2020 · 0 comments

Comments

@francoisfreitag
Copy link

The uwsgi_emperor_spawn_vassal() function is responsible for starting new vassals. It constructs arguments for the vassal in the vassal_new_argv() function, based on the configuration file extension.

For example, if the uWSGI config file is named django-001.ini, it passes --ini django-001.ini to the new vassal. The Zergs thus expect to find their config in the emperor filesystem directory. Since the INI file does not exist, Zergs are prevented from spawning and complain with:

realpath() of django-001.ini failed: No such file or directory [core/utils.c line 3651]

This can be worked around by adding a INI file for the Zerg configuration in the emperor directory (usually /etc/uwsgi.d) and telling the emperor to watch that directory. However, it partially negates the benefits of the emperor monitoring an external source, because it adds a dependency on the emperor filesystem.

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

1 participant