Apache with mod_neko hangs up on service reload
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- apache, c, ubuntu
- Domain
- backend, operating-systems
Research direction
Start by reproducing the reload failure with mod_neko enabled on Ubuntu 18.04 and compare it with the configuration files removed. Trace the Apache/mod_neko reload and shutdown behavior, using the reported process state and futex wait as clues. Done means Apache reloads without hanging or leaving defunct workers.
Written by the indexing model from the issue text.
Description
Clean Ubuntu 18.04 install with Apache 2.4.29 with mod_neko enabled. Using service reload hangs apache so I have to kill -9 it manually:
root@Ubuntu-1804-bionic-64-minimal ~ # service apache2 restart
root@Ubuntu-1804-bionic-64-minimal ~ # ps ax| grep apa
10146 ? Ssl 0:00 /usr/sbin/apache2 -k start
10162 ? S 0:00 /usr/sbin/apache2 -k start
10163 ? S 0:00 /usr/sbin/apache2 -k start
10164 ? S 0:00 /usr/sbin/apache2 -k start
10165 ? S 0:00 /usr/sbin/apache2 -k start
10166 ? S 0:00 /usr/sbin/apache2 -k start
10168 pts/0 S+ 0:00 grep --color=auto apa
root@Ubuntu-1804-bionic-64-minimal ~ # service apache2 reload
root@Ubuntu-1804-bionic-64-minimal ~ # ps ax| grep apa
10146 ? Ssl 0:00 /usr/sbin/apache2 -k start
10162 ? Z 0:00 [apache2] <defunct>
10163 ? Z 0:00 [apache2] <defunct>
10164 ? Z 0:00 [apache2] <defunct>
10165 ? Z 0:00 [apache2] <defunct>
10166 ? Z 0:00 [apache2] <defunct>
10196 pts/0 S+ 0:00 grep --color=auto apa
root@Ubuntu-1804-bionic-64-minimal ~ # strace -p 10146
strace: Process 10146 attached
futex(0x7f75c6a02214, FUTEX_WAIT_PRIVATE, 4294967277, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f75c6a02214, FUTEX_WAIT_PRIVATE, 4294967267, NULL
^Cstrace: Process 10146 detached
<detached ...>
Removing mod_neko config files allows the Apache to reload correctly.
- Dominant language
- C
- Stars
- 592
- Forks
- 111
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/neko
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
HaxeFoundation/neko#335 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
HaxeFoundation/neko#334 · 2 comments ·
-
year 2038-problemMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 52/100
HaxeFoundation/neko#319 ·
-
Incorrect api used for sys_read_dir on windowsPossibly taken @tobil4sk claimed this 335 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
HaxeFoundation/neko#315 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/neko#314 ·
All issues in HaxeFoundation/neko
Similar issues
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
awslabs/aws-c-common#1316 ·
-
parsedate: two-digit year "70" is read as 2070, so cookies deleted with expires=...01-Jan-70... are keptPossibly taken @lazerg claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
clang:frontend clang:openmp crash
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
llvm/llvm-project#245442 · 1 comment ·
Maintainers usually reply within 1 day
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
valkey-io/valkey-glide#7848 ·
Maintainers usually reply within 1 day