Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-02-28T22:09:10ZPulp
Planio Pulp - Issue #440 (CLOSED - WONTFIX): Restarting Pulp after changing concurrency left stale workershttps://pulp.plan.io/issues/4402015-02-28T22:09:10Zakrzos@redhat.comakrzos@redhat.com
<p>Description of problem:<br>
Change PULP_CONCURRENCY in /etc/default/pulp_workers prior to restarting pulp_resource_manager, pulp_workers, pulp_celerybeat has left several stale workers on my machine.</p>
<p>Version-Release number of selected component (if applicable):<br>
mod_wsgi-3.4-1.pulp.el6sat.x86_64<br>
pulp-puppet-tools-2.4.0-0.18.beta.el6sat.noarch<br>
m2crypto-0.21.1.pulp-10.el6sat.x86_64<br>
pulp-rpm-plugins-2.4.0-0.18.beta.el6sat.noarch<br>
pulp-katello-plugins-0.3-1.el6sat.noarch<br>
python-pulp-rpm-common-2.4.0-0.18.beta.el6sat.noarch<br>
python-pulp-bindings-2.4.0-0.18.beta.el6sat.noarch<br>
createrepo-0.9.9-21.2.pulp.el6sat.noarch<br>
python-pulp-common-2.4.0-0.18.beta.el6sat.noarch<br>
pulp-server-2.4.0-0.18.beta.el6sat.noarch<br>
pulp-nodes-parent-2.4.0-0.18.beta.el6sat.noarch<br>
pulp-nodes-common-2.4.0-0.18.beta.el6sat.noarch<br>
pulp-selinux-2.4.0-0.18.beta.el6sat.noarch<br>
python-isodate-0.5.0-1.pulp.el6sat.noarch<br>
python-pulp-puppet-common-2.4.0-0.18.beta.el6sat.noarch<br>
python-kombu-3.0.15-5.pulp.el6sat.noarch<br>
pulp-puppet-plugins-2.4.0-0.18.beta.el6sat.noarch</p>
<p>How reproducible:<br>
Always</p>
<p>Steps to Reproduce:<br>
1. change PULP_CONCURRENCY to < available cores on machine in /etc/default/pulp_workers while pulp is running<br>
2. service pulp_resource_manager restart; service pulp_workers restart; service pulp_celerybeat restart;<br>
3. view processes to see if stale processes remain</p>
<p>Actual results:<br>
Pulp only stops and restarts the number of workers as set to PULP_CONCURRENCY.</p>
<p>Expected results:<br>
Pulp should stop all Pulp workers and start only the number specified in PULP_CONCURRENCY or if the value is commented out then the default.</p>
<p>Additional info:</p>
<p>+ This bug was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1102369" class="external">Bugzilla Bug #1102369</a> +</p>