Giter VIP home page Giter VIP logo

Comments (9)

ewoutp avatar ewoutp commented on May 30, 2024

Is there any more context, logs, anything?

from arangodb.

neunhoef avatar neunhoef commented on May 30, 2024

I need to investigate to find out.

from arangodb.

kishorel avatar kishorel commented on May 30, 2024

@neunhoef, Found any solution to this?

I have started my three node cluster on linux using arangodb utility and one of the server went down due to maintenance, so all the three process (agent,coordniator and dbserver) seem to be stopped. I had to remove everything and re configure the cluster.It is really hampering.

i could see the below processes when server went down.

root      1320  1253  0 11:44 ?        00:00:00 /usr/sbin/arangod --uid arangodb --gid arangodb --log.foreground-tty false --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --supervisor

root      1321  1320  0 11:44 ?        00:00:00 /usr/sbin/arangod --uid arangodb --gid arangodb --log.foreground-tty false --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --supervisor

arangodb  1322  1321 11 11:44 ?        00:00:00 /usr/sbin/arangod --uid arangodb --gid arangodb --log.foreground-tty false --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --supervisor

Please help.We are planning to move on to production.

Thanks and Regards,
Kishore.

from arangodb.

kishorel avatar kishorel commented on May 30, 2024

I think i should create a new issue. Creating one

from arangodb.

sleto-it avatar sleto-it commented on May 30, 2024

@neunhoef Max, I always get confusing messages when trying to shutdown the cluster on windows

To reproduce: start a cluster using the starter, then ctr+c to stop it:

2017/11/01 10:16:02 Shutting down services...
2017/11/01 10:16:02 Failed to terminate coordinator: not supported by windows
2017/11/01 10:16:04 coordinator has terminated
2017/11/01 10:16:04 Failed to terminate dbserver: not supported by windows
2017/11/01 10:16:05 agent has terminated
2017/11/01 10:16:09 dbserver has terminated
2017/11/01 10:16:12 Failed to terminate agent: invalid argument

The shutdown is successful - just the above confusing messages are printed

Thanks,

from arangodb.

neunhoef avatar neunhoef commented on May 30, 2024

from arangodb.

OmarAyo avatar OmarAyo commented on May 30, 2024

In addition to what Santo said, please also note that for the shutdown to be successful you have to press CTRL + C several times, as one seems not to be enough.

Is this expected?

from arangodb.

Simran-B avatar Simran-B commented on May 30, 2024

Pressing Ctrl+C once seems to start the shutdown sequence:

Received signal: interrupt
2018/06/19 19:57:45 Shutting down services...
2018/06/19 19:57:45 Failed to terminate coordinator: not supported by windows
2018/06/19 19:57:47 agent has terminated
2018/06/19 19:57:50 coordinator has terminated
2018/06/19 19:57:50 Failed to terminate dbserver: not supported by windows
2018/06/19 19:57:52 dbserver has terminated
2018/06/19 19:57:55 Failed to terminate agent: invalid argument

But then it hangs there. You have to press Ctrl+C again at that point to actually terminate it:

Received signal: interrupt

C:\Demo>

Pressing Ctrl+C more often shouldn't be necessary, unless you want to fake an unexpected shutdown I guess? Although that might just be the arangodb executable that gets killed, not the server process.

from arangodb.

sleto-it avatar sleto-it commented on May 30, 2024

reporting status with more recent version, 3.4.5, using arangodb stop on windows:

the command hangs, and the arangodb log prints

2019-05-21T05:24:56-07:00 |INFO| Shutting down services... component=arangodb
2019-05-21T05:24:56-07:00 |WARN| Failed to terminate coordinator component=arangodb error="not supported by windows"

and the coordinator, agent and dbserver are still up

from arangodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.