开发者

mod_perl application having weird intermittent mysql driver issues

开发者 https://www.devze.com 2022-12-09 20:15 出处:网络
At completely random times my mod_perl scripts crash for no discernible reason, here\'s the error I get:

At completely random times my mod_perl scripts crash for no discernible reason, here's the error I get:

[error] install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.\nCompilation failed in require at (eval 20) line 3.\n\n at

but wait it gets better. Sometimes it's this instead:

[error] install_driver(mysql) failed: Can't load '/usr/lib/perl5/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/auto/DBD/mysql/mysql.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib/perl/5.10/DynaLoader.pm line 196.\n at (eval 17) line 3\nCompilation failed in require at (eval 17) line 3.\nPerhaps a required shared library or dll isn't installed where expected\n at

Mind you that I am the only one hitting this app as I'm in dev mode atm so I doubt it's a concurrency issue.

Everything works very well otherwise, 开发者_如何学编程it's weird. I'm on a VPS running Debian 5.0 with apache 2 and mysql 5.0.51a-24+lenny2

Thanks for any help!


Do you have Apache::Reload loaded? Are you running DBD::MySQL from debian apt or from CPAN?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号