maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04218
Re: error on show status query
Seems like it only happens during or after SST. I wonder if this may happen
because of data inconsistency...
On Thu, Dec 22, 2016 at 2:27 PM, Vladislav Vaintroub <vvaintroub@xxxxxxxxx>
wrote:
>
>
> On 22.12.2016 17:38, l vic wrote:
>
>> I run this query every minute and I have this exception after couple of
>> hours...
>> Class.forName("org.mariadb.jdbc.Driver");
>> conn = DriverManager.getConnection(DB_URL, USER, PASS);
>> stmt = conn.createStatement();
>> String sql = "SHOW STATUS LIKE 'wsrep_%'";
>> rs = stmt.executeQuery(sql);
>>
>> Is there something i can do to get root cause of that exception?
>> Thank you,
>> vic
>>
>> It should be some something on the server, but I do not have a better
> idea that to look in server's error log file. Maybe periodic "show
> processlist" can also sched some light on what happens right before server
> would close the connection. As I mentioned, error log seems to indicate
> memory pressure of some sort.
>
>
>
References