You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/01/27 13:02:22 UTC

DO NOT REPLY [Bug 50669] New: SIGWINCH kills Apache

https://issues.apache.org/bugzilla/show_bug.cgi?id=50669

           Summary: SIGWINCH kills Apache
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chris+apache@aptivate.org


If you're running Apache in a terminal, in the foreground, and you resize the
window, this happens:

chris@fen-desktop2(dev)$ apache2 -f apache/dev.conf  -D FOREGROUND
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
[Thu Jan 27 12:01:35 2011] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.7
with Suhosin-Patch mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal
operations
[Thu Jan 27 12:01:40 2011] [notice] caught SIGWINCH, shutting down gracefully

SIGWINCH indicates a window size change, it should not be fatal.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50669] SIGWINCH kills Apache

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50669

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Ruediger Pluem <rp...@apache.org> 2011-01-27 08:28:31 EST ---
You are correct that SIGWINCH is used to signal a windows size change to the
applications running on a terminal. Due to the lack of other signal numbers and
given the fact that httpd normally runs detached from a terminal the SIGWINCH
signal was chosen to instruct httpd to do a graceful shutdown. So this works as
designed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org