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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31757 invoked from network); 29 Dec 2020 17:04:58 -0000 Received: from krantz.zx2c4.com (192.95.5.69) by inbox.vuxu.org with ESMTPUTF8; 29 Dec 2020 17:04:58 -0000 Received: by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e4ee68eb; Tue, 29 Dec 2020 16:54:50 +0000 (UTC) Return-Path: Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id e6b4ea65 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 29 Dec 2020 16:54:47 +0000 (UTC) Received: by sdaoden.eu (Postfix, from userid 1000) id A0EF116057; Tue, 29 Dec 2020 18:04:51 +0100 (CET) Date: Tue, 29 Dec 2020 18:04:51 +0100 From: Steffen Nurpmeso To: cgit@lists.zx2c4.com Cc: gs-cgit-lists.zx2c4.com@gluelogic.com Subject: Re: cgit 1.2.3: lighttpd 1.4.57, AlpineLinux [edge]: using cache breaks delivery Message-ID: <20201229170451.2ofYK%steffen@sdaoden.eu> In-Reply-To: <20201222212207.3qb-M%steffen@sdaoden.eu> References: <20201222061206.GA54419@xps13> <20201222135537.ovyl4%steffen@sdaoden.eu> <20201222150957._aAW5%steffen@sdaoden.eu> <20201222212207.3qb-M%steffen@sdaoden.eu> Mail-Followup-To: cgit@lists.zx2c4.com, gs-cgit-lists.zx2c4.com@gluelogic.com User-Agent: s-nail v14.9.20-107-gf02322df OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" Steffen Nurpmeso wrote in <20201222212207.3qb-M%steffen@sdaoden.eu>: |Steffen Nurpmeso wrote in | <20201222150957._aAW5%steffen@sdaoden.eu>: ||Steffen Nurpmeso wrote in || <20201222135537.ovyl4%steffen@sdaoden.eu>: |||gs-cgit-lists.zx2c4.com@gluelogic.com wrote in ||| <20201222061206.GA54419@xps13>: ||||>Steffen Nurpmeso wrote in ||||> <20201221193127.zbZeP%steffen at sdaoden.eu>: ||||>|John Keeping wrote in ||||>| : ||||>||On Mon, Dec 21, 2020 at 05:26:19PM +0100, Steffen Nurpmeso wrote: ||||>||> I discovered today that cgit no longer delivers pages, and it must ||||>||> have been like that for some time. The server looks show ||||>||> successful delivery, the cgit cache is populated and rotated just ||||>||> correctly, but all cgit delivers is that final error of main() as | ... ||||>||> I am pretty sure cgit delivered some weeks ago, the most notable ||||>||> difference is that AlpineLinux switched to Lighttpd 1.4.56 then ||||>||> .57, which seems to have brought tremendous changes under the ||||> ... ||||>|But the file was generated normally: | ... ||||>||and this may be caused by sendfile(2) failing due to some difference \ ||||>||\ ||||>||in ||||>||how the web server is setting up the output file descriptor. You may | ... | |Looking at lighttpd commit history it seems he now uses splice(2) |for CGI if possible. On AlpineLinux with kernel 10.3 the unmodified cgit still fails. I just want to note there is no kernel bugzilla entry regarding sendfile and/or splice. I assume the sendfile(2) failure fallback code path becomes implemented and will unsubscribe again now. Thanks. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)