Univention Bugzilla – Full Text Bug Listing |
Summary: | Restarting apache2 stalls | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | Apache | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, jmm |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | 37792 | ||
Bug Blocks: | |||
Attachments: | Close FDs in apache2-2.init |
Description
Philipp Hahn
2015-03-06 11:14:17 CET
Created attachment 6748 [details]
Close FDs in apache2-2.init
Requires BASH, as
eval exec "$fd<&-"
does not work.
Works as verified by
# exec 3>/dev/null
# lsof -a -p $$ -d 3
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bash 6277 root 3w CHR 1,3 0t0 1028 /dev/null
# service apache2 restart
# lsof -a -p $(</var/run/apache2.pid) -d 3
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 3440 root 3u sock 0,7 0t0 13663 can't identify protocol
(In reply to Philipp Hahn from comment #1) > Created attachment 6748 [details] > Close FDs in apache2-2.init We should increase the timeout only to 3 seconds. The patch changes it to 5 seconds. r14435 | Bug #37952 apache2: Close FDs Package: apache2 Version: 2.2.22-13.87.201503090840 Branch: ucs_4.0-0 Scope: errata4.0-1 r58724 | Bug #37952 Apache: Close FDs YAML 2015-03-09-apache2.yaml r58725 | Bug #37952: 01/85apache_close_fds tests/01_base/85apache_close_fds QA: return early from /etc/init.d/apache2 close_fds() to verify test Tests: OK YAML: OK Code review: OK |