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

If module is compiled, but not configured, causes signal 11 error #1

Open
mgmonteleone opened this issue Aug 18, 2016 · 1 comment
Open

Comments

@mgmonteleone
Copy link

Nginx 1.11.3

if you compile in the nginx-http-json-log, but do not configure it , nginx crashes on every request, causing random dropped requests. Everything works fine if you configure the module.

2016/08/18 16:01:04 [alert] 1#0: worker process 1617 exited on signal 11 (core dumped) 2016/08/18 16:01:04 [alert] 1#0: worker process 1614 exited on signal 11 (core dumped) 2016/08/18 16:01:04 [alert] 1#0: worker process 1616 exited on signal 11 (core dumped) 2016/08/18 16:01:29 [alert] 1#0: worker process 1620 exited on signal 11 (core dumped) 2016/08/18 16:01:34 [alert] 1#0: worker process 1619 exited on signal 11 (core dumped) 2016/08/18 16:01:59 [alert] 1#0: worker process 1621 exited on signal 11 (core dumped) 2016/08/18 16:02:05 [alert] 1#0: worker process 1622 exited on signal 11 (core dumped) 2016/08/18 16:02:29 [alert] 1#0: worker process 1624 exited on signal 11 (core dumped) 2016/08/18 16:02:34 [alert] 1#0: worker process 1618 exited on signal 11 (core dumped) 2016/08/18 16:02:59 [alert] 1#0: worker process 1625 exited on signal 11 (core dumped) 2016/08/18 16:03:04 [alert] 1#0: worker process 1626 exited on signal 11 (core dumped) 2016/08/18 16:03:29 [alert] 1#0: worker process 1623 exited on signal 11 (core dumped) 2016/08/18 16:03:35 [alert] 1#0: worker process 1628 exited on signal 11 (core dumped)

After 18 hours of debugging, we figured it out.

We now officially call this "JMS" or Jealous Module Syndrome. If you complile it in but have the hubris not to use it...... take care!

@pedrohdz
Copy link

Same issue here with a custom deb package build: nginx version: nginx/1.10.0 (Ubuntu).

@mgmonteleone, if you happen to be up to Nginx 1.11.8, you should checkout the new escape=json option in log_format :

I have not tried it out yet, but seems promising.

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

2 participants