mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Hung processes with althttpd web server
@ 2023-10-05  1:41 Carl Chave
  2023-10-05  2:15 ` Rich Felker
  2023-10-05  3:37 ` Markus Wichmann
  0 siblings, 2 replies; 11+ messages in thread
From: Carl Chave @ 2023-10-05  1:41 UTC (permalink / raw)
  To: musl

Hello, I'm running the althttpd web server on Alpine Linux using a Ramnode VPS.

I've been having issues for quite a while with "hung" processes. There
is a long lived parent process and then a short lived forked process
for each http request. What I've been seeing is that the forked
processes will sometimes get stuck:

sod01:/srv/www/log$ sudo strace -p 11329
strace: Process 11329 attached
futex(0x7f5bdcd77900, FUTEX_WAIT_PRIVATE, 4294967295, NULL

Please see this forum thread for additional information:
https://sqlite.org/althttpd/forumpost/4dc31619341ce947

That thread is kind of all over the place though as I banged around
trying to figure out how to troubleshoot the issue. The last thing I
tried was to statically build althttpd in a glibc based Void Linux
chroot. I ran that on the Alpine VPS for 37 days without issue. I
switched back to the musl dynamically linked build and 14 hours later
got a hung process.

Can you give me any tips on how to troubleshoot this further?

Thanks,
Carl

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-05 19:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05  1:41 [musl] Hung processes with althttpd web server Carl Chave
2023-10-05  2:15 ` Rich Felker
2023-10-05  2:43   ` Carl Chave
2023-10-05 13:39     ` Szabolcs Nagy
2023-10-05 18:26       ` Carl Chave
2023-10-05 18:48         ` Markus Wichmann
2023-10-05 19:06           ` Carl Chave
2023-10-05  3:37 ` Markus Wichmann
2023-10-05 12:39   ` Rich Felker
2023-10-05 18:34     ` Markus Wichmann
2023-10-05 18:52   ` Carl Chave

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).