Brad Nicholes wrote:
It appears to me that if it doesn't handle low memory situations or
it is giving false positives, those are separate issues from pools vs.
calloc/free. I still think we need to implement some better monitoring
or logging code in the cache_mgr and enhance the cache-status
The proper logic to add to a cache is
wrlock
test if exists again
add element
unlock
because there is a race condition in the logic below
rdlock
test if the element exists
race is here, prior to wrlocking, another thread may wrlock-insert
promote to wrlock
insert
unlock
At 12:33 PM 6/11/2004, William A. Rowe, Jr. wrote:
The proper logic to add to a cache is
wrlock
test if exists again
add element
unlock
because there is a race condition in the logic below
rdlock
test if the element exists
race is here, prior to wrlocking, another thread may
wrlock-insert
After speaking many times about this problem on #apache-modules, Paul
Querna said that it would be better to port mod_auth_ldap to
mod_authn_ldap, and do module caching auth, for all authentication
method. I am sure this way is really better and i agree with him. I
know
he started this cache
[EMAIL PROTECTED] wrote:
coar2004/06/11 14:43:58
Modified:support rotatelogs.c
Log:
add -l option to indicate interval is based on localtime not gmt
a CHANGES entry would be good
also, I guess this is exactly the feature requested/implemented in PR 24417?
At 04:41 PM 6/11/2004, Brad Nicholes wrote:
I am sure that we can take advantage of what has been done in mod_ssl and
other places that have to mutex protect shared memory. It is actually working
great on NetWare at the moment but then we don't use shared memory and
we are multi-threaded only.
I'm forwarding on behalf of my collegue (as his mails are not reaching
the list)
-Madhu
-Original Message-
From: CHOU,TAIR-SHIAN (HP-Cupertino,ex1)
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 7:04 PM
To: Mathihalli, Madhusudan
Subject: FW: util_ldap [Bug 29217] - Remove
Another mail..
-Madhu
-Original Message-
From: CHOU,TAIR-SHIAN (HP-Cupertino,ex1)
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 7:05 PM
To: Mathihalli, Madhusudan
Subject: FW: util_ldap [Bug 29217] - Remove references to
calloc() and free()
-Original Message-
From: