mysqlexec/db server: Lost connection to MySQL server during query #310
-
^MVuser 33:Orders Done HammerDB4.2[root@benchmark-pv6dd configmap]# cat build_hammer.tcl print dict |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 16 replies
-
The error here is:
So the monitor virtual user will connect, create the user and tables (load the item table) and then wait for the other virtual users to finish. Once complete, it will then create the stored procedures. It looks like your monitor virtual user was disconnected whilst waiting. Check timeout values to ensure that the monitor virtual user will not be forcibly disconnected. Also verify that the load time is in expected values e.g. see #295 Here for TPROC-C 800WH with 64VUs mariadb took 20 min 46 secs to load with the original loading script. If it is taking a lot longer verify your configuration and try reducing the number of virtual users from 128. |
Beta Was this translation helpful? Give feedback.
-
Here is new findings ubuntu@node1: |
Beta Was this translation helpful? Give feedback.
-
Attach configuration Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License, version 2.0,as published by the Free Software Foundation.This program is also distributed with certain software (includingbut not limited to OpenSSL) that is licensed under separate terms,as designated in a particular file or component or in included licensedocumentation. The authors of MySQL hereby grant you an additionalpermission to link the program and your derivative works with theseparately licensed software that they have included with MySQL.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License, version 2.0, for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USAThe MySQL Server configuration file.For explanations seehttp://dev.mysql.com/doc/mysql/en/server-system-variables.html[mysqld] general#port=3306 filesinnodb_log_file_size=1024M #1024M buffersinnodb_buffer_pool_size=64000M #64000M tuneinnodb_doublewrite=0 #0 perf specialinnodb_adaptive_flushing=1 #1 FIX cloud issue 'Error in Virtual User 1: mysqlexec/db server: Lost connection to MySQL server during query'connect_timeout=86400 log-error=/var/log/mysql/error.log |
Beta Was this translation helpful? Give feedback.
-
Actually the parameters DOESN'T work |
Beta Was this translation helpful? Give feedback.
-
Actually from my point of view on the logic: Why not create store procedure before loading the table data? mysqloltp.tcl |
Beta Was this translation helpful? Give feedback.
-
Got an error reading communication packets is from your TCP/IP configuration and out of scope for HammerDB support. |
Beta Was this translation helpful? Give feedback.
-
yes,we can set wait_timeout=28800 in my.cnf,then hammerdb will be run without the problem. |
Beta Was this translation helpful? Give feedback.
The error here is:
mysqlexec/db server: Lost connection to MySQL server during query
So the monitor virtual user will connect, create the user and tables (load the item table) and then wait for the other virtual users to finish. Once complete, it will then create the stored procedures. It looks like your monitor virtual user was disconnected whilst waiting.
Check timeout values to ensure that the monitor virtual user will not be forcibly disconnected. Also verify that the load time is in expected values e.g. see #295
Here for TPROC-C 800WH with 64VUs mariadb took 20 min 46 secs to load with the original loading script. If it is taking a lot longer verify your configuration and try reducin…