June 19, 2013

Post: Percona XtraDB Cluster: Failure Scenarios with only 2 nodes

…-013f68429ec1 | | wsrep_cluster_status | Primary | | wsrep_connected | ON | | wsrep_ready | ON | Then we fix the connection problem: iptables -D INPUT -d 192… seqno (6) is greater than group seqno (5): states diverged. Aborting to avoid potential data loss. Remove ‘/var/lib/mysql//grastate…

Post: Realtime stats to pay attention to in Percona XtraDB Cluster and Galera

… it’s important to understand that this tool only currently connections to a single node (by default, localhost).  The state of… True/False values (T/F) for wsrep_ready and wsrep_connected.  These are somewhat redundant with the local_state value, so… happen when the inbound queue is > 0.  Instead brute force aborts are applying writesets rolling back locally open transactions. In fact…

Comment: Apache PHP MySQL and Runaway Scripts

… continue to run. Regarding constantly sending ” ” to check for user abort followed by ob_flush() and flush() it is possible though… decent performance. In most application running too long and user abort are exceptions rather than the normal flow. Also note there… STOP. It should be possible to check if connection is alive from the server. connection_aborted() could in theory do that but it…

Comment: Percona XtraDB Cluster reference architecture with HaProxy

…) FATAL: failed to connect to database server! FATAL: unable to connect to MySQL server, aborting… FATAL: error 2003: Can’t connect to MySQL server…) FATAL: failed to connect to database server! FATAL: unable to connect to MySQL server, aborting… FATAL: error 2003: Can’t connect to MySQL server…

Comment: Why do you need many apache children ?

…. So mysql connection opened in slow HTTP connection reaches to wait_timeout and MySQL aborts those mysql connections. There were about 200 Aborted_Clients per hour in mysql error log. After changing Timeout directive in httpd.conf, all seems to be ok. Mysql connections

Post: PHP Large result sets and summary tables.

… be quite high. Sharing connection no more works If you use buffered query you can use same connection to run other queries… while you traverse with data. Not with unbuffered query because connection is still busy. Need more error checking If you use… problems with table locks and other issues plus if script aborts it may be hard to restart. So it may be…

Post: Percona Toolkit Webinar followup Q&A

… without the toolkit installed. Q: How to make the tools connect to MySQL The slides are now available here, and slide… different, you can control the way the tool discovers and connects to slaves with the –recursion-method option. Q: In the… that lock (part of) the table can make the tool abort with a ‘Lock wait timeout exceeded’ error. The table and…

Comment: How well does your table fits in innodb buffer pool ?

…_size=0 read_buffer_size=524288 max_used_connections=281 max_threads=2002 threads_connected=120 It is possible that mysqld could…(do_command(THD*)+0xf4) [0x7fd959b61ed4] /usr/sbin/mysqld(handle_one_connection+0x13e) [0x7fd959b5376e] /lib/libpthread.so.0 [0x7fd958151a04] /lib/libc.so… be invalid and cause the dump to abort. Query (0x7fd1bccf90b8): is an invalid pointer Connection ID (thread ID): 495168 Status: NOT_KILLED…

Post: Announcing Percona XtraDB Cluster 5.5.28-23.7

… be specified in the gcomm:// URLwhen defining the address to connect to cluster. Option wsrep_urls is now deprecated, wsrep_cluster… generated for TOI replication in every use case. SQL statements aborted due to multi-master conflict can be automatically retried. This… variable. The retry will happen only if there is real abort for the SQL statement. If statement itself enters into commit…

Comment: Solving RPM installation conflicts in CentOS 5 and CentOS 6

…=0 read_buffer_size=131072 max_used_connections=0 max_threads=151 thread_count=0 connection_count=0 It is possible that…(handle_fatal_signal+0x48c)[0x82dee3c] [0x8e8420] /lib/libc.so.6(abort+0×101)[0xb1a701] /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27…(_ZN6galera13ReplicatorSMM7connectERKSsS2_S2_+0x2b4)[0xf49904] /usr/lib/libgalera_smm.so(galera_connect+0xae)[0xf6675e] /usr/sbin/mysqld(_Z23wsrep_start_replicationv+0×107)[0×8294897…