Received: by taz.hyperreal.com (8.8.4/V2.0) id SAA12273; Mon, 3 Feb 1997 18:38:19 -0800 (PST) Received: from fully.organic.com by taz.hyperreal.com (8.8.4/V2.0) with ESMTP id SAA12265; Mon, 3 Feb 1997 18:38:15 -0800 (PST) Received: (from ed@localhost) by fully.organic.com (8.8.3/8.6.12) id CAA06721; Tue, 4 Feb 1997 02:39:46 GMT From: "Ed Korthof" Message-Id: <9702031839.ZM6719@fully.organic.com> Date: Mon, 3 Feb 1997 18:39:46 -0800 In-Reply-To: Rob Hartill "[BUG]: "Resource limits (RlimitCPU, etc.) cause core dump" on Solaris 2.x (fwd)" (Feb 4, 1:28am) References: X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail) To: djast@cs.toronto.edu Subject: Re: [BUG]: "Resource limits (RlimitCPU, etc.) cause core dump" on Solaris 2.x (fwd) Cc: new-httpd@hyperreal.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="PART-BOUNDARY=.19702031839.ZM6719.organic.com" Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com -- --PART-BOUNDARY=.19702031839.ZM6719.organic.com Content-Type: text/plain; charset=us-ascii A patch for this bug has already been applied to the most recent source tree. I have attached that patch; if you apply this by hand, please note that the line numbers differ from the standard 1.2b6 code base and make sure you make the change on the appropriate line (1017). This bug was caused by a change made from 1.2b4 to 1.2b6 which is related to the TAKE12 method and the arguments passed to set_rlimit; so far as I know, the offset stuff is alright (though I don't claim to understand it). -- -- Ed Korthof | Web Server Engineer -- -- ed@organic.com | Organic Online, Inc -- -- (415) 278-5676 | Fax: (415) 284-6891 -- --PART-BOUNDARY=.19702031839.ZM6719.organic.com X-Zm-Content-Name: RLIMIT_Patch Content-Description: Text Content-Type: text/plain ; name="RLIMIT_Patch" ; charset=us-ascii *** http_core.c.orig Wed Jan 29 21:34:44 1997 --- http_core.c Wed Jan 29 21:34:17 1997 *************** *** 1003,1009 **** return; } ! if ((str = getword_conf(cmd->pool, &arg2))) max = atol(str); /* if we aren't running as root, cannot increase max */ --- 1003,1009 ---- return; } ! if (arg2 && (str = getword_conf(cmd->pool, &arg2))) max = atol(str); /* if we aren't running as root, cannot increase max */ --PART-BOUNDARY=.19702031839.ZM6719.organic.com--