Page 1 of 1

What timing use in deadlock

Posted: Fri Mar 24, 2006 2:08 pm
by mauherga
Hi,

I was read about deadlock using search but I can't find information about the way to determine the time to use, so I ask you.

What's the best delay of the frecuency in deadlock? The default is 900s. For a time I use 600s and I see some things that make me think that deadlock bloked some jobs.

Can you tellme what timing you use in your configuration and how to determine the best.

Thanks in advance.

Posted: Fri Mar 24, 2006 4:55 pm
by ray.wurlod
The deadlock daemon does not "block" anything. It wakes periodically (this is its "time" setting) to check whether there are any deadlocks in the Repository. Note that it does NOT check for deadlocks in your database servers. A secondary task performed by the deadlock daemon is to clean up any locks held by defunct processes; that is, processes that have ceased to exist as valid DataStage processes.

900 seconds (15 minutes) seems to be a reasonable interval for a well-managed repository, in which the likelihood of deadlocks is almost zero and the frequency of occurrence of defunct processes is minimal. Those seeking closer to instant gratification may like to make the interval shorter but beware that the deadlock daemon (dsdlockd) does eat quite a lot of CPU cycles when doing its thing.

Its output is recorded in the dsdlockd.log file is logging is enabled in dsdlockd.config.