[Mono-list] Random freezes (mysql provider related?)
Miguel de Icaza
miguel at novell.com
Sun May 13 12:09:07 EDT 2007
Hello,
> We have run into issues with stability, where the web application (under
> xsp2), and the fixtures application (console app) both freeze randomly.
> I have not been able to pinpoint any particular point in the code where
> it fails. If I add tracing the program runs slower and freezes far less
> often. The faster the program is running the more likely it is to
> freeze. The application includes log4net, mysql provider, and
> httpwebrequest amongst other things. We have had some issues with
> httpwebrequest, notably for certain requests it fails every 3rd time. I
> am starting to believe that it may be the root of all of the freezes.
> When the application freezes i have to ctrl-z, kill -9 to kill the process.
One trick that you might want to try when your application freezes is to
get the stack traces from all the threads, this might help us narrow
down where the program is.
Notice that this trick is only reliable on the first pass, once you do
this, the state of your program can not be guaranteed:
kill -QUIT {pid-of-the-hung-mono-process}
Also, are you using ByteFX.Data, or are you using the official MySQL
data provider?
Miguel.
More information about the Mono-list
mailing list