Coder Social home page Coder Social logo

Comments (5)

humblec avatar humblec commented on August 30, 2024

/assign @@SaravanaStorageNetwork

from gluster-containers.

humblec avatar humblec commented on August 30, 2024

@phlogistonjohn not sure about the systemctl blocking behaviour. Atleast in @SaravanaStorageNetwork testing its not the case. But nothing stopping us from using kill . Leaving for further thoughts from @SaravanaStorageNetwork.

from gluster-containers.

SaravanaStorageNetwork avatar SaravanaStorageNetwork commented on August 30, 2024

@phlogistonjohn I have tested this locally - have not observed any deadlock issue.
I think one reason may be due the "Type" used.
Here, I am using the Type as simple and hence no issue.

Refer this:
https://unix.stackexchange.com/questions/359941/starting-systemd-service-inside-systemd-service-causes-deadlock

I think it is better to use systemd to stop rather than kill.

from gluster-containers.

phlogistonjohn avatar phlogistonjohn commented on August 30, 2024

I think that using systemd various mechanisms to make one service fail if another service fails is probably the right way to go.
But this is just calling systemctl & I'm just nervous that even though it worked for you we might run into issues in other deployments...
If we can get an opinion from @raghavendra-talur that says its OK to keep this approach I'll back off (for now >:-D)

from gluster-containers.

humblec avatar humblec commented on August 30, 2024

Closing as per previous commment.

from gluster-containers.

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.