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

Warn imperial monitors plugins are incompatible with Broodlord #470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Warn imperial monitors plugins are incompatible with Broodlord #470

wants to merge 1 commit into from

Conversation

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
[1].

For example, if the uWSGI configuration 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]

More details are available in
unbit/uwsgi#2166.

[1] https://github.com/unbit/uwsgi/blob/d22a189c4dce0c1f90c31b9687902572d9d0b438/core/emperor.c#L115-L134

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
[1].

For example, if the uWSGI configuration 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]
```

More details are available in
unbit/uwsgi#2166.

[1] https://github.com/unbit/uwsgi/blob/d22a189c4dce0c1f90c31b9687902572d9d0b438/core/emperor.c#L115-L134
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

Successfully merging this pull request may close these issues.

1 participant