Thread: gborg's apache server ...

gborg's apache server ...

From
"Marc G. Fournier"
Date:
At first, I thought it was just a 'fluke' that it was crashing ... but I
just restarted it, and sent it a manual SIGHUP, and it crashes right off
... I've tried SIGHUP'ng other VMs on that same server, running the same
template, and all of them do as expected (kill all child processes and
restart) ...

I've added a cron job runnig every 60 minutes to 'start' the daemon, so
that when the log rotate happens to happen next, at least it won't stay
down ... but, can anyone here think of a "configuration" reason why it
might be doing this?  There is nothing in the log files to indicate a
problem, other then that persistent SegFault ...

Anyone with any thoughts?

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: gborg's apache server ...

From
Michael Fuhr
Date:
On Thu, Jul 14, 2005 at 11:05:56PM -0300, Marc G. Fournier wrote:
>
> I've added a cron job runnig every 60 minutes to 'start' the daemon, so
> that when the log rotate happens to happen next, at least it won't stay
> down ... but, can anyone here think of a "configuration" reason why it
> might be doing this?  There is nothing in the log files to indicate a
> problem, other then that persistent SegFault ...

Are you getting a core dump?  That might help show what's going on.
Has anything changed recently?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: gborg's apache server ...

From
"Marc G. Fournier"
Date:
On Thu, 14 Jul 2005, Michael Fuhr wrote:

> On Thu, Jul 14, 2005 at 11:05:56PM -0300, Marc G. Fournier wrote:
>>
>> I've added a cron job runnig every 60 minutes to 'start' the daemon, so
>> that when the log rotate happens to happen next, at least it won't stay
>> down ... but, can anyone here think of a "configuration" reason why it
>> might be doing this?  There is nothing in the log files to indicate a
>> problem, other then that persistent SegFault ...
>
> Are you getting a core dump?  That might help show what's going on.
> Has anything changed recently?

Not giving me much, unless I'm running it wrong:

gborg# gdb /usr/local/sbin/httpd httpd.core.o
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.cline 2627 in elfstab_build_psymtabs 
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in
fill_symbuf

Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/local/lib/libmm.so.13...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/php/20020429/interbase.so...done.
Reading symbols from /usr/local/firebird/lib/libfbembed.so.1...Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.cline 3049 in dwarf2_read_section 
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done.
Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done.
Reading symbols from /usr/local/libexec/apache/mod_env.so...done.
Reading symbols from /usr/local/libexec/apache/mod_define.so...done.
Reading symbols from ...done.

No stack.
(gdb) where
No stack.
(gdb) quit

but, that 'firebird/interbase.so' load has me curious, since I have it
commented out in the extensions.ini file ... looking into that ...


----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: gborg's apache server ...

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgsql-www-owner@postgresql.org
> [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Marc G. Fournier
> Sent: 15 July 2005 03:06
> To: pgsql-www@postgresql.org
> Cc: Chris Ryan
> Subject: [pgsql-www] gborg's apache server ...
>
>
> At first, I thought it was just a 'fluke' that it was
> crashing ... but I
> just restarted it, and sent it a manual SIGHUP, and it
> crashes right off
> ... I've tried SIGHUP'ng other VMs on that same server,
> running the same
> template, and all of them do as expected (kill all child
> processes and
> restart) ...
>
> I've added a cron job runnig every 60 minutes to 'start' the
> daemon, so
> that when the log rotate happens to happen next, at least it
> won't stay
> down ... but, can anyone here think of a "configuration"
> reason why it
> might be doing this?  There is nothing in the log files to indicate a
> problem, other then that persistent SegFault ...
>
> Anyone with any thoughts?

Yeah - look at it from another viewpoint - what has changed in the last
few days on that VM? Have you upgraded anything in the template or the
VM itself? Probably the only other ppl (except any staff you currently
have of course) who could have done anything like that would be me or
Chris, and I know I haven't touched it.

Regards, Dave

Re: gborg's apache server ...

From
Chris Ryan
Date:
    I have not changed anything either. Jan is the only other person I
know who has access to the server. Is he on this list?

Chris

--- Dave Page <dpage@vale-housing.co.uk> wrote:

>
>
> > -----Original Message-----
> > From: pgsql-www-owner@postgresql.org
> > [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Marc G.
> Fournier
> > Sent: 15 July 2005 03:06
> > To: pgsql-www@postgresql.org
> > Cc: Chris Ryan
> > Subject: [pgsql-www] gborg's apache server ...
> >
> >
> > At first, I thought it was just a 'fluke' that it was
> > crashing ... but I
> > just restarted it, and sent it a manual SIGHUP, and it
> > crashes right off
> > ... I've tried SIGHUP'ng other VMs on that same server,
> > running the same
> > template, and all of them do as expected (kill all child
> > processes and
> > restart) ...
> >
> > I've added a cron job runnig every 60 minutes to 'start' the
> > daemon, so
> > that when the log rotate happens to happen next, at least it
> > won't stay
> > down ... but, can anyone here think of a "configuration"
> > reason why it
> > might be doing this?  There is nothing in the log files to indicate
> a
> > problem, other then that persistent SegFault ...
> >
> > Anyone with any thoughts?
>
> Yeah - look at it from another viewpoint - what has changed in the
> last
> few days on that VM? Have you upgraded anything in the template or
> the
> VM itself? Probably the only other ppl (except any staff you
> currently
> have of course) who could have done anything like that would be me or
> Chris, and I know I haven't touched it.
>
> Regards, Dave
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Re: gborg's apache server ...

From
"Dave Page"
Date:

> -----Original Message-----
> From: Chris Ryan [mailto:xgbe@yahoo.com]
> Sent: 15 July 2005 12:58
> To: Dave Page; Marc G. Fournier; pgsql-www@postgresql.org
> Cc: Chris Ryan
> Subject: RE: [pgsql-www] gborg's apache server ...
>
>     I have not changed anything either. Jan is the only other person I
> know who has access to the server. Is he on this list?

You mean Jan Wieck? No, I don't think he is.

/D

Re: gborg's apache server ...

From
Robert Bernier
Date:
On July 15, 2005 09:21 am, Dave Page wrote:
> > -----Original Message-----
> > From: Chris Ryan [mailto:xgbe@yahoo.com]
> > Sent: 15 July 2005 12:58
>> Is Jan on this list?
>
> You mean Jan Wieck? No, I don't think he is.

Get on the slony list, he's always watching it.


Re: gborg's apache server ...

From
"Greg Sabino Mullane"
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>>     I have not changed anything either. Jan is the only other person I
>> know who has access to the server. Is he on this list?
>
> You mean Jan Wieck? No, I don't think he is.

Perhaps everyone who has access to a server should be required to be
subscribed to this list? It may have saved some time in this case.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200507151014
https://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkLXxMgACgkQvJuQZxSWSsjSHACdGjvcsfPqv3wXZqbPQZmQ7QlL
agEAn1qeg8Wn5vZWfz7pWFskXr9qAbyn
=6sLA
-----END PGP SIGNATURE-----



Re: gborg's apache server ...

From
"Joshua D. Drake"
Date:
Greg Sabino Mullane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
>>>    I have not changed anything either. Jan is the only other person I
>>>know who has access to the server. Is he on this list?
>>
>>You mean Jan Wieck? No, I don't think he is.

I have access but I can't do anything but look at logs. I would be more
than happy to help be a backup admin.

I don't think that "everyone" should have access but more than Marc
would definitely be good.

Sincerely,

Joshua D. Drake


>
>
> Perhaps everyone who has access to a server should be required to be
> subscribed to this list? It may have saved some time in this case.
>
> - --
> Greg Sabino Mullane greg@turnstep.com
> PGP Key: 0x14964AC8 200507151014
> https://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
>
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAkLXxMgACgkQvJuQZxSWSsjSHACdGjvcsfPqv3wXZqbPQZmQ7QlL
> agEAn1qeg8Wn5vZWfz7pWFskXr9qAbyn
> =6sLA
> -----END PGP SIGNATURE-----
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly


--
Your PostgreSQL solutions provider, Command Prompt, Inc.
24x7 support - 1.800.492.2240, programming, and consulting
Home of PostgreSQL Replicator, plPHP, plPerlNG and pgPHPToolkit
http://www.commandprompt.com / http://www.postgresql.org

Re: gborg's apache server ...

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgsql-www-owner@postgresql.org
> [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Joshua D. Drake
> Sent: 15 July 2005 15:57
> To: Greg Sabino Mullane
> Cc: pgsql-www@postgresql.org
> Subject: Re: [pgsql-www] gborg's apache server ...
>
> Greg Sabino Mullane wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> >
> >>>    I have not changed anything either. Jan is the only
> other person I
> >>>know who has access to the server. Is he on this list?
> >>
> >>You mean Jan Wieck? No, I don't think he is.
>
> I have access but I can't do anything but look at logs. I
> would be more
> than happy to help be a backup admin.
>
> I don't think that "everyone" should have access but more than Marc
> would definitely be good.

That's not the problem - we have admins, we're just trying to ascertain
if any of us made any changes that might have upset apache.

/D

Re: gborg's apache server ...

From
"Marc G. Fournier"
Date:
On Fri, 15 Jul 2005, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: pgsql-www-owner@postgresql.org
>> [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Joshua D. Drake
>> Sent: 15 July 2005 15:57
>> To: Greg Sabino Mullane
>> Cc: pgsql-www@postgresql.org
>> Subject: Re: [pgsql-www] gborg's apache server ...
>>
>> Greg Sabino Mullane wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>>
>>>
>>>>>    I have not changed anything either. Jan is the only
>> other person I
>>>>> know who has access to the server. Is he on this list?
>>>>
>>>> You mean Jan Wieck? No, I don't think he is.
>>
>> I have access but I can't do anything but look at logs. I
>> would be more
>> than happy to help be a backup admin.
>>
>> I don't think that "everyone" should have access but more than Marc
>> would definitely be good.
>
> That's not the problem - we have admins, we're just trying to ascertain
> if any of us made any changes that might have upset apache.

I don't think its anything we've changed ... I wish there was a better way
of tracing what caused the SegFault ... I can recreate it on other VMs if
I enable the interbase.so extension, but that is already disabled on gborg
...

Got it .. thanks to gdb, it turns out the issue was the pspell.so
extension ... commented it out, and it no longer dies on a SIGHUP ... will
keep an eye out for the SegFaults over today ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: gborg's apache server ...

From
"Joshua D. Drake"
Date:
> Got it .. thanks to gdb, it turns out the issue was the pspell.so
> extension ... commented it out, and it no longer dies on a SIGHUP ...
> will keep an eye out for the SegFaults over today ...

Why can't we just disable EVERYTHING we are not using? I mean why in the
world was the interbase module at any point loaded on Gborg?

Sincerely,

Joshua D. Drake



>
> ----
> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


--
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

Re: gborg's apache server ...

From
"Marc G. Fournier"
Date:
On Fri, 15 Jul 2005, Joshua D. Drake wrote:

>
>> Got it .. thanks to gdb, it turns out the issue was the pspell.so extension
>> ... commented it out, and it no longer dies on a SIGHUP ... will keep an
>> eye out for the SegFaults over today ...
>
> Why can't we just disable EVERYTHING we are not using? I mean why in the
> world was the interbase module at any point loaded on Gborg?

its the default for teh template ... if someone knows exactly which
modules aren't needed, you are welcome to modify
/usr/local/etc/php/extensions.ini ... I just don't know which ones aren't
needed :)

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664