Weird processes after upgrading to apache2

Kirk Strauser kirk at strauser.com
Sun Jun 13 00:05:15 PDT 2004


I just started a trial switch to Apache 2 (from ports synched as of
yesterday morning).  It's going well for the most part, but I'm finding a
few little weird things.  For example, when I first start the server, "ps"
returns a normal-looking list:

    # ps axw |grep httpd
    38308  ??  Ss     0:00.40 /usr/local/sbin/httpd -DSSL
    38309  ??  R      0:00.06 /usr/local/sbin/httpd -DSSL
    38310  ??  R      0:00.04 /usr/local/sbin/httpd -DSSL
    38311  ??  S      0:00.06 /usr/local/sbin/httpd -DSSL
    38312  ??  R      0:00.04 /usr/local/sbin/httpd -DSSL
    38313  ??  R      0:00.04 /usr/local/sbin/httpd -DSSL

Every time a guest visits a page being host with mod_perl, the name of one
of those processes gets changed to "-e" as below:

    # ps axw |grep httpd
    38308  ??  Ss     0:00.40 /usr/local/sbin/httpd -DSSL
    38309  ??  S      0:00.51 -e (httpd)
    38310  ??  S      0:00.51 -e (httpd)
    38311  ??  S      0:01.57 -e (httpd)
    38312  ??  S      0:00.50 -e (httpd)
    38313  ??  S      0:00.90 -e (httpd)
    38316  ??  S      0:00.77 -e (httpd)
    38394  p2  S+     0:00.00 grep httpd

Also, the daemons don't like to restart nicely:

    # apachectl graceful
    Syntax error on line 320 of /usr/local/etc/apache2/virtual-hosts.conf:
    Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration

Those are the exact symptoms seen when httpd is run without the "-DSSL"
argument.  In other words, my little daemons seem to forget their name and
their arguments after they've started.  Note that despite the warning, the
daemons seem to have been successfully restarted (to the best of my
knowledge).

Is anyone else seeing these little peculiarities or am I the lucky one?
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040613/e337fe51/attachment.bin


More information about the freebsd-questions mailing list