From owner-freebsd-stable@FreeBSD.ORG Fri May 8 14:18:40 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DDD106567C for ; Fri, 8 May 2009 14:18:40 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 762E48FC12 for ; Fri, 8 May 2009 14:18:40 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so839509ywe.13 for ; Fri, 08 May 2009 07:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=NABaxgTs5SPHB/CwEGQypTqgix1qLRT0amRbO0IcElE=; b=DNuN7agU2pd1KlFc1OHn0QgGNPqCUj0KCuU1/gbTuoBFyNDF6IqioMvAkVgvmwhpNP +nR4EBL18HhNQ++YhUL0BpLLYbzSTDhx9DBO70HwkvfIr0ss/p+G2l9gy02lpeMJ9jjt D8scbOsCLca1llUSWcWhl12J5iAPipt3o2FnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PLBWqaGAeLwSWFk1Sy/VPtfhTY8MQlKDEL5EoEKJIQUFkYWrCRivCLPWRS0SDA5jpv gL1wDqVvkW3PBRk+fetEEosbc/bbbqOfTbm1eXJXzNUqkEzT4tTkgmd6NTR/jHDakfiJ tyaPdUrj4svn1Va0cbXIVck5kmStnZOgvUo5U= MIME-Version: 1.0 Received: by 10.100.163.15 with SMTP id l15mr8743078ane.22.1241790662205; Fri, 08 May 2009 06:51:02 -0700 (PDT) Date: Fri, 8 May 2009 10:51:02 -0300 Message-ID: From: Eduardo Meyer To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: "maxproc limit exceeded" making no sense X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 14:18:41 -0000 Hello, I have a problem which makes no sense to me, at least not the way I understand. My mail server is compaining about maxproc limit: # tail /var/log/messages May 8 10:34:15 mx kernel: maxproc limit exceeded by uid 82, please see tuning(7) and login.conf(5). May 8 10:34:38 mx last message repeated 12 times May 8 10:35:14 mx last message repeated 18 times May 8 10:36:32 mx last message repeated 41 times May 8 10:36:35 mx kernel: maxproc limit exceeded by uid 82, please see tuning(7) and login.conf(5). My maxproc as well as maxfiles are artificially raised (a lot raised): # sysctl kern.maxfiles kern.maxfiles: 80000 # sysctl kern.maxfilesperproc kern.maxfilesperproc: 80000 # sysctl kern.maxproc kern.maxproc: 9000 # sysctl kern.maxprocperuid kern.maxprocperuid: 80000 However what I see regarding proc usage is by uid 82 is: # ps -U 82 | wc -l 723 Proccess count for UID 82 is never highter than 913 (monitored the last whole hour, while log messages were still showing, complaining about maxproc limit beeing exceeded). I would like to understand and figure out what I need to tune in order to raise the current limit, and also find what the current limit is. Thank you a lot and in advance. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br