[GLLUG] Apache crashing?

Ross Smith rsmith1916 at gmail.com
Wed Jul 2 13:01:46 EDT 2008


My only suggestion, other than increasing certain counts, is try doing a
full stop and start instead of a graceful restart.  There was a bug not too
long ago that caused the 'Bad file descriptor: apr_socket_accept:' output to
the log file when a graceful restart, which when occurring, caused a lot of
headaches for people trying to keep Apache up.

-- Ross

On Wed, Jul 2, 2008 at 12:50 PM, ZuG <ozugo at yahoo.com> wrote:

> Sure, here's the apache error.log. Not very interesting. The crash,
> according to our network monitor script, happened about 3:30.
>
> Also, the problem probably isn't ssl because I have another server crashing
> that doesn't have it installed.
>
> [Tue Jul 01 15:48:36 2008] [debug] ssl_engine_kernel.c(1789): OpenSSL:
> Exit: error in SSLv2/v3 read client hello A
> [Tue Jul 01 15:48:36 2008] [info] [client 69.89.98.133] SSL handshake
> failed: HTTP spoken on HTTPS port; trying to send HTML error page
> [Tue Jul 01 15:48:36 2008] [info] SSL Library Error: 336027804
> error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request speaking
> HTTP to HTTPS port!?
> [Tue Jul 01 23:23:59 2008] [error] [client 60.172.219.2] File does not
> exist: /var/www/sharedip/myproxies
> [Wed Jul 02 03:30:03 2008] [notice] Graceful restart requested, doing
> restart <-- this is our network monitoring process trying to restart the
> server, it failed at about this time.
> [Wed Jul 02 03:30:03 2008] [error] (9)Bad file descriptor:
> apr_socket_accept: (client socket)
> [Wed Jul 02 03:30:03 2008] [error] (9)Bad file descriptor:
> apr_socket_accept: (client socket)
> [Wed Jul 02 03:30:03 2008] [error] (9)Bad file descriptor:
> apr_socket_accept: (client socket)
> [Wed Jul 02 03:30:03 2008] [error] (9)Bad file descriptor:
> apr_socket_accept: (client socket)
> [Wed Jul 02 03:30:03 2008] [error] (9)Bad file descriptor:
> apr_socket_accept: (client socket)
> /usr/sbin/httpd2-prefork: symbol lookup error:
> /usr/lib/php5/extensions/ffmpeg.so: undefined symbol: av_free_static
> [Wed Jul 02 03:30:04 2008] [info] mod_fcgid: Process manager 10854 stopped
> [Wed Jul 02 09:34:48 2008] [info] Init: Seeding PRNG with 136 bytes of
> entropy
> [Wed Jul 02 09:34:48 2008] [info] Loading certificate & private key of
> SSL-aware server
> [Wed Jul 02 09:34:48 2008] [debug] ssl_engine_pphrase.c(469): unencrypted
> RSA private key - pass phrase not required
> [Wed Jul 02 09:34:48 2008] [info] Init: Generating temporary RSA private
> keys (512/1024 bits)
> [Wed Jul 02 09:34:48 2008] [info] Init: Generating temporary DH parameters
> (512/1024 bits)
> [Wed Jul 02 09:34:48 2008] [info] Init: Initializing (virtual) servers for
> SSL
> [Wed Jul 02 09:34:48 2008] [info] Configuring server for SSL protocol
>
>
>
>
> --- On Wed, 7/2/08, Ross Smith <rsmith1916 at gmail.com> wrote:
>
> > From: Ross Smith <rsmith1916 at gmail.com>
> > Subject: Re: [GLLUG] Apache crashing?
> > To: ozugo at yahoo.com
> > Cc: linux-user at egr.msu.edu
> > Date: Wednesday, July 2, 2008, 12:34 PM
> > On Wed, Jul 2, 2008 at 9:47 AM, ZuG <ozugo at yahoo.com>
> > wrote:
> >
> > > Hey guys,
> > >
> > > I'm having trouble with my apache 2.2.3 system.
> > Installed ffmpeg,
> > > ffmpeg-php, flvtool2, and menconder to run dolphin CMS
> > system.
> > >
> > > Now, apache is crashing randomly, perhaps 2 times a
> > week. I turned the
> > > apache logging up fully to try to track it down, and
> > the apache logs just
> > > don´t show anything out of the ordinary. Everything
> > is working fine, and
> > > then nothing.
> > >
> > > Do I get to play the "uninstall stuff until it
> > stops" game, or is there a
> > > better suggestion as to how to track this down?
> > I'm pretty new to
> > > troubleshooting apache, though I know my way around
> > the machine pretty well.
> > >
> > >
> > > Erica
> >
> >
> > Any chance you could post the apache and/or messages log
> > file contents for
> > the time around when the crash occurs?  There may be
> > something obscure that
> > an extra pair of eyes might help to find.  Also, is
> > anything else crashing
> > or just apache?  There is a good chance uninstalling ffmpeg
> > and the other
> > programs won't help your case.  If anything, I would
> > suggest re-installing
> > Apache if you take that route.  Really though, that's a
> > last route.  Try
> > changing some settings within apache such as the increasing
> > the
> > 'MaxRequestPerChild' and 'ThreadsPerChild'
> > counts.  It could be as simple as
> > a memory issue (hopefully).
> >
> > -- Ross
>
>
It's at the top :P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20080702/226a0256/attachment.html 


More information about the linux-user mailing list