From owner-freebsd-questions@FreeBSD.ORG Wed Dec 25 11:43:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA0DF8AA for ; Wed, 25 Dec 2013 11:43:16 +0000 (UTC) Received: from frv190.fwdcdn.com (frv190.fwdcdn.com [212.42.77.190]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A22071F69 for ; Wed, 25 Dec 2013 11:43:16 +0000 (UTC) Received: from [10.10.1.29] (helo=frv197.fwdcdn.com) by frv190.fwdcdn.com with esmtp ID 1VvmXf-000LHe-88 for freebsd-questions@freebsd.org; Wed, 25 Dec 2013 13:22:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:To:Subject:From:Date; bh=Qf1PK3wL58dvGyFjfQMg0jR1rt+0vQuxC7dB+tA1UKA=; b=VYEE5C1CzNqOaHC7/4amJcJoexmF2TlisFc4r3TblvK1ghi0Mc+6+HxXwPfKnUPEXyYwlJZTYCounpusPzZ33qoenRbpBKBzzimXIFhDUA1i92saeMkJ4XI4sr5WVV1/TLOOzEzgLKTjYsBAGfciaCo5e7WcGATbBrtx4mt4doU=; Received: from [10.10.10.35] (helo=frv35.ukr.net) by frv197.fwdcdn.com with smtp ID 1VvmXU-000PXV-CL for freebsd-questions@freebsd.org; Wed, 25 Dec 2013 13:22:12 +0200 Date: Wed, 25 Dec 2013 13:22:11 +0200 From: Vladislav Prodan Subject: Errors like - httpd: set class 'default' resource limit openfiles: Operation not permitted To: freebsd-questions@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1387970055.531656269.ta4xx746@frv35.ukr.net> MIME-Version: 1.0 Received: from universite@ukr.net by frv35.ukr.net; Wed, 25 Dec 2013 13:22:12 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 11:43:17 -0000 In the logs (/var/log/messages) constantly hear and error like: Dec 25 13:13:32 vesuvius httpd: set class 'default' resource limit datasize: Operation not permitted Dec 25 13:13:32 vesuvius httpd: set class 'default' resource limit stacksize: Operation not permitted Dec 25 13:13:32 vesuvius httpd: set class 'default' resource limit maxproc: Operation not permitted Dec 25 13:13:32 vesuvius httpd: set class 'default' resource limit openfiles: Operation not permitted Contents of the file /etc/login.conf default # uname -a FreeBSD vesuvius.XXXXXX.ua 9.1-STABLE FreeBSD 9.1-STABLE #0: Sun Feb 10 19:44:03 EET 2013 root@vesuvius.XXXXXX.ua:/usr/obj/usr/src/sys/vesuvius.3 amd64 # pkg_info | grep apache apache22-itk-mpm-2.2.24 Version 2.2.x of Apache web server with itk MPM. How do I redeem these errors? Or that it is necessary to correct in /etc/login.conf, to correctly set the resource limits for apache22-itk-mpm without compromising security. Thanks. -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE