From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kCxfEZi3OWUpaQEAG6o9tA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 02:49:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kCxfEZi3OWUpaQEAG6o9tA (envelope-from ) for ; Thu, 26 Oct 2023 02:49:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 488FC429C8 for ; Thu, 26 Oct 2023 02:49:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iLHafMDw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698281368; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=y+2d4xs++fhltLfGlyVVmGnQ+f/LWK/0jJj/eNTqkzY=; b=MnIfTMu8UGe+oeaB0qgMVv90vd4j5g0WcJXMzi1iZ+Jpaae+x07HU3OYghFL5OENxJ2uBk JCSJ4nVDgiy+DjPsv9KRWCZf32Rc4KTSeqzXigx1HZ89dIbicoMgHF+VKpGxHk3Tn/wnDs ktfRUiPvR4fHJTV345cxCVcHto0yn/JLKbAnK5cxQuqDIghthYhtsnnIiCdSy8Xq6izVJ5 WgGiwUBHM7srEfgb2eXEdDPNUkeUOh69/1B4z5/8IhOOqj6NrVxxf9/5jDFuCpiT/tO4Q8 bYaRRiN0g3jj++wWf2HuB7Kl9Z5pzfqqEsQLHJgSsNp6Sy3MYaeIsgjPbRWG3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698281368; a=rsa-sha256; cv=none; b=pB8iibzbbvlDKKv4JZUfnNu7CKDvEW9VIHP5+ukWciD8gw89F9YiGkjSsokIy6ruDhpKv4 6UMI2lAOkqD2JSDJUtdOiYt0hpau6lrXsWhXgm9YODUz06jgoeib4wm42MLQkW6r2Ul6AB RcMy1hU3k5QtDXtxG3jfCMDjz38ynn9bSNVITRGFfHKzXWbM0qnT8g5dheBiHVco4d3jFh uJVgeveWuOSpEyP8UwUNgiF6k42+E/XEnYBXpHX30lWPfIInkujC6nctUwD6qyh/7pX5FO hpz8TxXbAAEz1j+R8dx3bauw4fm2Hr2yDnG2K+Xt00REo/TQnZdGhfEIyHn2hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iLHafMDw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvo3D-0007Qu-Ja; Wed, 25 Oct 2023 20:16:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvo38-0007PB-4y for bug-guix@gnu.org; Wed, 25 Oct 2023 20:16:35 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvo36-0004zN-2t for bug-guix@gnu.org; Wed, 25 Oct 2023 20:16:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvo3a-0003Gn-19 for bug-guix@gnu.org; Wed, 25 Oct 2023 20:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65858: mumi crashes Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 26 Oct 2023 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65858 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , Christopher Baines Cc: 65858@debbugs.gnu.org, guix-sysadmin Received: via spool by 65858-submit@debbugs.gnu.org id=B65858.169827941612554 (code B ref 65858); Thu, 26 Oct 2023 00:17:02 +0000 Received: (at 65858) by debbugs.gnu.org; 26 Oct 2023 00:16:56 +0000 Received: from localhost ([127.0.0.1]:60258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvo3T-0003GP-Sb for submit@debbugs.gnu.org; Wed, 25 Oct 2023 20:16:56 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:35306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvo3P-0003GB-DS for 65858@debbugs.gnu.org; Wed, 25 Oct 2023 20:16:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=y+2d4xs++fhltLfGlyVVmGnQ+f/LWK/0jJj/eNTqkzY=; b=iLHafMDwMuD7UVQbcfcwU7t+kF H3dVRKUwIGLktPipZ5imKH45RRopvJF4WOfAgUvMW4czZhjs9l493AXmFDrhiZzQpF/6iSE32fCyU ls2fKTgNtOAx34zOQxigaCBDAaUofS8lnQv+x0kbw0PbjDpBNAHbtRHfZpgxDe0Xb/L83/N346liH 2rghTY1IamH4pUiYgQnKhsiSuU6CNCyaWm8lfBYMTjpwYFC12yZkIAZUtl1oAjEzivmy8A7KQiiQr 9Mob2RmrOgfQpeFX4ial1W8LTmyfnc8iL1T+QGl6URBUBSm2H2BQDyNSnByXLxaCf6FnKxip7bPvl NjFVzyNg==; Received: from [192.168.2.1] (port=37710 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qvo2j-001tGT-1A; Thu, 26 Oct 2023 01:16:10 +0100 From: Arun Isaac In-Reply-To: <87wmvc4273.fsf@gmail.com> References: <87leddv6p2.fsf@gmail.com> <87jzrxhkmn.fsf@gmail.com> <874jizcsci.fsf@systemreboot.net> <87y1gb5e51.fsf@gmail.com> <87edi22ii3.fsf@systemreboot.net> <877cnueyl8.fsf@gmail.com> <874jig63z6.fsf@gmail.com> <87v8aw32z7.fsf@cbaines.net> <87wmvc4273.fsf@gmail.com> Date: Thu, 26 Oct 2023 01:16:05 +0100 Message-ID: <877cnai6gq.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -1.36 X-Migadu-Queue-Id: 488FC429C8 X-Spam-Score: -1.36 X-TUID: 3F7S9wYd6HGZ Hi Chris and Maxim, >> I think this is kind of expected. If NGinx hits the proxy_read_timeout >> it'll return a 504 to the client and close the connection to Mumi I >> think. I think what you're seeing here is Mumi trying to respond to a >> request from NGinx that NGinx has closed. Thanks for the tip. This indeed makes a lot of sense! But, I don't understand why a proxy read timeout happens. The requests in question seem to be very simple requests that shoud be processed quickly. Should we increase nginx's proxy_read_timeout? > If it's expected, we should handle it and produce a useful warning > instead of crashing, right? A couple of weeks ago, I put in a mechanism to better catch and report errors. https://git.savannah.gnu.org/cgit/guix/mumi.git/commit/?id=7a71c12a1f7f033ae93f26fb09387f6c04c143ba I'm not sure this is working correctly, though. I have used `guard` in the commit above. Does `guard` catch all exceptions correctly, or should I instead use `catch`? Also, I believe the logs are written in parallel by fibers. This may mangle up the logs a bit, but I'm not sure if we're actually see requests rapid enough for this to happen. Regards, Arun