Public bug reported: Binary package hint: memcached
I have noticed that sometimes on a production memcached service the restart command is not always reliable. If the memcached process has allocated a lot of memory, it sometimes take a little while to shut down. The init.d script seems to approach this by inserting a "sleep 1" between the stop and start operations, but that's not always enough. When the memcached service is started again it will fail to start with the error "failed to listen on TCP port XXXXX: Address already in use" since the dying process still owns the port. Release: Ubuntu 10.10 memcached: Installed: 1.4.5-1ubuntu1 Candidate: 1.4.5-1ubuntu1 Version table: *** 1.4.5-1ubuntu1 0 500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: memcached (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to memcached in Ubuntu. https://bugs.launchpad.net/bugs/795673 Title: init.d restart operation can fail without proper notice if the memcached process takes a long time (> 1s) to shut down To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/memcached/+bug/795673/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs