码迷,mamicode.com
首页 >  
搜索关键字:connect_timeout    ( 101个结果
nginx fastcgi 优化
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fa ...
分类:其他好文   时间:2017-04-28 13:50:47    阅读次数:225
PHP的数据库连接mysqli遍历示例
$mysqli = mysqli_init(); $mysqli->options(MYSQLI_OPT_CONNECT_TIMEOUT, 2);//设置超时时间,以秒为单位的连接超时时间 $mysqli->real_connect'dbUrl', 'dbRoot', 'password', 'da... ...
分类:数据库   时间:2017-04-15 13:43:42    阅读次数:289
php上传导入文件 nginx-502错误
4. php程序执行时间过长而超时,检查nginx和fastcgi中各种timeout设置。(nginx 中的 fastcgi_connect_timeout 300;fastcgi_send_timeout 300 :fastcgi_read_timeout300; keepalive_timeo ...
分类:Web程序   时间:2017-04-14 20:29:04    阅读次数:282
fastcgi 性能优化参数
优化性能参数设置,在ngnix.conf中的http层加上fastcgi参数如下:http{fastcgi_cache_path/usr/local/nginx/fastcgi_cachelevels=1:2keys_zone=TEST:10minactive=5m;fastcgi_connect_timeout=300;fastcgi_send_timeout=300;fastcgi_buffer_size=64k;fastcgi_buffers464k;fastcg..
分类:其他好文   时间:2017-04-11 10:20:42    阅读次数:140
文件内容的增删改查
global log 127.0.0.1 local2 daemon maxconn 256 log 127.0.0.1 local2 info defaults log global mode http timeout connect 5000ms timeout client 50000ms t ...
分类:其他好文   时间:2017-04-09 10:34:18    阅读次数:227
对文件的增删改查 以及 ---三次登陆
文件 global log 127.0.0.1 local2 daemon maxconn 256 log 127.0.0.1 local2 info defaults log global mode http timeout connect 5000ms timeout client 50000m ...
分类:其他好文   时间:2017-04-08 18:30:24    阅读次数:282
ELK+Filebeat+Kafka+ZooKeeper 构建海量日志分析平台(转)
参考:http://www.tuicool.com/articles/R77fieA 我在做ELK日志平台开始之初选择为ELK+Redis直接构建,在采集nginx日志时一切正常,当我采集我司业务报文日志类后,logstash会报大量的redis connect timeout。换成redis cl ...
分类:其他好文   时间:2017-03-30 16:16:53    阅读次数:460
restclient 访问 springmvc java工程接口
一、tomcat和nginx 配置 /etc/nginx/conf.d/default.conf location /nsx{ proxy_pass http://nsx; proxy_connect_timeout 30s; proxy_read_timeout 30s; proxy_send_t ...
分类:编程语言   时间:2017-03-03 17:58:46    阅读次数:219
php几分钟后500错误
1)php本身设置超时时间 代码中设置 set_time_limit(0); 或者php.ini 中设置 max_execution_time = 2)fastcgi 的超时时间配置 (php-fpm 的话也有设置超时时间 不具体讨论 fastcgi_connect_timeout 3000; fa ...
分类:Web程序   时间:2017-02-17 16:55:14    阅读次数:206
Overriding the default Linux kernel 20-second TCP socket connect timeout
Whatever language or client library you're using, you should be able to set the timeout on network socket operations, typically split into a connect t ...
分类:系统相关   时间:2017-01-07 21:07:14    阅读次数:291
101条   上一页 1 ... 4 5 6 7 8 ... 11 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!