Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Database Connection Pool exhausted, fallback connection used

Database Connection Pool exhausted, fallback connection used

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 29.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    sperlm
    wrote on last edited by
    #1

    Hello,

      this problem is probably what caused (and still is the cause of) my problems with creating Network Maps. Maybe not but whenever server is restarted, there are normal messages in the logfile. As soon as I try to create new map (and fail due to timeout) log starts filling with this message "Database Connection Pool exhausted, fallback connection used".

    We are running NetXMS 1.2.10 and MySQL 5.1.69, both on the same CentOS machine.

    What can be the problem ?

    With regards
    Milan Sperl

    edit: the messages start appearing anyway, restarted sql and checked database (no direct connection to the map creation problem)

    1 Reply Last reply
    0
    • L
      L
      Lukas
      wrote on last edited by
      #2

      "Database Connection Pool exhausted, fallback connection used" is more like a warning that the connection pool has insufficient size and additional connection to database needs to be established. Maybe it is a consequence of some other problem, but as far as I know, this alone should not cause client request timeout.
       
      Size of the connection pool is controlled by server configuration variable ConnectionPoolMaxSize, message should disappear if you increase it.
      When I leave it at the default size, this message appears about 5 times during the netxms start in my setup.

      Hope it helps,
      Lukas

      1 Reply Last reply
      0
      • S
        S
        sperlm
        wrote on last edited by
        #3

        Thanks for the pointer to ConnectionPoolMaxSize, tried increasing to 50 (from 20) and it looks like it stopped the message. Too bad it is not tied to the timeout problem with network maps.

        Few months back this message wasnt appearing which worries me a bit because apart from reducing number of DCI and history the only major change I can think of is turning on the syslog server.

        Will have to keep on testing, too bad the network creation sometimes works great but most of the time there is the timeout problem - what is really strange, creating layer 2 topology from a node opens network map stright ahead...

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups