码迷,mamicode.com
首页 >  
搜索关键字:error_log    ( 1036个结果
【摘自张宴的"实战:Nginx"】使用nginx的fastcgi_cache缓存php输出的内容
fastcgi_cache虽然可以缓存生成的php输出的文件,但是有个弊端,在缓存的失效时间之内,你继续访问这个地址,输出的内容没有发生变化,即使数据库新增了数据或者删除了数据,所以不适合来做即时的数据查询; #user nobody;worker_processes 1; error_log lo ...
分类:Web程序   时间:2016-05-27 16:49:27    阅读次数:186
【摘自张宴的"实战:Nginx"】使用nginx的proxy_cache模块替代squid
#user nobody;worker_processes 1; error_log logs/static_source.error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/ngi ...
分类:系统相关   时间:2016-05-27 14:36:54    阅读次数:211
apache的日志切割
1、查看apache主配置文件/usr/local/apache2/conf/extra/httpd-vhosts.conf2、找到此行ErrorLog"logs/dummy-host.example.com-error_log"CustomLog"logs/dummy-host.example.com-access_log"common修改成如下配置:ErrorLog"logs/test.com-error_log"CustomLog"logs/test.com-a..
分类:Web程序   时间:2016-05-25 11:27:55    阅读次数:159
php错误日志保存
概要:php中的错误日志,可以保存在本地,也可以保存在远程目录,下面我们以保存在本地为例子。php错误日志保存相关函数:error_log($mes,$mes_type,$destination)其中$mes_type=3说明,错误日志是追加写入文件,而不是覆盖原文件案例1:<?php date_default_timezone_set("A..
分类:Web程序   时间:2016-05-22 00:51:48    阅读次数:162
[运维-服务器 – 1A] – nginx.conf(转)
#定义Nginx运行的用户和用户组user www www; #nginx进程数,建议设置为等于CPU总核心数。worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]error_log /var/ ...
分类:其他好文   时间:2016-05-20 08:36:40    阅读次数:219
关于本地安装discuz,上传图片sever(IO) error错误
在安装discuz成功后,上传图片时提示server(IO)error错误!!!1.查看错误日志error.log,发现如下错误:09:18:01[error]1966#0:*50open()" /application/nginx-1.6.3//html/bbs/static/js/common_postimg.js"failed(2:Nosuchfileordirectory) ,client:10.0.0.1,server:bbs.e..
分类:Web程序   时间:2016-05-19 19:41:43    阅读次数:729
Nginx配置文件nginx.conf的完整配置参数
1、nginx.confusernginxnginx; worker_processes4; error_log/var/log/nginx/error.lognotice; pid/var/run/nginx.pid; worker_rlimit_nofile65535; events { useepoll; worker_connections65535; } http { includemime.types; default_typeapplication/octet-stream; server..
分类:其他好文   时间:2016-05-13 15:23:55    阅读次数:998
问题:connect() failed (111: Connection refused) while connecting to upstream
问题描述:服务器重启之后,服务器也正常运行,发现网站访问不了,后来查看nginx错误日志(/var/log/nginx/error.log)2016/05/1310:47:32[error]7688#0:*8connect()failed(111:Connectionrefused)whileconnectingtoupstream,client:****.****.****.33,server:,request:"GETurl..
分类:其他好文   时间:2016-05-13 15:22:02    阅读次数:5137
nginx相同域名不用tomcat端口
nginx相同域名不用tomcat端口nginx.conf配置如下:Java代码#usernobody;worker_processes1;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeap..
分类:其他好文   时间:2016-05-13 05:19:51    阅读次数:212
MySQL错误日志总结
MySQL错误日志是记录MySQL 运行过程中较为严重的警告和错误信息,以及MySQL每次启动和关闭的详细信息。错误日志的命名通常为hostname.err。其中,hostname表示服务器主机名。 The error log contains information indicating when... ...
分类:数据库   时间:2016-05-12 01:33:26    阅读次数:290
1036条   上一页 1 ... 64 65 66 67 68 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!