two answers com to my mind:
* The database connecting schema shows that the connection to (mysql?) database is slow, overloaded with traffic or the database server is on its limit, sometimes because of a non-escapable loop...
* The freezes could also come from the preview error if using templates. Try to disable preview in Edit -> WebAssist Preferences
hope this helps