From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 18:15:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CA6116A402 for ; Wed, 7 Feb 2007 18:15:28 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id DC92F13C48D for ; Wed, 7 Feb 2007 18:15:27 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from localhost.168.11.51 ([::1] helo=lists.lc-words.com) by lists.lc-words.com with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HErL5-00016v-4v for freebsd-questions@freebsd.org; Wed, 07 Feb 2007 19:16:15 +0100 Received: from 192.168.11.7 (SquirrelMail authenticated user zbyszek@szalbot.homedns.org) by lists.lc-words.com with HTTP; Wed, 7 Feb 2007 19:16:15 +0100 (CET) Message-ID: <62210.192.168.11.7.1170872175.squirrel@lists.lc-words.com> Date: Wed, 7 Feb 2007 19:16:15 +0100 (CET) From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Subject: mysql service restart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 18:15:28 -0000 Hello all, I have a question. I am using mysql (Ver 14.12 Distrib 5.1.11-beta, for portbld-freebsd6.1 (i386) using 5.0) on a FBSD 6.2-RELEASE box. Today it got a bit of work to do and as a result the load was between 8-10 at peak times. I connect to mysql through socket. Mysql is mostly needed for exim where it serves to check authentication when people relay mail through it. When the load grew higher mysql service died (I saw this in paniclog): MYSQL connection failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Now, I did not restart the service but it was automatically restarted (great but how come?!). However, my question is why would mysql die like that? Is that likely to happen? I took some measures to make sure the load does not grow too high but would appreciate your comments. Thank you! -- Zbigniew Szalbot