From owner-freebsd-questions@FreeBSD.ORG Fri Apr 2 13:48:03 2004 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 2142E16A4CE for ; Fri, 2 Apr 2004 13:48:03 -0800 (PST) Received: from hotmail.com (bay16-dav16.bay16.hotmail.com [65.54.186.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C9143D31 for ; Fri, 2 Apr 2004 13:48:03 -0800 (PST) (envelope-from meimi_1@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 2 Apr 2004 13:48:02 -0800 Received: from 203.218.210.198 by bay16-dav16.bay16.hotmail.com with DAV; Fri, 02 Apr 2004 21:48:02 +0000 X-Originating-IP: [203.218.210.198] X-Originating-Email: [meimi_1@hotmail.com] X-Sender: meimi_1@hotmail.com From: "meimi" To: References: <20040402204419.GA1944@cs025_2k> Date: Sat, 3 Apr 2004 05:47:51 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 02 Apr 2004 21:48:02.0939 (UTC) FILETIME=[2C6D1CB0:01C418FC] Subject: Re: Server down regularly 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: Fri, 02 Apr 2004 21:48:03 -0000 Hello, > What is the output of uname -a? FreeBSD cp.laws.ms 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri May 23 11:13:23 CDT 2003 > Are you patched to the latest security release for 4.8 (p.16 or so)? PHP has been causing people problems lately (see the archives for this list back 30-60 days), could it be biting you? The symptoms sound similar (apache crashing the system). I have checked the dmesg and I found this pid 96448 (httpd), uid 398: exited on signal 6 So, I check the apache error log, and I found this warning repeat many times [warn] child process xxxxx did not exit, sending another SIGHUP After that, apache restart. Then another 5 minutes, the servers offline. So, I think you may be right, since I just recompile PHP with lastest PHP stable version (4.3.5). I will search the mail archive now. Thank you for everyone help. You all are very knowledgeable. Thanks Meimi ----- Original Message ----- From: "Joshua Lokken" To: "meimi" Sent: Saturday, April 03, 2004 4:44 AM Subject: Re: Server down regularly > * meimi [2004-04-02 12:21]: > > Hello, > > Thanks everyone. > > > > Here is the information > > FreeBSD 4.8 > > Server specification: > > PIII1.7GHz > > 512MB ram > > 80GB harddisk > > > > The server is used for web, mail, dns and databases (mysql and postgresql). > > Recently, I have recompiled PHP with option curl and openssl added. > > The server is in Equinix datacenter and it is not busy, so I don't it will > > be temperature problems. > > > > Actually, what I want to know is the general steps for finding the problems. > > > Well, that's alot of tasks for a single server, but should be alright. > If I wanted to start looking for the source of this problem, I'd first > check /var/log/messages. You'll get a variety of different blurbs in > there, maybe some of which could help you. I'd also check dmesg, to > see if there is hardware or other trouble at boot time: > > # dmesg | more > > > HTH some, > > > -- > Joshua > > Immortality consists largely of boredom. > -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8 >