While everyone is correct that you need to solve the deadlock
issue, you may not be able to solve that immediately (because app code
needs to be changed). A problem that accompanies deadlocks is that a
latch is held while the trace file for the deadlock is written, and this
can hold up your entire database/application.
holding a latch and doing file I/O ? Where did you get that idea?
--
http://www.freelists.org/webpage/oracle-l