From owner-freebsd-questions Tue Sep 22 00:09:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA05149 for freebsd-questions-outgoing; Tue, 22 Sep 1998 00:09:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA05136 for ; Tue, 22 Sep 1998 00:09:09 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.0/8.9.0) with SMTP id JAA25692; Tue, 22 Sep 1998 09:08:23 +0200 (CEST) Date: Tue, 22 Sep 1998 09:08:23 +0200 (CEST) From: Konrad Heuer To: "Liotta, Bob" cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: Memory Fault - Core Dump In-Reply-To: <91BBEEE56F70D11199C0006097E0FE914E0977@ntnau210.usco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 21 Sep 1998, Liotta, Bob wrote: > I am running msql as a database engine. When a run a gigantic query or > the backup utility, I fail with a memory fault - core dump. It seems > that each time the core dump is just over 64mb of data. Being the way > the database operates, this would be possible. Is there a kernel > parameter that addresses how much memory a process is allowed to have? The resource limits are set in `/etc/login.conf'. As far as I know there's no kernel parameter beside that. You can check your soft limits by `ulimit -a' (sh, bash, ksh) or `limit' (csh, tcsh) and the hard limits by `ulimit -Ha' or `limit -h'. Every user can raise the soft limits using the commands given above as long as they don't exceed the hard limits; the superuser can do anything. If your data limit is 64M and your application doesn't check well enough whether required memory is really allocated by the OS it may of course crash. Regards Konrad Heuer // Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH // Goettingen (GWDG), Am Fassberg, D-37077 Goettingen, Germany // // kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message