Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EF4518DB5 for ; Sat, 22 Aug 2015 01:14:35 +0000 (UTC) Received: (qmail 90335 invoked by uid 500); 22 Aug 2015 01:14:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 90297 invoked by uid 500); 22 Aug 2015 01:14:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 90287 invoked by uid 99); 22 Aug 2015 01:14:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2015 01:14:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 705C31AA9AB for ; Sat, 22 Aug 2015 01:14:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id eu0T-cZA6YAb for ; Sat, 22 Aug 2015 01:14:30 +0000 (UTC) Received: from mail-lb0-f194.google.com (mail-lb0-f194.google.com [209.85.217.194]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id DDA4B20634 for ; Sat, 22 Aug 2015 01:14:29 +0000 (UTC) Received: by lbbnb10 with SMTP id nb10so4080313lbb.1 for ; Fri, 21 Aug 2015 18:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=aWhgfswdT8DTeg2xr5pqja92hU2XEVdcxSaOQCxg4mg=; b=rS0YxROTffsRPJjW4aDNAj9rSTPyCyzCraAouH+3Zo13w9rqqknPytChfD6MyNRDZl 6lOD0jDUHHRVfXj5nwBsnx/43nyhrCcfNiqjP0s+SEVeklEWBWl1EEHPWDJTiv/DYyY7 iVVwPngmnSylMqK8fEllDW6HoWcuMoTDTxBnP0Df1HUeWKhwx71bbNuSEEZO1WMnxl2Q y/phWj4HZ8DPO4GrSsWHo6A2FAuyVsghKIA2fiYWeskA+lEBhvtL/RbzJX5XE2lgjJij 5N5Iw2D06T9HUIK5cL/6T5y+Zf0zD/hbnVnlQJZCnb4MGNZQLwTkJKJ2hmWoSUiOKz7g EahQ== MIME-Version: 1.0 X-Received: by 10.152.9.103 with SMTP id y7mr10113233laa.111.1440206068429; Fri, 21 Aug 2015 18:14:28 -0700 (PDT) Received: by 10.25.170.10 with HTTP; Fri, 21 Aug 2015 18:14:28 -0700 (PDT) In-Reply-To: References: Date: Sat, 22 Aug 2015 11:14:28 +1000 Message-ID: From: Daryl King To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=089e01494af01cb7dd051ddc1b68 Subject: Re: [users@httpd] apache segfault debugging with gdb - need advice --089e01494af01cb7dd051ddc1b68 Content-Type: text/plain; charset=UTF-8 Thanks Ryan. Strangely when running "ulimit -n" it returns 65536 in a ssh session, but 1024 in webmin? Which one would be correct? On Sat, Aug 22, 2015 at 12:52 AM, R T wrote: > > Hi Daryl, > > Typically when I see a core dump when running siege, it is a resource > issue. Out of memory, and/or I've reached the ulimit on my machine and need > to set it higher. The limit is 1024 (displayed via ulimit -n), and can be > changed via ulimit -n . This change isn't persistent - and the > setting can be changed permanently by editing > /etc/sysconfig/security/limits.conf. > > I typically set it to something unrealistically high, and the machine will > always run out of memory before hitting the ulimit. > > > - Ryan > > On Fri, Aug 21, 2015 at 9:49 AM, Daryl King > wrote: > >> I am running Apache 2.4.10 with mpm_event on a Debian 8 vps. When I run >> Siege on my setup it runs well, except for a Segmentaion Fault at the very >> end [child pid xxxx exit signal Segmentation fault (11)]. I have run GDB on >> a core dump of the segfault and returned this: >> [Using host libthread_db library >> "/lib/x86_64-linux-gnu/libthread_db.so.1". >> Core was generated by `/usr/sbin/apache2 -k start'. >> Program terminated with signal SIGSEGV, Segmentation fault. >> #0 0x00007f53a4ac8add in read () at ../sysdeps/unix/syscall-template.S:81 >> 81 ../sysdeps/unix/syscall-template.S: No such file or directory. >> (gdb)] >> Im at a loss as to how to proceed with this, but am willing to keep >> digging until I find the answer. Any advice appreciated.. >> > > --089e01494af01cb7dd051ddc1b68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Ryan. Strangely when running "ulimit -n" = it returns 65536 in a ssh session, but 1024 in webmin? Which one would be c= orrect?

= On Sat, Aug 22, 2015 at 12:52 AM, R T <i.r.dshiznit@gmail.com>= wrote:

Hi Daryl,

Typically when I see a core dum= p when running siege, it is a resource issue. Out of memory, and/or I'v= e reached the ulimit on my machine and need to set it higher. The limit is = 1024 (displayed via ulimit -n), and can be changed via ulimit -n <value&= gt;. This change isn't persistent - and the setting can be changed perm= anently by editing /etc/sysconfig/security/limits.conf.

I typi= cally set it to something unrealistically high, and the machine will always= run out of memory before hitting the ulimit.


- Ryan
<= /div>
On Fri, Aug 21, 2015 at 9:49 AM, Daryl King <allnatives.online@gmail.com> wrote:
I am running Apache 2.4.10 with mpm= _event on a Debian 8 vps. When I run Siege on my setup it runs well, except= for a Segmentaion Fault at the very end [child pid xxxx exit signal Segmen= tation fault (11)]. I have run GDB on a core dump of the segfault and retur= ned this:
=C2=A0[Using host libthread_db library "/lib/x86_64-linux= -gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -= k start'.
Program terminated with signal SIGSEGV, Segmentation fault= .
#0=C2=A0 0x00007f53a4ac8add in read () at ../sysdeps/unix/syscall-temp= late.S:81
81=C2=A0=C2=A0=C2=A0 ../sysdeps/unix/syscall-template.S: No su= ch file or directory.
(gdb)]
Im at a loss as to how to proceed = with this, but am willing to keep digging until I find the answer. Any advi= ce appreciated..


--089e01494af01cb7dd051ddc1b68--