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

Poller stop sometimes let processes running #1052

Open
mohierf opened this issue Nov 15, 2018 · 0 comments
Open

Poller stop sometimes let processes running #1052

mohierf opened this issue Nov 15, 2018 · 0 comments

Comments

@mohierf
Copy link
Contributor

mohierf commented Nov 15, 2018

Stopping Alignak do not always stop all running processes ...

$ service alignak stop
$ cat poller-poller_master.log
[2018-11-15 02:41:53] INFO: [poller-master.alignak.daemon] Daemon poller-master is living: loop #43201 ;)
[2018-11-15 03:37:08] INFO: [poller-master.alignak.daemon] received a signal: SIGTERM
[2018-11-15 03:37:08] INFO: [poller-master.alignak.daemon] request to stop the daemon
[2018-11-15 03:37:08] INFO: [poller-master.alignak.daemon] Someone asked us to stop now
[2018-11-15 03:37:08] INFO: [poller-master.alignak.daemon] stopped main loop: 1542253028.56
[2018-11-15 03:37:08] INFO: [poller-master.alignak.satellite] Exited from the main loop.
[2018-11-15 03:37:08] INFO: [poller-master.alignak.satellite] Stopping all workers (7)
[2018-11-15 03:37:08] INFO: [poller-master.alignak.satellite]  - stopping 'fork_7'
[2018-11-15 03:37:09] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:09] INFO: [poller-master.alignak.satellite]  - stopping 'fork_6'
[2018-11-15 03:37:10] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:10] INFO: [poller-master.alignak.satellite]  - stopping 'fork_5'
[2018-11-15 03:37:11] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:11] INFO: [poller-master.alignak.satellite]  - stopping 'fork_4'
[2018-11-15 03:37:12] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:12] INFO: [poller-master.alignak.satellite]  - stopping 'fork_3'
[2018-11-15 03:37:13] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:13] INFO: [poller-master.alignak.satellite]  - stopping 'fork_2'
[2018-11-15 03:37:14] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:14] INFO: [poller-master.alignak.satellite]  - stopping 'fork_1'
[2018-11-15 03:37:15] INFO: [poller-master.alignak.satellite] stopped
[2018-11-15 03:37:15] INFO: [poller-master.alignak.daemon] Stopping poller-master...
[2018-11-15 03:37:15] INFO: [poller-master.alignak.daemon] Shutting down synchronization manager...
[2018-11-15 03:37:15] INFO: [poller-master.alignak.daemon] Shutting down modules manager...
[2018-11-15 03:37:15] INFO: [poller-master.alignak.modulesmanager] Shutting down modules...
[2018-11-15 03:37:15] INFO: [poller-master.alignak.daemon] Shutting down HTTP daemon...
root@alignak_julien:~/mod-webui # ps -aux | grep alignak
alignak 88716  0.0  0.2 329084 105536  -  IJ   14:39    1:06.15 python2.7: alignak-poller-master worker fork_1 (python2.7)
alignak 88718  0.0  0.2 329096 105656  -  IJ   14:39    1:06.24 python2.7: alignak-poller-master worker fork_2 (python2.7)
alignak 88719  0.0  0.2 329108 105700  -  IJ   14:39    1:06.43 python2.7: alignak-poller-master worker fork_3 (python2.7)
alignak 88720  0.0  0.2 329120 105704  -  IJ   14:39    1:06.30 python2.7: alignak-poller-master worker fork_4 (python2.7)
alignak 88721  0.0  0.2 329132 105748  -  IJ   14:39    1:06.33 python2.7: alignak-poller-master worker fork_5 (python2.7)
alignak 88722  0.0  0.2 329144 105792  -  IJ   14:39    1:06.37 python2.7: alignak-poller-master worker fork_6 (python2.7)
alignak 88723  0.0  0.2 329156 105688  -  IJ   14:39    1:06.50 python2.7: alignak-poller-master worker fork_7 (python2.7)
root     2643  0.0  0.0   8328   1908  0  I+J  07:31    0:12.00 tail -f /var/log/alignak/alignak-events.log /var/log/alignak/arbiter-arbiter_master.log /var/log/a
root    95013  0.0  0.0  14828   2056  7  S+J  03:37    0:00.00 grep alignak

The poller worker processes are not stopped ...

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