httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Nicholes" <BNICHO...@novell.com>
Subject Re:util_ldap [Bug 29217] - Remove references to calloc() and free()
Date Wed, 09 Jun 2004 23:00:52 GMT
   But if you are allocating memory for cache entries that are
constantly expiring and being purged, the pool will continue to grow
until the server is restarted.  The pool would end up with stale memory
that the system has no way of reclaiming outside of restarting the
server.  NetWare doesn't have the concept of a child config pool since
there are no child processes and therefore no need to use shared memory.
 Simply restarting a child process is not an option.  On NetWare it is
all or nothing.  Apache is either up and running or not.  If you tried
to shutdown the process to reclaim memory, you lose the web server.

Brad

Brad Nicholes
Senior Software Engineer
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com 

>>> bugzilla@apache.org Wednesday, June 09, 2004 4:43:22 PM >>>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29217 

Remove references to calloc() and free()





------- Additional Comments From minfrin@apache.org  2004-06-09 22:43
-------
The idea is to use apr_rmm_calloc() for the shared memory case, and
memory from
the child config pool in the non shared memory case. When the server
is
restarted, the pool is cleaned up and the cache started from scratch.

The purpose of this proposal is the fix the memory leak you mentioned.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org 
For additional commands, e-mail: bugs-help@httpd.apache.org 


Mime
View raw message