Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55405

cbcollect - 250MB completed_requests.json failing to be loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • ns_server

    Description

      Nutshell is failing to process recent Yubo logs due to a large completed_requests file. Looking at the document, when reading completed requests, cbcollect times out after 60 seconds and leaves the file as a half completed json, with the end looking like so:

      "state":"`['curl', '-sS', '-k', '--proxy', '', '-K-', 'http://127.0.0.1:8093/query/service?statement=SELECT%20requests.%2A%2C%20%22%3Cud%3E%22%7C%7Crequests.statement%7C%7C%22%3C/ud%3E%22%20AS%20statement%2C%20%22%3Cud%3E%22%7C%7Crequests.preparedText%7C%7C%22%3C/ud%3E%22%20AS%20preparedText%2C%20%22%3Cud%3E%22%7C%7Cencode_json%28meta%28%29.plan%29%7C%7C%22%3C/ud%3E%22%20AS%20plan%2C%20%22%3Cud%3E%22%7C%7Cencode_json%28requests.namedArgs%29%7C%7C%22%3C/ud%3E%22%20AS%20namedArgs%2C%20%22%3Cud%3E%22%7C%7Cencode_json%28requests.positionalArgs%29%7C%7C%22%3C/ud%3E%22%20AS%20positionalArgs%2C%20%22%3Cud%3E%22%7C%7Crequests.users%7C%7C%22%3C/ud%3E%22%20AS%20users%20FROM%20system%3Acompleted_requests%20AS%20requests%3B']` timed out after 60 seconds 

      This is not parsable as json.

      Affected log

      [s3://cb-customers-secure/yubo/17265/2023-02-02/collectinfo-2023-02-02t145824-ns_1@h5tuflgj1oohfkot.og7ch-ohtnvfijzg.cloud.couchbase.com-redacted.zip]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andrew.middleton Andrew Middleton
            andrew.middleton Andrew Middleton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty