MyCATApache / Mycat-Server

GNU General Public License v2.0
9.51k stars 3.85k forks source link

the max activeConnnections size can not be max than maxconnections #2669

Closed zhoufeilongjava closed 3 years ago

zhoufeilongjava commented 3 years ago

版本 Mycat-server-1.6.7.4-release

错误日志 2020-12-04 14:07:00.077 ERROR [$_NIOREACTOR-17-RW] (io.mycat.net.FrontendConnection.writeErrMessage(FrontendConnection.java:210)) - ServerConnection [id=27786, schema=emc_user, host=47.98.33.199, user=root,txIsolation=3, autocommit=true, schema=emc_user, executeSql=SELECT count(0) FROM point_list WHERE 1 = 1 AND client_id = 10910 AND dtime = 0]backend connect: java.io.IOException: the max activeConnnections size can not be max than maxconnectionsjava.lang.Thread .getStackTrace1559

server.xml

` <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mycat:server SYSTEM "server.dtd">

0 0 1 1 0 0 300 1 (?:(\s*next\s+value\s+for\s*MYCATSEQ_(\w+))(,|\)|\s)*)+ false io.mycat.route.sequence.handler.HttpIncrSequenceHandler 0 3306 9066 300000 0.0.0.0 300000 4096 32 0 0 64k 1k 0 384m false false true 0 000000 user user `
junwen12221 commented 3 years ago

与schema.xml的连接数有关系

<dataHost name="localhost1" maxCon="1000" minCon="10"

wf0206 commented 3 years ago