The BTCal task is a typical single threaded Domino application that is allocated a thread ID at startup. The Thread ID is used until the BTCal task is restarted. There are times, typically on busy systems, where the Domino memory scavenging process can not keep up and orphaned memory segments are possible. As they are associated with an active Thread ID the Domino watchdog process is not able to clear the memory segments down. By updating the Thread ID of the BTCal task the Domino watchdog task can perform better memory management an clear orphaned segments not associated with a Thread ID.
Here is a typical failure:
StaticHang = Virtual Thread [ nBTCal: 1514: 0005] (Native thread [ nBTCal: 1514: 107c]) (0x1514/0x5/0x107c)
In this case Thread ID 1514 is in a hang condition and the NServer task has NSD'd with an Access Violation has it has lost the thread handle.
By adding the following line to the Notes.ini file(s) the BTCal Thread ID is updated every hour. We usually recommend 360 or every 6 hours but on very busy systems every hour would be better. This statement is usually used in conjunction with the BT Log Level setting.
BTCALRESTARTTIMER=60
BTLOGLEVEL=2
BTCALRESTARTTIMER is an internal thread restart command that will clear the threadid every hour. It does not restart the BTCal task but simply clears the internal pointers for the running threads.
In addition there is a loop that will recycle the logs to keep them more manageable. This is very helpful to keep logs to a manageable size.
Of course you will have to manage the logs manually though and we recommend moving them to a different sub directory or drive once a month or so during your maintenance cycle.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center