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=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 898A91F670 for ; Tue, 12 Oct 2021 11:47:05 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] various read-only daemon and WWW things Date: Tue, 12 Oct 2021 11:46:56 +0000 Message-Id: <20211012114705.383-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Read-only daemons close idle descriptors much more aggressively, now. This should reduce userspace and kernel memory use during non-peak times with negligible slowdown under heavy load. Some fairly big msgmap-related cleanups and WWW now exposes mm->created_at AKA UIDVALIDITY as the Last-Modified time of the _/text/config/raw endpoint. (see 9/9) Eric Wong (9): daemon: use v5.10.1, disable local warnings daemon: quiet down Eml-related warnings search: delete QueryParser along with DB handle nntp: use defined-OR from Perl 5.10 for msgid check msgmap: use DBI->prepare_cached msgmap: share most of check_inodes w/ over daemon: unconditionally close Xapian shards on cleanup msgmap: ->new_file to supports $ibx arg, drop ->new www: _/text/config/raw Last-Modified: is mm->created_at lib/PublicInbox/Daemon.pm | 8 ++- lib/PublicInbox/Inbox.pm | 18 +++--- lib/PublicInbox/InboxWritable.pm | 2 +- lib/PublicInbox/LeiMirror.pm | 13 ++-- lib/PublicInbox/Msgmap.pm | 102 +++++++++++++------------------ lib/PublicInbox/NNTP.pm | 6 +- lib/PublicInbox/Search.pm | 14 ----- lib/PublicInbox/SearchIdx.pm | 3 +- lib/PublicInbox/V2Writable.pm | 4 +- lib/PublicInbox/WwwText.pm | 3 + t/altid.t | 4 +- t/altid_v2.t | 4 +- t/extsearch.t | 10 +-- t/filter_rubylang.t | 2 +- t/init.t | 3 +- t/lei-mirror.t | 31 +++++++++- t/msgmap.t | 5 +- t/psgi_v2.t | 10 ++- 18 files changed, 120 insertions(+), 122 deletions(-)