suggest verifying db link is active/accessible via try/catch. errors are thrown during mysql server/service restarts. been spotting them in the log about once or twice a day. not sure what it looks like on the front end (eg: if a visitor sees the errors).