Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 29465 invoked by uid 500); 9 Aug 2001 15:59:40 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 29443 invoked from network); 9 Aug 2001 15:59:39 -0000 Message-ID: <85063BBE668FD411944400D0B744267A64367B@AUSMAIL> From: "Gonyou, Austin" To: "'new-httpd@apache.org'" Subject: RE: dumps on Linux: some progress Date: Thu, 9 Aug 2001 10:59:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 338 Hmm..I'll research this a bit and see what I come up with. I think I can find the answer here. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: austin@coremetrics.com > -----Original Message----- > From: Greg Ames [mailto:gregames@remulak.net] > Sent: Thursday, August 09, 2001 10:10 AM > To: new-httpd@apache.org > Subject: dumps on Linux: some progress > > > Last nite I figured out how to get a core dump of a threaded server on > Linux when it seg faults. After Justin pointed out that he's > seen dumps > w/threaded, I noticed that I had a few old dumps in my home directory, > and one in root's home directory, but nothing my configured > CoreDumpDirectory (writeable by everybody w/the sticky bit set). > > I had "User nobody" and "Group nobody" in my config file, to match > daedalus as closely as possible. hmmmm..."nobody" doesn't have a home > directory. So I created "webuser" which does have a home > directory, and > only belongs to its own group. Changed the config file to use this > user/group, fired up threaded with mod_cgid, did an > "apachectl restart", > and voila! a coredump appeared in my CoreDumpDirectory. > > I still don't know exactly what the deal is here (i.e., is it > important > that "webuser" has a home dir? is Mandrake's security stuff or Linux > itself doing something to "nobody"? does this have anything to do with > using threads?) but thought it might be useful to other folks. > > Still nothing in the error log. This shouldn't be a surprise > - we don't > have code that logs when the parent itself seg faults. > > Thanks to Justin for letting us know that core dumps are possible > w/threaded on Linux, and to Ben whose Horse book is where I > got the idea > for "webuser". > > Greg >