Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've got a rather odd problem that I'm trying to figure out with Crypt::Eksblowfish::Bcrypt. I'm in the process of switching an application to use authentication based on Crypt::Eksblowfish::Bcrypt. The application runs under mod_perl. What I'm finding is that if I use the Crypt::Eksblowfish::Bcrypt::bcrypt function then the apache processes that have used it use an enormous amount of CPU time and continue to do so even after the function returns; they continue to grind away until I kill them.

Any ideas?

--TWH
  • Comment on Problem with Crypt::Eksblowfish::Bcrypt under mod_perl

Replies are listed 'Best First'.
Re: Problem with Crypt::Eksblowfish::Bcrypt under mod_perl
by Anonymous Monk on Jun 08, 2012 at 05:46 UTC
    It appears that the problem is actually with Crypt::Random. If I so much as include Crypt::Random in my script then apache chews up the processor. If I don't, the problem doesn't occur.

    Ideas? Thanks in advance.