internal dummy connection
Apache2.2之后,在Apache的日志中经常看到大量的internal dummy connection日志:
[ [email protected]
logs]# tail -f access_log.20060409 |grep “internal dummy connection”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
::1 – – “GET / HTTP/1.0” 200 68091 “-” “Apache/2.2.0 (Unix) PHP/5.1.2 (internal dummy connection)”
srequest = apr_pstrcat(p, “GET / HTTP/1.0\r\nUser-Agent: “,
ap_get_server_version(),
” (internal dummy connection)\r\n\r\n”, NULL);
查看apache手册(有条件的记录日志)
通过修改Apache的配置文件可以在日志中屏蔽这些信息:
ErrorLog “/usr/local/apache/logs/error_log”
SetEnvIf Remote_Addr “::1” dontlog
CustomLog “/usr/local/apache/logs/access_log” combined env=!dontlog
这样日志就不记录这些信息了
推荐阅读
-
laravel 5.1 php artisan queue:listen connection中connection是什么?
-
ORA-12537: TNS:connection closed
-
ORA-00257: archiver error. Connect internal only, until free
-
php soap异常 Fatal error: Uncaught SoapFault exception: [HTTP] Internal Server Err
-
php pdo连接报错Connection failed: SQLSTATE[HY000] [2002]
-
有关SQL server connection Keep Alive的FAQ
-
Call to undefined function mb_internal_encoding 问题
-
MYSQL:Lost connection to MySQL server at reading initial com
-
解决Android Studio安装后运行出错dose not...和Internal error...
-
简述private,protected,public,internal修饰符的访问权限