Description
currently the shutdown function in the linux init script does a kill on the membase-server process
DAEMON=/opt/membase/bin/membase-server
PIDFILE=/opt/membase/var/lib/membase/membase-server.pid
However, the memcached process continues to run in some cases and the script reports successful in terms of shutting down membase. This can be misleading as memcached may be working off the disk write queue. This can be problematic in cases where the user thinks its safe to shutdown the machine or even re-install when the process is still doing something.
please modify the script so that it either:
- does not return a successful stop if memcached is still running
- or allow memcached to finish gracefully and report that instead of firing off a kill to the parent process.