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: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id DF46A1F601 for ; Fri, 16 Dec 2022 23:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1671233140; bh=Q4Pt6fNH2btbUZHmTYZ4lZyoCVcxV2YcpK+qmgPYRXA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=y3zMOOPmofzeUNN4dmeFGHpzZMOtjFlvYkLOFgCEJETvCTp7BMuA+q1gZfPte/O7/ PwU8YrEGH35Av7BCkQuhH1EKx8cdsQMlGRPiK26RVSQLVIfAmOnVKlGal/gAccDBq2 eEgsdmZu05XOok68zC7PwJufEFmDEP42J5XiXotI= Date: Fri, 16 Dec 2022 23:25:40 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: netd/httpd memory usage Message-ID: <20221216232540.M770506@dcvr> References: <20221207212013.GA25466@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221207212013.GA25466@dcvr> List-Id: Eric Wong wrote: > While memory use has mostly gotten under control with scratchpad > avoidance done around Sep (after v1.9.0), it's still higher than > I like :< > > Suspiciously, PublicInbox::Smsg::load_from_data still seems to > be causing a big chunk of long-lived allocations on my system: OK, it doesn't seem to be a leak. At least the 4080 byte allocations are for long-lived arenas, and it's the main allocator. > (or work on https://80x24.org/mwrap-perl.git to expand into C > backtraces is required...) Done :> (but stupid expensive :x) > Of course, even single-threaded git packing is using massive memory > use with the linux.git forkgroup :< Ugh, yeah.