Menu

Multiple persistant connections on boot

Help
Tracy
2004-12-21
2013-04-17
  • Tracy

    Tracy - 2004-12-21

    I have installed the 1.3 version of libnss-mysql from rpm and from source with the same results.  Everything works as expected except that whenever the server is rebooted, libnss-mysql opens multiple (10-15?) persistant connections to my database.  If I install libnss-mysql and use it without rebooting only one persistant connection is created.  It's almost like the libnss-mysql can not see the database immediatly when the sytem is booting so it just keeps trying to open new persistant connections, then the database appears and all the persistant connections become active.  Again this is only a problem with rebooting.  Does anyone have any ideas?

     
    • Tracy

      Tracy - 2004-12-21

      I think these just must be the result of applications starting on boot.  I'll have to increase the amount of connections allowed per host and set the wait time down and see what happens.

       
      • Ben Goodwin

        Ben Goodwin - 2004-12-22

        You are correct.  Many daemons/processes will ask for a username only once in a great while, and often only at startup.  Your solution should do the trick.

        The FSSOS project I'm now working on solves this issue by the way.  I just released 0.4, which should be pretty stable on linux.

         

Log in to post a comment.