[MB-3628] memcached process is not killed when uninstall is run when memcached persistent queue is still processing data Created: 15/Apr/11 Updated: 10/Jan/13 Resolved: 16/May/11
|Affects Version/s:||1.7 alpha 1|
|Reporter:||Thuan Nguyen||Assignee:||Steve Yen|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Environment:||ubuntu 10.04 64bit|
When uninstall membase server version membase-server-enterprise_x86_64_v0.0.0-176-g1a77283.deb, the uninstall proccess does not kill memcached.
|Comment by Thuan Nguyen [ 15/Apr/11 ]|
|Test on build 177. I don't see memcached process after uninstall membase server|
|Comment by Thuan Nguyen [ 03/May/11 ]|
I still see membase serice after uninstall membase server version basestar-182 in ubuntu 1004 32bit|
|Comment by Steve Yen [ 06/May/11 ]|
The remaining process is an epmd process, which is not the memcached process, but is instead the erlang port mapper daemon (epmd).|
There's already some older bug which covers the issue that epmd is still running after an uninstall on linux, so marking this one as a duplicate.
|Comment by Steve Yen [ 07/May/11 ]|
Hearing more instances of this still since yesterday.|
Farshid is adding 'ps' output to the test suite so we can get more proof.
|Comment by Farshid Ghods [ 16/May/11 ]|
this behavior is expected so that we dont lose any data during uninstallation.
the workaround is that the user
1- do not uninstall membase if its still processing data in the persisten queue
2- run killall -9 memcached after uninstall but before reinstallation
|Comment by Steve Yen [ 16/May/11 ]|
Killing memcached harshly would lose customer data (items in the persistence queue that are still waiting to drain to disk).|
Although an uninstall is a strong user command, the "do no harm (do no data loss)" philosophy seems to be the safe choice.