https://bz.apache.org/bugzilla/show_bug.cgi?id=69841

--- Comment #2 from [email protected] ---
Created attachment 40115
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=40115&action=edit
Patch diff

Thank you, it was quick!

In 2.4.65 still "apr_password_validate" is used instead of
"ap_password_validate", so I had to modify the patch (attaching the diff), but
otherwise it applied and I recompiled exactly how my distro compiled, then
replaced the mod_authn_socache.so file.

Observations:

The error is gone, the page loads without any error messages or crashes.

However, caching is effectively not done. With trace4, for a single page load,
for every request I see multiple "mutex busy" messages. Altogether 104 for 75
requests.

1. Encryption standards require an algorithm with high computation power, so I
use SHA512-CRYPT with many rounds. As I see, Apache is trying to crypt the
password for every request and compare it with the DB result, which prolongs
the web page loading time from a few hundred ms to 5 seconds.

2. I still see many (20+) connections reaching the DB. I'd think that with
caching that's reduced.

I use Apache in "event" worker mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to