Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1184

Sessions not being closed properly

    XMLWordPrintableJSON

Details

    Description

      Currently I see a lot of these messages popping up in the server log:

      INFO  00:08:33,402  - Session a70d0aeb-92e2-4ff7-88cf-14108e7533d3 has been idle for more than 28800000 milliseconds - preparing to close
      INFO  00:08:33,402  - Session a70d0aeb-92e2-4ff7-88cf-14108e7533d3 closed
      

      I started a bulk loading job more than 8 hours ago, so it seems that it's now closing all the sessions that I ever created. Hoever, I'm confident that I'm closing sessions properly in my code:

              try
              {
                  // commit transaction
              }
              catch (Exception ex)
              {
                  // handle exception
              }
              finally
              {
                  client.close();
                  client = null;
              }
      

      Even if the client.close() call would fail, I should also see different messages about leaked client connections in the log, but that's not the case.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            dkuppitz Daniel Kuppitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: