Ron McClain wrote:
I've been trying both with and without Apache::DBI, and it doesn't seem
to matter. The behaviour is easy to replicate, but non-deterministic.
If I just click on the links to my list views for my models quickly in
succession, I can trigger the error every time. Usually after it fails,
I have to restart apache, or I just continue to get the fetch() without
execute() error on every request. I'm going crazy here.. Am I the only
one having these sorts of issues?
1) Turn off mysql_auto_reconnect.
2) Make sure you disconnect your database handle before apache forks.
Sharing a database handle between child processes can lead to this kind
of error.
There is information on the wiki about how to use Class::DBI safely with
mod_perl.
- Perrin
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users