Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 24600 invoked by uid 500); 16 May 2001 13:51:24 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 24340 invoked from network); 16 May 2001 13:51:09 -0000 Sender: gregames@Mail.MeepZor.Com Message-ID: <3B028545.8C803FC@remulak.net> Date: Wed, 16 May 2001 09:48:53 -0400 From: Greg Ames X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: Scoreboard redesign References: <200105160446.AAA12313@devsys.jaguNET.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Jim Jagielski wrote: > > Paul J. Reder wrote: > > > > For the time being, the shared storage will still be allocated in a "big > > chunk" up front (until we can figure out how to allocate and free smaller > > chunks). We will unfortunately still be allocating more than is usually > > needed, but will now be able to avoid allocating the (bigger) part related > > to mod_status if it isn't loaded. So overall it should usually be a > > memory savings. > > > > Seems to me, this will break gracefull restarts if you're adding > mod_status at that time, since the scoreboard is allocated at initial > boot and not at restarts. > hmmm...more thought, code reading, and whiteboard doodling is called for. Off the top of my head, I would think one of the config hooks in mod_status could allocate a big chuck of shmem for its use on every restart. Then the new worker processes would see the Right Stuff as far as pointers. The core should also allocate a new chunk of shmem to represent the processes at restart time, so we can get rid of the HARD_SERVER_LIMIT stuff (it's a PITA...think of admins in big shops who want to use binaries). Getting rid of the shmem for the previous generation might be the most challenging problem. Once we get this stuff figured out, it would be most excellent if some of the layered memory system folks would jump in and help out with managing the individual small pieces of shared memory. Greg