From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24610 invoked from network); 5 Oct 2023 02:04:18 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 5 Oct 2023 02:04:18 -0000 Received: (qmail 25793 invoked by uid 550); 5 Oct 2023 02:04:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1736 invoked from network); 5 Oct 2023 01:42:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20230601.gappssmtp.com; s=20230601; t=1696470113; x=1697074913; darn=lists.openwall.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=j97vppXghRoyZkVD4zKXXnfb+guhfEDbuaZui+2ulmM=; b=OTLdS6mIRXQDoW/XM2DMxlwtBMpz6+Ru56CaEtnfUPs0PP8I9g8OME4xk0q8uM/R1p NFnq3w5L4YI7Ew2at3VLJWMXYEhFRg2h1vKtqZXLNKdqWeC2HFVn7INBSIyIFrVgRdl/ K8fa7ntewEdFQTHqTpLYcikhXEbf0779NiKpv53FEyujbp8avqsbMrfbOgcHG4fIZHld VbDi8OC+c+BRRFINKCBYIGlHT07kvdDXH0ItnknuzNzLdNn5tZjR6YqhXNovRtBZ4+Pw UbFUD8uU7rnDEtj/gxZBpvjrqJ0c9Kxj5g5LTkRPDbmdgtmoVOl4FfnHIaAgs42N7gfH u/rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696470113; x=1697074913; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=j97vppXghRoyZkVD4zKXXnfb+guhfEDbuaZui+2ulmM=; b=gE6rL+K+XZT2BdIlwywu6xSifo0bfBM3ZJyvjlxIS1yLmRB1K8d8Pp13YVoVsIaOP9 u7H2t4XWfonuCYxoPcopTN/J48ekRWEZqwUnCsVrbtQasaqe2ulbypcEcA5OySos3cSP HaaACH0bAvEDS5ILQIGwao4Mat8/k2bkwOi9KdGCgVGbBNANABqh6b4e70OMDfa03v1z 4sjv0Sjybgd+tJh6UnkiDUDUYWkekjF1uczL5Cqd6no89QaQltIisF3v88OP3ZiRklOO GWdSBFsaHKkHSWDO8QifQhJHR74rLQc3XW0tFOCqO0CSQnceYx5/spD2zeZzwHREVRyI +1Zg== X-Gm-Message-State: AOJu0Yzr9wL7EeoLo7YyjU/eogLE/C0UVj58v4OjtGLUwa4guKSHIdXR FdUmFNoht6CvMt7sXU8CKztujCwCDmvabmCX8Neie3T7BiyjVvMOvi4= X-Google-Smtp-Source: AGHT+IFRxuV6pxG8F3rNwe66iJKJhtMd3OQfFUAnA+vn1FeTkmh3MI/Nbz0U74I/nSI+QW62Wy4RuBSBCefuAG9mXX0= X-Received: by 2002:aa7:c607:0:b0:530:7abf:3a84 with SMTP id h7-20020aa7c607000000b005307abf3a84mr3365167edq.25.1696470112966; Wed, 04 Oct 2023 18:41:52 -0700 (PDT) MIME-Version: 1.0 From: Carl Chave Date: Wed, 4 Oct 2023 21:41:41 -0400 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: [musl] Hung processes with althttpd web server 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