悟空統計:專業好用的網站統計,使用統計兌現金獎勵,拒絕暗彈、跳轉、污染等安全性問題
關關采集器出現錯誤:
200|error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
200 |連接錯誤:超時。從池中獲取連接之前經過的超時時間。這可能是因為所有池連接都在使用中,并且已達到最大池大小。
解決辦法:
關關采集器 - 系統設置 - 數據庫連接參數默認大概是這個樣子的:
Data Source=localhost;Database=jieqi;User ID=root;Password=root;port=3306;charset=utf8;
添加幾個參數pooling=true;min pool size=5;max pool size=1024;connect timeout = 20;,完成后大概是這個樣子的:
Data Source=localhost;Database=jieqi;User ID=root;Password=root;port=3306;charset=utf8;pooling=true;min pool size=5;max pool size=1024;connect timeout = 20;
其中的 max pool size
尤其重要,如還有報錯, 可繼續加大.