#19 mod_qos 10.5 and Apache 2.2.22



I installed mod_qos through DSO and it seems to work fine, however when I run a 'stop' on apache I notice a segfault during shutdown...

[Thu Apr 26 19:03:24 2012] [notice] caught SIGTERM, shutting down
[Thu Apr 26 19:03:24 2012] [notice] seg fault or similar nasty error detected in the parent process

Once shutdown I run 'start' and receive the following... likely because 'stop' didn't finish clean

[Thu Apr 26 19:03:33 2012] [emerg] mod_qos(004): failed to create mutex (ACT)(/tmp/L846582039.mod_qos): File exists

If I run 'start' again everything works normal and apace starts... I installed apache 2.2.21 and it doesn't appear to have this issue. Ideas?



  • Pascal Buchbinder

    Hmm, I'm using Apache 2.2.22 without any issues. Sound's like an error while calling the process pool cleanup functions. I've seen this with older MPM prefork binaries in the past (mod_qos supports MPM worker only). I've committed some code changes (will be available by the next version) which do no longer relay on preprocessor directives but on MPM detection at server startup only. I don't know if this helps since I can't reproduce this error myself.

    Can you let Apache write a core dump and provide us a stack trace from the core file?

  • Pascal Buchbinder

    Did you have these issues also with 10.4 (pre Apache 2.4 compatibility code)?

  • Cody

    Cody - 2012-05-21

    Thanks for the response. Attached is my httpd.core

    Should I try the new code? Ideas?

  • Cody

    Cody - 2012-05-21

    here is the stack trace:

    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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 "amd64-marcel-freebsd".httpd: No such file or directory.

    Core was generated by `httpd'.
    Program terminated with signal 10, Bus error.
    #0 0x00000008012a46a7 in ?? ()


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks