php-cp icon indicating copy to clipboard operation
php-cp copied to clipboard

pdo and redis tcp connect proxy

Results 21 php-cp issues
Sort by recently updated
recently updated
newest added

php版本:PHP 7.1.5 php-cp版本:1.5 redis连接池,系统压力测试下,高并发下出现了两次异常:一次连接池进程意外退出,无法restart,需要kill掉默认端口监听的进程;另一次,进程存在,status查看,redis连接池 use数不减,不转发请求,所有php请求返回502

pdo_connect_pool_PDOStatement::__call(): you send the request to pool worker ,but the worker is died

请问一下有没有遇到过?使用连接池插入数据库中文乱码,偶尔会出现这样的情况,100条数据有那么几条会乱码。

插入中文时候偶尔会出现乱码 1.4.7 ,1.4.8 都出现了问题。有谁解决了吗

报错信息: [2018-07-19 17:28:04] cpReactor_client_release: The fd 396 is closed and remove from the queue but no conn dispatch , maybe have slow query [2018-07-19 17:28:04] cpReactor_client_release: send sig 2 18859...

数据源必须要配置吗? 如果是主从结构,有多个从是不是['mysql:...0','mysql:...1']这样配置? 如果在pool.ini里没有配置数据源会怎样。

wrk测试参数 wrk -t12 -c100 -d30s “http://xxxx.com/xx.php?uid=1234” 在没有加的时候结果,平均是 12 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 67.29ms 3.04ms 126.24ms 85.55% Req/Sec 119.19 26.18 161.00 55.12% 42763...

![image](https://user-images.githubusercontent.com/8265955/33411276-a12836c2-d5bf-11e7-94bf-69e3f8c5c84f.png) 我的是centos php版本7.1.11 测试结果都是接近的 ![image](https://user-images.githubusercontent.com/8265955/33411353-238e419c-d5c0-11e7-9e7e-fd764e61baa0.png) 是我还要去哪里配置的吗 ![image](https://user-images.githubusercontent.com/8265955/33411404-6b23e8d6-d5c0-11e7-9eea-26cae4d6bf4e.png)