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 

>>> [EMAIL PROTECTED] 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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 

Reply via email to