WSS日志文件越来越失控

时间:2009-04-03 18:15:00

标签: sharepoint wss virtualization

我正在使用微软的WSSv3演示虚拟PC演示,而且VHD正在逐渐失控。

使用Folder Size我能够将其追溯到WSS日志文件 今天我有两个日志文件变得过大。

1)在30分钟内2.5GB,然后

2)2小时内2.1GB

我正在尝试使用LTFViewer查看内容,但是当观看者冻结时文件可能会变大 周围的日志文件具有以下内容,每5分钟重复一次

OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch.  
OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch.  
OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch. 
w3wp.exe (0x0C44)        General   Entering MRU trim routine.    
w3wp.exe (0x0C44)        General   Initial table size: 41125202 in 222 entries   
w3wp.exe (0x0C44)        General   Final table size: 41125202 in 222 entries     
w3wp.exe (0x0C44)        General   Exiting MRU trim routine.     
w3wp.exe (0x071C)        General   Entering MRU trim routine.    
w3wp.exe (0x071C)        General   Initial table size: 19857672 in 90 entries    
w3wp.exe (0x071C)        General   Final table size: 19857672 in 90 entries  
w3wp.exe (0x071C)        General   Exiting MRU trim routine.     
OWSTIMER.EXE (0x06C0)    General   Entering MRU trim routine.    
OWSTIMER.EXE (0x06C0)    General   Initial table size: 0 in 0 entries    
OWSTIMER.EXE (0x06C0)    General   Final table size: 0 in 0 entries  
OWSTIMER.EXE (0x06C0)    General   Exiting MRU trim routine.     
OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch.  
OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch.  
OWSTIMER.EXE (0x06C0)    E-Mail    The Incoming E-Mail service has completed a batch.

同样,这只是今天开始,我的主机上的硬盘空间不足。

由于

3 个答案:

答案 0 :(得分:2)

想出来

以下一行被记录了x30次毫秒。

Timestamp
04/03/2009 09:48:47.86 

Process
OWSTIMER.EXE (0x0DE8)

TID
0x06D0

Area
Windows SharePoint Services

Category
Timer

EventID
5uuf

Level
Monitorable

Message
The previous instance of the timer job 'Config Refresh', id
'{975F79C9-1B0D-4D14-BD60-C531FF142500}' for service
'{6C881CF7-F11F-457B-A757-68862E0059E6}' is still running, so the
current instance will be skipped. Consider increasing the interval
between jobs.

此博客文章介绍了如何修复

http://blogs.vertigo.com/personal/steventap/Blog/archive/2007/01/19/managing-sharepoint-2007-moss-application-log-size.aspx

感谢大卫,

要总结博客文章,请更改诊断日志记录级别。 如果在本地虚拟机中进行开发,还建议将这些日志写入VHD之外的共享文件夹

中央行政>操作>记录和报告>诊断记录

答案 1 :(得分:1)

可以通过对象模型(SPDiagnosticsService)设置日志文件的限制,但不能通过STSADM命令行工具设置限制 - 直到现在:

http://stsadm.blogspot.com/2008/06/trace-log-settings.html

这是STSADM的一个加载项,可以将日志移动到其他驱动器,限制日志文件数和日志时间。

-Oisin

答案 2 :(得分:0)

我在日志中看到了同样的事情,但史蒂夫建议的修复无效。

确保将时钟设置到正确的时间的工作是什么。过去时钟设定为20分钟。一旦我将服务器上的时间更新为正确,错误就会停止。