IIS6日志时间logging问题

几乎在同一时间,在两台独立的服务器上分别有三个小时, 似乎没有任何数据被写入IIS日志,但是经过仔细观察,似乎是全部logging下来了。

以下是我所知道的事实:

  • Windows Server 2003 R2带有IIS6
  • 使用GMTlogging日志,服务器本地时间GMT-7。
  • 应用程序仍在运行,我有SQL数据来certificate这一点
  • 时间间隔出现在日志文件中,而不是两个
  • 标题出现在差距

  • 负载平衡器每30秒钟一次
  • 没有caching

以下是关于特定情况的信息:

  • 一个条目出现2009-09-21 18:09:27
  • 然后#headers
  • 下一个条目是2009-09-22 01:21:54,这个日志文件中的下一个条目是1600,下一个日志文件中是370。
  • 2009-09-22 01:21:54大概有2000个条目中的一半是负载均衡器ping(在2分钟的时间为6.9小时= 828坪)
  • 然后logging正常。

我相信这些事件可能与我在这些机器中部署ASP.NET应用程序更新一致。

以下是相关日志中的一些相关内容:

ex090921.log行3684

2009-09-21 17:54:40 GET /ping.aspx - 80 404 0 0 3733 122 0 2009-09-21 17:55:11 GET /ping.aspx - 80 404 0 0 3733 122 0 2009-09-21 17:55:42 GET /ping.aspx - 80 404 0 0 3733 122 0 2009-09-21 17:56:13 GET /ping.aspx - 80 404 0 0 3733 122 0 2009-09-21 17:56:45 GET /ping.aspx - 80 404 0 0 3733 122 0 #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2009-09-21 18:04:37 #Fields: date time cs-method cs-uri-stem cs-uri-query s-port sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken 2009-09-22 01:04:06 GET /ping.aspx - 80 404 0 0 3733 122 3078 2009-09-22 01:04:06 GET /ping.aspx - 80 404 0 0 3733 122 109 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 278 122 3828 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 278 122 0 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 278 122 0 ... continues until line 5449 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 277 122 0 <eof> 

ex090922.log

 #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2009-09-22 00:00:16 #Fields: date time cs-method cs-uri-stem cs-uri-query s-port sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 277 122 0 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 277 122 0 ... continues until line 367 2009-09-22 01:04:06 GET /ping.aspx - 80 200 0 0 277 122 0 2009-09-22 01:04:30 GET /ping.aspx - 80 200 0 0 277 122 0 ... back to normal behavior 

请注意写入新日志文件的#header的看似正确的date/时间。 另外请注意,/ ping.aspx返回404,然后切换到200,就像问题开始。 我重命名“我还活着的页面”,这样负载平衡器就停止向服务器发送请求,而我正在处理这个请求。 你在这里看到的是我重新命名它,所以负载平衡器将使用服务器。 所以,这个问题肯定与我重新启用服务器相吻合。

有任何想法吗?

我所知道的唯一能让标题显示在日志文件中间的是正在停止的网站,或者正在改变日志文件的设置,就像第一个日志的这一部分一样:

 2009-09-21 17:56:45 GET /ping.aspx  -  80 404 0 0 3733 122 0
   #软件:Microsoft Internet信息服务6.0
   #版本:1.0#date:2009-09-21 18:04:37
   #Fields:date时间cs-method cs -uri-stem cs-uri-query 
            s-port sc-status sc-substatus sc-win32-status 
            sc-bytes cs-bytes占用的时间
 2009-09-22 01:04:06 GET /ping.aspx  -  80 404 0 0 3733 122 3078

另外,在日志部分之后,我不了解你的意思。 你可以解释吗? 你是什​​么意思,这个问题恰好与你部署应用程序并重命名ping.aspx? 我很困惑,对不起。