From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 23:17:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4B6BD16A423 for ; Sun, 4 Dec 2005 23:17:52 +0000 (GMT) (envelope-from lists@webtent.net) Received: from esmtp.webtent.net (esmtp.webtent.net [208.38.145.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB9743D66 for ; Sun, 4 Dec 2005 23:17:51 +0000 (GMT) (envelope-from lists@webtent.net) Received: from localhost (localhost.webtent.net [127.0.0.1]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 805CDEBE4A for ; Sun, 4 Dec 2005 18:17:44 -0500 (EST) Received: from esmtp.webtent.net ([127.0.0.1]) by localhost (esmtp.webtent.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17478-15 for ; Sun, 4 Dec 2005 18:17:44 -0500 (EST) Received: from [192.168.1.52] (webtent.org [70.110.70.42]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 79151EBE5E for ; Sun, 4 Dec 2005 18:17:42 -0500 (EST) Message-ID: <43937915.7020300@webtent.net> Date: Sun, 04 Dec 2005 18:17:41 -0500 From: Robert Fitzpatrick User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at webtent.net Subject: Too many files crashing services X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: robert@webtent.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 23:17:52 -0000 I posted this issue yesterday sometime and have been trying to track down the problem with the help of the Postfix list. There, Weitse has suggested tracking down the culprit using lsof, which I know nothing about. I tried 'lsof|less', but that doesn't even show anything via SSH, related to the mail system. Perhaps I need to be at the console to run this? I tried 'lsof|grep postfix' and get pages of information to open files, but what I'm I looking for? The problem is these errors below keep showing up in the messages log until it starts to crash services, I stop and start Postfix and it goes away, but only for several minutes. I have to stop and start Postfix every 15 minutes to keep the issue at bay. Any ideas what I should be looking for with lsof? esmtp# tail /var/log/messages Dec 4 17:54:33 esmtp master[91678]: service pop3 pid 15695 in READY state: terminated abnormally Dec 4 17:54:33 esmtp master[91678]: service pop3 pid 15696 in READY state: terminated abnormally Dec 4 17:54:33 esmtp master[91678]: service pop3 pid 15697 in READY state: terminated abnormally Dec 4 17:54:34 esmtp kernel: kern.maxfiles limit exceeded by uid 88, please see tuning(7). Dec 4 17:54:39 esmtp last message repeated 5 times Dec 4 17:54:43 esmtp master[91678]: service pop3 pid 15698 in READY state: terminated abnormally I also get these messages: Dec 4 18:02:57 esmtp postfix/smtpd[15794]: fatal: socket: Too many open files Dec 4 18:05:13 esmtp postfix/smtpd[15760]: fatal: socket: Too many open files -- Robert