Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Problem with Crypt::Eksblowfish::Bcrypt under mod_perl

by Anonymous Monk
on Jun 08, 2012 at 04:30 UTC ( [id://975078]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://975078]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-16 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found