[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] History file rotation error



Hi all,

I've been testing rotation of history file with v6.8.0 windows version.
I set the config variables in c:\condor\condor_config.local.

ENABLE_HISTORY_ROTATION = TRUE
MAX_HISTORY_LOG = 150000
MAX_HISTORY_ROTATIONS = 3

I saw the variables was set in c:\condor\log\SchedLog 

8/28 17:32:56 (pid:1752) Using config source: C:\condor\condor_config
8/28 17:32:56 (pid:1752) Using local config sources: 
8/28 17:32:56 (pid:1752)    C:\condor/condor_config.local
8/28 17:32:56 (pid:1752) DaemonCore: Command Socket at
<192.82.192.127:2646>
8/28 17:32:56 (pid:1752) History file rotation is enabled.
8/28 17:32:56 (pid:1752)   Maximum history file size is: 150000 bytes
8/28 17:32:56 (pid:1752)   Number of rotated history files is: 3

Though my history file was over 150kB, new history file was not created.

SchedLog says,

8/28 17:34:56 (pid:1752) Will rotate history file.
8/28 17:34:56 (pid:1752)
MoveFileEx(C:\condor/spool/history,C:\condor/spool/history.2006-08-28T17
:34:56) failed with error 123
8/28 17:34:56 (pid:1752) Failed to rotate history file to
C:\condor/spool/history.2006-08-28T17:34:56
8/28 17:34:56 (pid:1752) Because rotation failed, the history file may
get very large.

Now, history file is 151kB.
I think 1kB is not very large...

Could you advice me?