Memcached is listening only in one port. But still the other port shows 'address already in use'. This happens only in freebsd. Is this a bug that i hit upon?
On Tue, Mar 25, 2008 at 11:12 AM, Dustin Sallings <[EMAIL PROTECTED]> wrote: > > On Mar 24, 2008, at 22:26, golak Sarangi wrote: > > > I have been using memcache on a freebsd system smoothly for few > > months. But now on trying to start two instances of memcache on same > > system but on different port i get the following errors > > > > bind(): Address already in use > > failed to listen > > > > I am using port 11211 and 11212 for two instances. there is nothing > > else running on those ports. > > i tried the same thing on debian system and it worked fine. > > Could anyone guide me through it? > > I'd expect the following command to show you something listening > there. > > netstat -an | grep 11211 > > If you have lsof, ``lsof -i | grep LIST'' should show you listening > sockets and the processes that are listening on them. > > > -- > Dustin Sallings > > > >
