Its is very easy to restart memcached under Linux. You can just grep the memcached process and kill the process id just shown below

[root@pwas2 ~]# ps -ax | grep memcached
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
 6478 ?        Ss   1480:39 /usr/bin/memcached -d -m 1024 -u root
17601 pts/1    S+     0:00 grep memcached
Kill 6478

Post By Editor (2,827 Posts)

Website: →