I am having some problems with memcached and one idea I am having is that perhaps it is already running on the port I am trying to run it on, started by some other user on our network. Is there a way to tell what memcached ports are currently in use?
A:
try
netstat -ap | grep TheChosenPort
and see if anything is listening on those tcp or udp ports.
Sean A.O. Harney
2009-11-06 23:34:20
A:
If you're asking this question, it sounds like you're running a really old version. If you did this on a recent version, you'd see this:
% ./memcached
failed to listen on TCP port 11211: Address already in use
Dustin
2009-11-07 19:10:50