vps一连接ftp,终端就弹出这些信息.还有个nginx日志等级的问题

_jerryjee 发布于 2014/07/09 21:21
阅读 667
收藏 0

1、登陆ssh终端,打开wordpress后台,比如在后台点一个升级版本,这里就是通过FTP自动升级了,终端就会不停的跳下面一段:

Message from syslogd@jjhr at Jul  9 21:11:58 ...

 kernel:[1265328.179043] nf_ct_ftp: dropping packetIN= OUT=lo SRC=205.185.115.53 DST=205.185.115.53 LEN=105 TOS=0x00 PREC=0x00 TTL=64 ID=50598 DF PROTO=TCP SPT=21 DPT=52252 SEQ=245533523 ACK=348264109 WINDOW=256 RES=0x00 ACK PSH URGP=0 OPT (0101080A4B66CC524B66B3DC) UID=0 GID=0


这个不知道是什么情况的。

=============================================

2、我想请问一下nginx日志等级应该怎么设置。

我看了现在的nginx日志文件,里面全部都是DEBUG的。

请问这个要怎么设定,还有这些日志有哪些等级的。

日志文件太大,这是最后100行的内容:

2014/07/09 21:20:28 [debug] 31937#0: *221949 http postpone filter "/index.php?" 0000000000000000
2014/07/09 21:20:28 [debug] 31937#0: *221949 write old buf t:1 f:0 0000000001635860, pos 0000000001635                                                        93E, size: 338 file: 0, size: 0
2014/07/09 21:20:28 [debug] 31937#0: *221949 write old buf t:1 f:0 0000000001635860, pos 0000000001635                                                        A98, size: 2 file: 0, size: 0
2014/07/09 21:20:28 [debug] 31937#0: *221949 write old buf t:0 f:0 0000000000000000, pos 0000000000503                                                        535, size: 2 file: 0, size: 0
2014/07/09 21:20:28 [debug] 31937#0: *221949 write old buf t:0 f:0 0000000000000000, pos 0000000000503                                                        532, size: 5 file: 0, size: 0
2014/07/09 21:20:28 [debug] 31937#0: *221949 http write filter: l:1 f:0 s:347
2014/07/09 21:20:28 [debug] 31937#0: *221949 http write filter limit 0
2014/07/09 21:20:28 [debug] 31937#0: *221949 writev: 347
2014/07/09 21:20:28 [debug] 31937#0: *221949 http write filter 0000000000000000
2014/07/09 21:20:28 [debug] 31937#0: *221949 http copy filter: 0 "/index.php?"
2014/07/09 21:20:28 [debug] 31937#0: *221949 http writer output filter: 0, "/index.php?"
2014/07/09 21:20:28 [debug] 31937#0: *221949 http writer done: "/index.php?"
2014/07/09 21:20:28 [debug] 31937#0: *221949 http finalize request: 0, "/index.php?" a:1, c:1
2014/07/09 21:20:28 [debug] 31937#0: *221949 event timer del: 53: 1404912088061
2014/07/09 21:20:28 [debug] 31937#0: *221949 event timer add: 53: 5000:1404912033184
2014/07/09 21:20:28 [debug] 31937#0: *221949 http lingering close handler
2014/07/09 21:20:28 [debug] 31937#0: *221949 recv: fd:53 -1 of 4096
2014/07/09 21:20:28 [debug] 31937#0: *221949 recv() not ready (11: Resource temporarily unavailable)
2014/07/09 21:20:28 [debug] 31937#0: *221949 lingering read: -2
2014/07/09 21:20:28 [debug] 31937#0: *221949 event timer: 53, old: 1404912033184, new: 1404912033184
[root@jjhr ~]# tail -n 60 /var/log/nginx/jjhr.net.error.log
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: ""
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "GATEWAY_INTERFACE"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "CGI/1.1"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "SERVER_SOFTWARE"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "nginx/"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "1.4.4"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "SERVER_SOFTWARE: nginx/1.4.4"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "REMOTE_ADDR"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "176.34.28.32"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "REMOTE_ADDR: 176.34.28.32"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "REMOTE_PORT"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "10599"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "REMOTE_PORT: 10599"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "SERVER_ADDR"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "205.185.115.53"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "SERVER_ADDR: 205.185.115.53"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "SERVER_PORT"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "80"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "SERVER_PORT: 80"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "SERVER_NAME"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script var: "jjhr.net"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "SERVER_NAME: jjhr.net"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "REDIRECT_STATUS"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http script copy: "200"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "REDIRECT_STATUS: 200"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_HOST: jjhr.net"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_REAL_IP: 223.203.218.37"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_FORWARDED_HOST: jjhr.net"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_FORWARDED_SERVER: jjhr.net"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_FORWARDED_FOR: 223.203.218.37"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_CDN_BY: Anquanbao"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_X_AQB_HOP: 2"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_CONNECTION: close"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_ACCEPT: */*"
2014/07/09 21:20:43 [debug] 31937#0: *222306 fastcgi param: "HTTP_USER_AGENT: Mozilla/4.0 (compatible;                                                         MSIE 8.0; Windows NT 6.1; .NET CLR 2.0.50727)"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http cleanup add: 00000000015A45A8
2014/07/09 21:20:43 [debug] 31937#0: *222306 get rr peer, try: 1
2014/07/09 21:20:43 [debug] 31937#0: *222306 socket 61
2014/07/09 21:20:43 [debug] 31937#0: *222306 epoll add connection: fd:61 ev:80000005
2014/07/09 21:20:43 [debug] 31937#0: *222306 connect to unix:/tmp/php-fpm.sock, fd:61 #222307
2014/07/09 21:20:43 [debug] 31937#0: *222306 connected
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream connect: 0
2014/07/09 21:20:43 [debug] 31937#0: *222306 posix_memalign: 000000000168CAC0:128 @16
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream send request
2014/07/09 21:20:43 [debug] 31937#0: *222306 chain writer buf fl:0 s:832
2014/07/09 21:20:43 [debug] 31937#0: *222306 chain writer in: 00000000015A45E0
2014/07/09 21:20:43 [debug] 31937#0: *222306 writev: 832
2014/07/09 21:20:43 [debug] 31937#0: *222306 chain writer out: 0000000000000000
2014/07/09 21:20:43 [debug] 31937#0: *222306 event timer add: 61: 60000:1404912103660
2014/07/09 21:20:43 [debug] 31937#0: *222306 http finalize request: -4, "/index.php?" a:1, c:3
2014/07/09 21:20:43 [debug] 31937#0: *222306 http request count:3 blk:0
2014/07/09 21:20:43 [debug] 31937#0: *222306 http finalize request: -4, "/index.php?" a:1, c:2
2014/07/09 21:20:43 [debug] 31937#0: *222306 http request count:2 blk:0
2014/07/09 21:20:43 [debug] 31937#0: *222306 http run request: "/index.php?"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream check client, write event:1, "/index.php"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream recv(): -1 (11: Resource temporarily unavai                                                        lable)
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream request: "/index.php?"
2014/07/09 21:20:43 [debug] 31937#0: *222306 http upstream dummy handler
[root@jjhr ~]# tail -n 100 /var/log/nginx/jjhr.net.error.log
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream process upstream
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe read upstream: 1
2014/07/09 21:20:57 [debug] 31937#0: *222422 readv: 3:4096
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe recv chain: 368
2014/07/09 21:20:57 [debug] 31937#0: *222422 readv: 3:4096
2014/07/09 21:20:57 [debug] 31937#0: *222422 readv() not ready (11: Resource temporarily unavailable)
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe recv chain: -2
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015B9BB0, pos 000000000                                                        15B9BB0, size: 368 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000016880E0, pos 000000000                                                        16880E0, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015AC880, pos 000000000                                                        15AC880, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe length: -1
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write downstream: 1
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write busy: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write: out:0000000000000000, f:0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe read upstream: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015B9BB0, pos 000000000                                                        15B9BB0, size: 368 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000016880E0, pos 000000000                                                        16880E0, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015AC880, pos 000000000                                                        15AC880, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe length: -1
2014/07/09 21:20:57 [debug] 31937#0: *222422 event timer: 58, old: 1404912117019, new: 1404912117027
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream request: "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream dummy handler
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream request: "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream process upstream
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe read upstream: 1
2014/07/09 21:20:57 [debug] 31937#0: *222422 readv: 3:4096
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe recv chain: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015B9BB0, pos 000000000                                                        15B9BB0, size: 368 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000016880E0, pos 000000000                                                        16880E0, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe buf free s:0 t:1 f:0 00000000015AC880, pos 000000000                                                        15AC880, size: 0 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe length: -1
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 01
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 06
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 01
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 01
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 51
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 07
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record length: 337
2014/07/09 21:20:57 [debug] 31937#0: *222422 input buf #2 00000000015B9BB8
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 01
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 03
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 01
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 08
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record byte: 00
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi record length: 8
2014/07/09 21:20:57 [debug] 31937#0: *222422 http fastcgi sent end request
2014/07/09 21:20:57 [debug] 31937#0: *222422 input buf 00000000015B9BB8 337
2014/07/09 21:20:57 [debug] 31937#0: *222422 free: 00000000016880E0
2014/07/09 21:20:57 [debug] 31937#0: *222422 free: 00000000015AC880
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write downstream: 1
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write downstream flush in
2014/07/09 21:20:57 [debug] 31937#0: *222422 http output filter "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 http copy filter: "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 image filter
2014/07/09 21:20:57 [debug] 31937#0: *222422 xslt filter body
2014/07/09 21:20:57 [debug] 31937#0: *222422 http postpone filter "/index.php?" 000000000158A0D0
2014/07/09 21:20:57 [debug] 31937#0: *222422 http chunk: 337
2014/07/09 21:20:57 [debug] 31937#0: *222422 write new buf t:1 f:0 000000000158A308, pos 000000000158A                                                        308, size: 5 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write new buf t:1 f:0 00000000015B9BB0, pos 00000000015B9                                                        BB8, size: 337 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write new buf t:0 f:0 000000000158A250, pos 0000000000503                                                        535, size: 2 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 http write filter: l:0 f:0 s:344
2014/07/09 21:20:57 [debug] 31937#0: *222422 http copy filter: 0 "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 pipe write downstream done
2014/07/09 21:20:57 [debug] 31937#0: *222422 event timer: 58, old: 1404912117019, new: 1404912117027
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream exit: 0000000000000000
2014/07/09 21:20:57 [debug] 31937#0: *222422 finalize http upstream request: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 finalize http fastcgi request
2014/07/09 21:20:57 [debug] 31937#0: *222422 free rr peer 1 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 close http upstream connection: 58
2014/07/09 21:20:57 [debug] 31937#0: *222422 free: 00000000015A27B0, unused: 48
2014/07/09 21:20:57 [debug] 31937#0: *222422 event timer del: 58: 1404912117019
2014/07/09 21:20:57 [debug] 31937#0: *222422 reusable connection: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 http upstream temp fd: -1
2014/07/09 21:20:57 [debug] 31937#0: *222422 http output filter "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 http copy filter: "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 image filter
2014/07/09 21:20:57 [debug] 31937#0: *222422 xslt filter body
2014/07/09 21:20:57 [debug] 31937#0: *222422 http postpone filter "/index.php?" 00007FFFF0626DA0
2014/07/09 21:20:57 [debug] 31937#0: *222422 http chunk: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write old buf t:1 f:0 000000000158A308, pos 000000000158A                                                        308, size: 5 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write old buf t:1 f:0 00000000015B9BB0, pos 00000000015B9                                                        BB8, size: 337 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write old buf t:0 f:0 000000000158A250, pos 0000000000503                                                        535, size: 2 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 write new buf t:0 f:0 0000000000000000, pos 0000000000503                                                        532, size: 5 file: 0, size: 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 http write filter: l:1 f:0 s:349
2014/07/09 21:20:57 [debug] 31937#0: *222422 http write filter limit 0
2014/07/09 21:20:57 [debug] 31937#0: *222422 writev: 349
2014/07/09 21:20:57 [debug] 31937#0: *222422 http write filter 0000000000000000
2014/07/09 21:20:57 [debug] 31937#0: *222422 http copy filter: 0 "/index.php?"
2014/07/09 21:20:57 [debug] 31937#0: *222422 http finalize request: 0, "/index.php?" a:1, c:1
2014/07/09 21:20:57 [debug] 31937#0: *222422 event timer add: 21: 5000:1404912062027
2014/07/09 21:20:57 [debug] 31937#0: *222422 http lingering close handler
2014/07/09 21:20:57 [debug] 31937#0: *222422 recv: fd:21 -1 of 4096
2014/07/09 21:20:57 [debug] 31937#0: *222422 recv() not ready (11: Resource temporarily unavailable)
2014/07/09 21:20:57 [debug] 31937#0: *222422 lingering read: -2
2014/07/09 21:20:57 [debug] 31937#0: *222422 event timer: 21, old: 1404912062027, new: 1404912062027

加载中
返回顶部
顶部