ob4为啥一会就断开连接

新装的一个单机版本的OB4.0,为啥我一直敲着show variables like ,可是过个10多秒还是会自动断开连接。是哪个参数设置的原因哪?
obclient [oceanbase]> show variables like ‘%timeout%’;
±--------------------±-----------------+
| Variable_name | Value |
±--------------------±-----------------+
| connect_timeout | 10 |
| interactive_timeout | 28800 |
| lock_wait_timeout | 31536000 |
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| ob_pl_block_timeout | 3216672000000000 |
| ob_query_timeout | 10000000 |
| ob_trx_idle_timeout | 86400000000 |
| ob_trx_lock_timeout | -1 |
| ob_trx_timeout | 86400000000 |
| wait_timeout | 28800 |
±--------------------±-----------------+
11 rows in set (0.001 sec)

obclient [oceanbase]> show variables like ‘%timeout%’;
^[[AERROR 2013 (HY000): Lost connection to MySQL server during query
obclient [oceanbase]> show variables like ‘%timeout%’;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect…
Connection id: 1
Current database: oceanbase

±--------------------±-----------------+
| Variable_name | Value |
±--------------------±-----------------+
| connect_timeout | 10 |
| interactive_timeout | 28800 |
| lock_wait_timeout | 31536000 |
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| ob_pl_block_timeout | 3216672000000000 |
| ob_query_timeout | 10000000 |
| ob_trx_idle_timeout | 86400000000 |
| ob_trx_lock_timeout | -1 |
| ob_trx_timeout | 86400000000 |
| wait_timeout | 28800 |
±--------------------±-----------------+

连的是obproxy还是observer?如果是连obproxy的话,你试试直连observer还是否会有这个问题?

直连observer没有这个问题,连obproxy就有这个问题。请问是什么原因哪?

可以在proxy目录下看一下日志,是否有ERROR退出;现在demo 模式proxy给的内存(200M)比较少,可能有触发内存超限重启的问题;

看下我写的这篇,里面有的。 OB 4.0 安装测试 夜深人静难掩激动