From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 194D51F463 for ; Thu, 12 Sep 2019 11:38:03 +0000 (UTC) Received: by mail-io1-xd35.google.com with SMTP id r4so53650409iop.4 for ; Thu, 12 Sep 2019 04:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vnu8qEzafN8IdeEEPmOmkapyS+jiCrWLJSY7S/9SN0o=; b=PfwUjKHOo+SPY2sQE8r6TH62dTbpibkaEH7Uw7sLhoq5p9IJqlvPP3x9YZ7aH05OCb C9zAvhQeRA/JHkooKbznz7CgC0N8kfFprM/XM5QNjuyRI+Efh0MZLCURWgeR56k84qzM gPCcG33Z+l2J06tz1BwpnjEbm4bPQnR0BY6OU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=vnu8qEzafN8IdeEEPmOmkapyS+jiCrWLJSY7S/9SN0o=; b=PHVw6pz+ycmhdV6fADrRT1KFVh/d/spVIP0XsRjXhg3eI/Bv9ZZi0HQjl2r4fjpXL+ 2Cn4j3oSLr/em/Tc/z3SwtVQ9BX59qZdab7tXLeOaNZdBz9YHDQoceM1qaLyMr5Bi7Ut jP8a7Rypk7Xrg/hSRaIqI25rwsF8M23w20r2Jz+I9nb6ZutAHNr8L3xHPQ1X5qNKN8Vs ZmVEPaRSwQ00s4ZNA6fab5cgL4JHKfovDFFIQRWUAyH/XHNXl14RV29lsnYtcGuiTT1V ygaRKFMlRiQR5F3e0fslnwxyxoYW7vdByMoqzrwLHTwJMazZgV5q1jgjxSYKbXrk7PKl rmPw== X-Gm-Message-State: APjAAAWg1vV0AsXpLCp1JVKR55n0O9XQCjvHvY/3CgD0brrw6Q8b17nK hrdHc2trtfFQKXJGZZFMKZFK9g== X-Google-Smtp-Source: APXvYqwHh6NHvWqASn6UvvkPG5YiM/LBcs+AGSA/uBHpwGsDv0BrC2inuC7UH141kC2WogGMjUOG/A== X-Received: by 2002:a02:c65a:: with SMTP id k26mr3949085jan.56.1568288281991; Thu, 12 Sep 2019 04:38:01 -0700 (PDT) Received: from pure.paranoia.local ([87.101.92.157]) by smtp.gmail.com with ESMTPSA id n12sm18966147ioc.19.2019.09.12.04.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2019 04:38:01 -0700 (PDT) Date: Thu, 12 Sep 2019 07:37:58 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: httpd 502s [was: trying to figure out 100% CPU usage in nntpd...] Message-ID: <20190912113758.GB29277@pure.paranoia.local> Mail-Followup-To: Eric Wong , meta@public-inbox.org References: <20190909175340.u5aq4ztfzukko7zb@dcvr> <20190910083820.GA8018@pure.paranoia.local> <20190910181224.urhyoo6av7mhjs67@dcvr> <20190911022215.GA309@dcvr> <20190911102436.GA21959@pure.paranoia.local> <20190911171250.vqqpaeb7sn34hv3s@dcvr> <20190911173628.GA14147@pure.paranoia.local> <20190912000541.gikjoimbdeahh7lx@whir> <20190912024942.7dejzf47swpzkdux@dcvr> <20190912083503.GA10657@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190912083503.GA10657@dcvr> User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: On Thu, Sep 12, 2019 at 08:35:03AM +0000, Eric Wong wrote: > Eric Wong wrote: > > One more thing, are you running any extra middlewares in the > > .psgi file? Thanks. No, it's just vanilla what comes with the source. > That's probably not it, I suspected the non-fileno path was > being hit, but I just tested a debug change on top of > b7cfd5aeff4b6b316b61b327af9c144776d77225 (branch: "unlink") > ("tmpfile: support O_APPEND and use it in DS::tmpio") > to fake the presence of a middleware wrapping psgi.input. I sent you a dump of lsof -p of all 4 processes after about 20 minutes of running. For another data point, the daemon was running in SELinux-permissive mode, to make sure unlinks aren't failing because of any permission errors. Let me know if you would like any further info. Best, -K