update-status hook failed with "su: Cannot fork user shell" - number of collect_rabbitmq_stats.sh processes increases over time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
Undecided
|
Hua Zhang |
Bug Description
collect_
How to (forcibly) reproduce:
$ juju deploy rabbitmq-server
$ juju deploy nrpe
$ juju deploy nagios
$ juju add-relation nrpe:nrpe-
$ juju add-relation nagios:monitors nrpe:monitors
Then, replace "/usr/sbin/
Edit /etc/cron.
*/1 * * * * root /usr/local/
17:20 0:00 \_ /usr/sbin/CRON -f
17:20 0:00 | \_ /bin/sh -c /usr/local/
17:20 0:00 | \_ /bin/bash /usr/local/
17:20 0:00 | \_ /bin/bash /usr/local/
17:20 0:00 | \_ sleep 30m
17:25 0:00 \_ /usr/sbin/CRON -f
17:25 0:00 | \_ /bin/sh -c /usr/local/
17:25 0:00 | \_ /bin/bash /usr/local/
17:25 0:00 | \_ /bin/bash /usr/local/
17:25 0:00 | \_ sleep 30m
17:30 0:00 \_ /usr/sbin/CRON -f
17:30 0:00 | \_ /bin/sh -c /usr/local/
17:30 0:00 | \_ /bin/bash /usr/local/
17:30 0:00 | \_ /bin/bash /usr/local/
17:30 0:00 | \_ sleep 30m
17:35 0:00 \_ /usr/sbin/CRON -f
17:35 0:00 | \_ /bin/sh -c /usr/local/
17:35 0:00 | \_ /bin/bash /usr/local/
17:35 0:00 | \_ /bin/bash /usr/local/
17:35 0:00 | \_ sleep 30m
17:37 0:00 \_ /usr/sbin/CRON -f
17:37 0:00 \_ /bin/sh -c /usr/local/
17:37 0:00 \_ /bin/bash /usr/local/
17:37 0:00 \_ lockfile-create -r2 --lock-name /var/lock/
summary: |
- update-status hook failed with "su: Cannot fork user shell" + update-status hook failed with "su: Cannot fork user shell" - number of + collect_rabbitmq_stats.sh processes increases over time |
description: | updated |
description: | updated |
tags: | added: canonical-bootstack |
tags: | added: cpec |
tags: |
added: cpe-onsite removed: onsite |
tags: | added: backport-potential sts |
Changed in charm-rabbitmq-server: | |
assignee: | nobody → Hua Zhang (zhhuabj) |
Changed in charm-rabbitmq-server: | |
milestone: | none → 17.11 |
Changed in charm-rabbitmq-server: | |
status: | New → In Progress |
tags: | removed: cpec |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
lsof output right now. But not sure about the exact cause yet.
$ sudo lsof -n | grep -c rabbitmq debug/tracing
lsof: WARNING: can't stat() tracefs file system /sys/kernel/
Output information may be incomplete.
427029