couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Kuprianov <andrey.koupria...@gmail.com>
Subject Re: Couchdb service script does not stop the service
Date Fri, 09 Aug 2013 10:45:20 GMT
@MIke: Thanks. You are right, there's one :)

@Robert: In the future, if such thing happens, how do i dump couchdb
dangling process info for you guys, so you can analyze what went wrong?


On Fri, Aug 9, 2013 at 5:40 PM, Mike Marino <mmarino@gmail.com> wrote:

> Yes, there's a heartbeat process that restarts the server if it dies (or is
> killed).  Try
>
> ps -ef | grep couch
>
> and you should see the heartbeat process.
>
> Cheers,
> Mike
>
>
> On Fri, Aug 9, 2013 at 12:37 PM, Andrey Kuprianov <
> andrey.kouprianov@gmail.com> wrote:
>
> > I tried killing beam, but it was starting over and over again. There's a
> > heartbeat process for couch, isnt there?
> >
> >
> >
> > On Fri, Aug 9, 2013 at 4:52 PM, Robert Newson <rnewson@apache.org>
> wrote:
> >
> > > check the pidfile (might be empty). If so, just kill the beam.smp
> > > processes. There's a known issue with pidfile management on first
> > > startup on some OS's.
> > >
> > > B.
> > >
> > >
> > > On 9 August 2013 10:45, Andrey Kuprianov <andrey.kouprianov@gmail.com>
> > > wrote:
> > > > Hi guys,
> > > >
> > > > Im having trouble stopping couchdb service using the 'service couchdb
> > > > stop'. I've just installed fresh couhdb-1.3.1 with couchdb-lucene
> > 0.10.0
> > > on
> > > > Ubuntu 12.04 LTS and saw that couchdb log is full of eaddrinuse error
> > > again.
> > > >
> > > > netstat -anlp | grep 5984 was showing this:
> > > >
> > > > tcp        0      0 0.0.0.0:5984            0.0.0.0:*
> > > LISTEN
> > > >      30992/beam.smp
> > > > tcp        0      0 10.248.7.104:34314      10.248.14.201:5984
> > > >  ESTABLISHED 30992/beam.smp
> > > > tcp        0      0 10.248.7.104:41687      10.248.14.201:5984
> > > >  TIME_WAIT   -
> > > > tcp        0      0 10.248.7.104:39102      10.248.14.201:5984
> > > >  ESTABLISHED 30992/beam.smp
> > > >
> > > > The service script also doesnt print out any status about whether
> couch
> > > is
> > > > running or not, so it seems like it's a dangling process. Any ideas?
> > > >
> > > >   Andrey
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message