From owner-soc-status@FreeBSD.ORG Sun Jul 25 08:40:57 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F5D1065670; Sun, 25 Jul 2010 08:40:57 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id A85F98FC19; Sun, 25 Jul 2010 08:40:57 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id D772B14DC2D0; Sun, 25 Jul 2010 10:40:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qVTzn0WQAND2; Sun, 25 Jul 2010 10:40:54 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 1A8B014DC294; Sun, 25 Jul 2010 10:40:54 +0200 (CEST) Message-ID: <4C4BF88C.9000606@FreeBSD.org> Date: Sun, 25 Jul 2010 10:40:44 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: soc-status@freebsd.org References: <4C1BCB96.4040608@FreeBSD.org> <4C21CAF0.2040607@FreeBSD.org> <4C230A0B.3080700@FreeBSD.org> <4C2761B8.9030800@FreeBSD.org> <4C30B90F.9040703@FreeBSD.org> In-Reply-To: <4C30B90F.9040703@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= Subject: Collective resource limits status report #8 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 08:40:57 -0000 Since last report I could get JLIMIT_NUMPROC work and also tested and reviewed thoroughly. I've added some test cases to the test suite, refactored it and added options to set all kinds of limits that are to be implemented for jobs. Also added options to consume different kinds of resources, although this part is still to be completed. I started working on further limits and noticed that some of them cannot be counted so easily because of the way they are implemented. Probably, they will have to be sumed up for each process when checking limits. I'll check if there's a more efficient way of doing this but for now I had to modify some parts of my code and I managed to break it again. :) I've added support for JLIMIT_NOFILE and started to add JLIMIT_DATA but the code doesn't work at the moment. I will be fixing this next week and then adding support for remaining limits. Latest code is merged to //depot/projects/soc2010/gabor_jobs/irix_jobs/... Gabor