From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 19:08:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B027C16A4CE for ; Wed, 26 Jan 2005 19:08:02 +0000 (GMT) Received: from hotmail.com (bay2-f35.bay2.hotmail.com [65.54.247.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB0A43D1D for ; Wed, 26 Jan 2005 19:08:02 +0000 (GMT) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 26 Jan 2005 11:08:01 -0800 Message-ID: Received: from 208.186.54.187 by by2fd.bay2.hotmail.msn.com with HTTP; Wed, 26 Jan 2005 19:07:04 GMT X-Originating-IP: [208.186.54.187] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-questions@freebsd.org Date: Wed, 26 Jan 2005 23:37:04 +0430 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 26 Jan 2005 19:08:01.0960 (UTC) FILETIME=[5B4F3A80:01C503DA] Subject: Re: My FreeBSD Box's WEB serve sleeps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 19:08:02 -0000 >if the clients visit http serve via internet at the first time after a >long time(eg. one day),my box will delays for about serveral minutes,and >then it works very well. You do not mention much about the server. Is it shared with other services? Is that the first person to hit the server in a day, or is that just the first time this person has hit the server in a day? If it is a shared system and that server is rarely hit, maybe the httpd processes are all getting swapped out. You might set up a cron job to request the home page once an hour just to make sure it is in memory when the next person calls. Or maybe it is a DNS problem. Are you hosting your own DNS records? After a day they may be out of date and if your DNS server is slow it could delay the system. You might test by having the person request the page by ip address instead (assuming it is not a shared server using virtual hosting). So... I think more information is needed. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/