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 writer possibly hanging

database writer possibly hanging

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 25.3k 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.
  • M
    M
    mgthump
    wrote on last edited by
    #1

    I've been having a problem where my netxms service seems to be running but stops recording data after an hour or two.    I've tried turning off discovery, and playing with the collector values, i haven't had any success in resolving this. 

    here is what my queues look like in the morning after its freezes up:

    netxmsd: show queues
    Data collector                  : 0
    DCI cache loader                : 0
    Template updates                : 0
    Database writer                    : 1146
    Database writer (IData)          : 4742949
    Database writer (raw DCI values) : 34542
    Event processor                    : 799
    Event log writer                    : 656
    Poller                                    : 1181
    Node discovery poller            : 0
    Syslog processing                : 0
    Syslog writer                        : 0
    Scheduler                            : 0

    when it's working normally, my raw DCI values will jump to 10,000 or so, but quickly go back to zero, Idata will do the same even log writer seems to fluctuate up to 1,000 sometimes and very slowly comes back. usually, I see less than 100 for the log writer.

    where should I check next?

    Thanks!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      you probably should check database health and performance first - it could be that for some reason database is unable to handle INSERTs for collected data. Also, check that database connection pool is not exhausted (you can check log file for DB connection pool related errors as well as check active pool connections with show dbcp command in server debug console). You may also try to increase value of server configuration parameter DBWriter.DataQueues.

      Best regards,
      Victor

      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