以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  服务器流量异常,需要查找原因  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=120097)

--  作者:zhangjian222200
--  发布时间:2018/6/6 23:51:00
--  服务器流量异常,需要查找原因
服务器流量异常,weui写的移动页面,能通过记录日志,记录谁访问、谁下载了什么资源、单次流量大小等等,这样一些数值吗?
[此贴子已经被作者于2018/6/6 23:55:02编辑过]

--  作者:有点甜
--  发布时间:2018/6/7 8:53:00
--  
在执行对应操作之后(比如上传、下载等),写代码把用户名、操作、时间等信息添加到日志表,即可。
--  作者:zhangjian222200
--  发布时间:2018/6/17 13:09:00
--  
1.没有下载功能,一次浏览index页面,最多展示10个jpg图片,单图50k,一小时内,流量就达到1.3g
2.以下是服务器访问记录
2018-06-11 16:02:20.0887
正常记录,index函数,顶部专设记录
2018-06-11 16:20:15.6195
正常记录,index函数,顶部专设记录
2018-06-11 16:27:02.1042
正常记录,index函数,顶部专设记录
2018-06-11 16:42:25.9660
正常记录,index函数,顶部专设记录
2018-06-11 17:21:14.8326
正常记录,index函数,顶部专设记录
2018-06-11 17:25:11.4698
正常记录,index函数,顶部专设记录
2018-06-11 17:51:53.8897
正常记录,index函数,顶部专设记录
2018-06-11 17:56:16.2391
正常记录,index函数,顶部专设记录
2018-06-11 17:59:05.1257
正常记录,index函数,顶部专设记录
2018-06-11 18:07:51.2171
正常记录,index函数,顶部专设记录
2018-06-11 18:20:21.7950
正常记录,index函数,顶部专设记录
2018-06-11 18:35:02.2787
正常记录,index函数,顶部专设记录
2018-06-11 19:33:02.1712
正常记录,index函数,顶部专设记录
2018-06-11 19:37:45.7634
正常记录,index函数,顶部专设记录
2018-06-11 19:41:13.3468
正常记录,index函数,顶部专设记录
2018-06-11 19:46:59.7143
正常记录,index函数,顶部专设记录
2018-06-11 19:53:12.1660
正常记录,index函数,顶部专设记录
2018-06-11 20:32:14.2251
正常记录,index函数,顶部专设记录
2018-06-11 20:33:07.4668
正常记录,index函数,顶部专设记录
2018-06-11 20:39:41.2609
正常记录,index函数,顶部专设记录
2018-06-11 21:34:11.5100
正常记录,index函数,顶部专设记录
2018-06-11 21:34:15.9002
正常记录,index函数,顶部专设记录
2018-06-11 21:44:51.4957
正常记录,index函数,顶部专设记录
2018-06-11 22:29:47.0560
正常记录,index函数,顶部专设记录
2018-06-11 22:59:57.6372
正常记录,index函数,顶部专设记录
2018-06-11 23:07:07.7367
正常记录,index函数,顶部专设记录
2018-06-11 23:27:31.3404
正常记录,index函数,顶部专设记录
2018-06-11 23:42:04.3124
正常记录,index函数,顶部专设记录
2018-06-12 00:12:19.4758
正常记录,index函数,顶部专设记录
2018-06-12 00:23:26.9692
正常记录,index函数,顶部专设记录
2018-06-12 00:33:45.5252
正常记录,index函数,顶部专设记录
2018-06-12 00:34:18.9484
3.这是服务器21~22点的流量记录

图片点击可在新窗口打开查看此主题相关图片如下:无标题9277.jpg
图片点击可在新窗口打开查看

图片点击可在新窗口打开查看此主题相关图片如下:无标题88888.jpg
图片点击可在新窗口打开查看


[此贴子已经被作者于2018/6/17 14:24:50编辑过]

--  作者:有点甜
--  发布时间:2018/6/17 14:26:00
--  

1、你的日志记录,请写在httprequest的最顶部。记录都访问了些什么东西;

 

2、阿里云的数据有可能造假,或者有人(或有程序)批量访问了你的网页,造成流量浪费。