From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id 3DB1D3EDF5 for ; Thu, 14 Feb 2002 16:27:20 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [12.107.208.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g1ELRLe22533 for ; Thu, 14 Feb 2002 16:27:21 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.6/8.8.7) id g1ELRKU07836 for axp-list@listman.redhat.com; Thu, 14 Feb 2002 16:27:20 -0500 Received: from gtedhcp-55.inetarena.com (GTEDHCP-55.inetarena.com [206.129.92.55]) by mail.redhat.com (8.11.6/8.8.7) with ESMTP id g1ELRIC07829 for ; Thu, 14 Feb 2002 16:27:19 -0500 Received: (from rob@localhost) by gtedhcp-55.inetarena.com (8.11.6/8.11.6) id g1ELRJB06371 for axp-list@redhat.com; Thu, 14 Feb 2002 13:27:19 -0800 Date: Thu, 14 Feb 2002 13:27:19 -0800 From: "Robert M. Riches Jr." Message-Id: <200202142127.g1ELRJB06371@gtedhcp-55.inetarena.com> To: axp-list@redhat.com Subject: Re: httpd not running after reboot X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > From: Mark Arrasmith > Date: Thu, 14 Feb 2002 14:56:51 -0600 > > > From: "Robert M. Riches Jr." > > > > > Maybe this is too obvious, but one kludgey workaround would be > > > to put in a script to happen just before Apache tries to start, > > > and have that script do a bunch of disk I/O. > > > > > Works, but it adds 2 to 3 min's to the startup. I wonder what the real > problem is. Then, I would suggest doing just the minimum amount of disk I/O to get Apache to start up. Control of how much disk I/O is done could be accomplished by piping the output of "find" to "head -40000" (or some other number), provided this pipeline would cut off the "find" command when the "head" command quit reading from stdin. In the worst case, a short C program or Perl script could read from the disk until some end-point criterion was met. Static determination of the needed amount could be done by trying different amounts. Binary search should find a close-to-optimal solution in fairly short order. It might be possible to do dynamic determination of the needed amount by putting the "find" or other disk I/O generator in the background, periodically checking for the presence of an "httpd" process or some file that indicates Apache had started. That's essentially what I do with the X server on my system. Good luck. Robert Riches richesr1@inetarena.com