Settings | Sign in | Sign up

The author has 7 posts.

侃吧服务器httpd日志已经把硬盘占满了

Floor 1 巨大八爪鱼 1/30/25 22:13
[oct1158@172-105-217-241 httpd-2.4.59]$ du -sh *
2.8M    bin
404K    build
20K     cgi-bin
288K    conf
260K    error
12K     htdocs
1.3M    icons
2.0M    include
4.8M    lib
126G    logs
124K    man
25M     manual
49M     modules
[oct1158@172-105-217-241 httpd-2.4.59]$
Floor 2 巨大八爪鱼 1/30/25 22:13

[oct1158@172-105-217-241 httpd-2.4.59]$ cd logs
[oct1158@172-105-217-241 logs]$ du -sh *
1.7G    access_log
27M     error_log
4.0K    httpd.pid
4.0K    jk-runtime-status.2145886
0       jk-runtime-status.2145886.lock
125G    mod_jk.log
10M     ssl_request_log

 

是mod_jk的日志。

巨大八爪鱼: mod_jk的日志信息量已高达125GB。
Floor 3 巨大八爪鱼 1/30/25 22:17
mod_jk里面,JkLogLevel不应该设置成debug,应该设置成info。
Floor 5 巨大八爪鱼 1/30/25 22:32

该事件导致了如下故障:

(1)手机版上传图片显示“未知错误”。

(2)手机版首页无法显示帖子回复。

(3)手机版搜索页面无法搜索“@提到”的内容,用时显示0秒。

巨大八爪鱼: (2)手机版首页无法显示“帖子回复”这个模块。

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.