Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-661

Log fills with 'Length (0) is 0 or query string allocation failed'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4.2
    • Component/s: schemarouter
    • Labels:
      None
    • Environment:
      3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64 GNU/Linux

      Description

      /var/log/maxscale/maxscale1.log fills up with the following:

      2016-04-04 14:58:51   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:58:51   error  : Unable to parse query, out of resources?
      2016-04-04 14:58:58   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:58:58   error  : Unable to parse query, out of resources?
      2016-04-04 14:58:59   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:58:59   error  : Unable to parse query, out of resources?
      2016-04-04 14:58:59   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:58:59   error  : Unable to parse query, out of resources?
      2016-04-04 14:59:00   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:59:00   error  : Unable to parse query, out of resources?
      2016-04-04 14:59:00   error  : Length (0) is 0 or query string allocation failed ((nil)). Buffer is 5 bytes.
      2016-04-04 14:59:00   error  : Unable to parse query, out of resources?
      

      Current config:

      [maxscale]
      threads=4
       
      [Debug_Interface]
      type=service
      router=debugcli
       
      [Debug_Listener]
      type=listener
      service=Debug_Interface
      protocol=telnetd
      address=0.0.0.0
      port=4442
       
      [CLI]
      type=service
      router=cli
       
      [CLI_Listener]
      type=listener
      service=CLI
      protocol=maxscaled
      address=0.0.0.0
      port=6603
       
      [DB_Listener]
      type=listener
      service=DB_RW
      protocol=MySQLClient
      address=0.0.0.0
      port=3306
      socket=/var/run/maxscale/maxscale.sock
       
      [DB_RW]
      type=service
      router=schemarouter
      servers=galera_1,galera_2,galera_3,Local_DB
      user=root
      passwd=password
      auth_connect_timeout=28800
      auth_read_timeout=28800
      auth_write_timeout=28800
      enable_root_user=1
      weightby=myweight
      ignore_databases_regex=.*
      max_sescmd_history=5
       
      [Local_DB]
      type=server
      address=127.0.0.1
      port=3307
      protocol=MySQLBackend
      myweight=50
       
      [galera_1]
      type=server
      address=galeratest1.intern
      port=3306
      protocol=MySQLBackend
      myweight=10
       
      [galera_2]
      type=server
      address=galeratest2.intern
      port=3306
      protocol=MySQLBackend
      myweight=20
       
      [galera_3]
      type=server
      address=galeratest3.intern
      port=3306
      protocol=MySQLBackend
      myweight=10
       
      [Galera_Monitor]
      type=monitor
      module=galeramon
      disable_master_failback=1
      servers=galera_1, galera_2, galera_3
      monitor_interval=10000
      user=root
      passwd=password
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markus makela markus makela
              Reporter:
              sschueller Stefan Schüller
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: