Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161076AbWJDFoH (ORCPT ); Wed, 4 Oct 2006 01:44:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161078AbWJDFoH (ORCPT ); Wed, 4 Oct 2006 01:44:07 -0400 Received: from us02smtp1.synopsys.com ([198.182.60.75]:1475 "EHLO vaxjo.synopsys.com") by vger.kernel.org with ESMTP id S1161076AbWJDFoD convert rfc822-to-8bit (ORCPT ); Wed, 4 Oct 2006 01:44:03 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: System hang problem. Date: Tue, 3 Oct 2006 22:44:04 -0700 Message-ID: Thread-Topic: System hang problem. Thread-Index: Acbnacbcbs8lj5yYQb6cU3EemwIJ2AADTzKA From: "Manish Neema" To: "Willy Tarreau" Cc: "Keith Mannthey" , X-OriginalArrivalTime: 04 Oct 2006 05:44:02.0231 (UTC) FILETIME=[18A6BC70:01C6E778] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 16 > What you can often do, if you have one application using much memory, > is limiting *this application's* memory usage with ulimit. If the > application correctly handles malloc()==NULL, then at least your > system will behave stably. The problem is its different application, different user each time (a typical large R&D environment). /etc/security/limits.conf allows to set max resident set size. Is there a way to limit based on the total virtual size? -Manish - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/