php-cp
php-cp copied to clipboard
pdo and redis tcp connect proxy
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
pdo_connect_pool_PDOStatement::__call(): you send the request to pool worker ,but the worker is died
中文偶尔会乱码
请问一下有没有遇到过?使用连接池插入数据库中文乱码,偶尔会出现这样的情况,100条数据有那么几条会乱码。
rt
插入中文时候偶尔会出现乱码 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测试参数 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...
 我的是centos php版本7.1.11 测试结果都是接近的  是我还要去哪里配置的吗 