June 19, 2013

Comment: Connecting orphaned .ibd files

… “innochecksum” and starting the server and trying: > use database; > desc bad_table; > > ERROR 2006 (HY000): MySQL server has gone away > No connection. Trying to reconnect… > Connection id: 3 > Current database: database > ERROR 2006 (HY000): MySQL server has gone away > No…

Comment: SystemTap - DTrace for Linux ?

… problems. 1. The client session will be disconnected (MySQL server has gone away) after the SystemTap script is started or terminated. test@localhost…) test@localhost [(none)]>select now(); ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect… Connection id: 7 Current database…

Comment: How much memory can MySQL use in the worst case?

… of figuring these things out does not seem to have gone away. Also many other RDBMSes try to predefine a certain size… the server suddenly going into swap and dying, or the kernel OOM killer killing a suddenly growing mysqld would go away. The… configuration and mysqld “jumping” into swap, or just killing the server I’d _much_ prefer to be able to limit this…

Post: How to track down the source of Aborted_connects

Yesterday I helped someone who was seeing a lot of “server has gone away” error messages on his website. While investigating this problem… but really weren’t. The biggest measurable sign was [percona@server ~]$ mysqladmin ext | grep Abort | Aborted_clients | 14835 | | Aborted_connects | 15598… did was look for packet loss between the database server and the web server; the network appeared to be working fine. With…

Comment: Percona XtraDB Cluster reference architecture with HaProxy

…: If you are running into the ‘MySQL server has gone away‘ problem, you should change the “timeout server” and “timeout client” values in the… cilent 3601s … etc backend pxc-back timeout server 3601s … etc backend pxc-onenode-back timeout server 3601s … etc — Again, just make sure…

Comment: Percona XtraDB Cluster reference architecture with HaProxy

… for being late on that one. For haproxy and mysql server has gone away: this is usually timeout/maxconn mismatch on either haproxy…

Comment: Percona XtraDB Cluster reference architecture with HaProxy

… large bulk of queries (reads and writes) causes ‘MySQL server has gone away‘, but really mysqld process is alive. Error log does not…

Comment: Percona XtraDB Cluster reference architecture with HaProxy

… : in proc 5 session 233461088 caused an error: MySQL server has gone away just after the session has closed. Not all pt-log…

Comment: Watch out for your CRON jobs

…. On other hand if MySQL server goes away or connection is closed the GET_LOCK lock is gone while lock on local file…

Comment: COUNT(*) vs COUNT(col)

…> select count(*) from wp_comments; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect… Connection id: 2 Current database…