kentico_zdenekc
-
10/28/2009 11:33:50 AM
RE:Error In Task Scheduler
Hi Nick,
yes, the API methods write to the EventLog, however the DELETE query is called on CMS_EventLog table when the older logs are deleted. It seems that the scheduled task, when running as a separate thread (in background) adds the log records and this triggers the deleting of the older logs and such deadlocks happen. It should be prevented by transactioned processing, but apparently it is not somewhere...
We will check if this can be prevented in the better way than disabling logging of events, but anyway, for now it's a kind of suitable workaround.
Regards, Zdenek C.
|