From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNuSB+SyxWGh0wAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 12:45:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AKM7A+SyxWHAbAAAB5/wlQ (envelope-from ) for ; Fri, 24 Dec 2021 11:45:40 +0000 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 AB69B2390C for ; Fri, 24 Dec 2021 12:45:39 +0100 (CET) Received: from localhost ([::1]:38274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0j10-0007Ix-RN for larch@yhetil.org; Fri, 24 Dec 2021 06:45:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0j0G-0007Il-VQ for emacs-orgmode@gnu.org; Fri, 24 Dec 2021 06:44:52 -0500 Received: from [2a00:1450:4864:20::42f] (port=44555 helo=mail-wr1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0j0C-0006du-E3 for emacs-orgmode@gnu.org; Fri, 24 Dec 2021 06:44:52 -0500 Received: by mail-wr1-x42f.google.com with SMTP id t18so17013652wrg.11 for ; Fri, 24 Dec 2021 03:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=OBB8R4C1qCfWNYU5PmTkHeQitl6xGczBxt2CvEohJ+A=; b=KTzh+ufkAHgmuWeibDrHD7ITfwrYWtHztakt2phAfXjYaE5AaW5Nakf9rvFABFxy2G eeEHeElidcKDLy318Q6Ubo+0ecZQ22r7jH72QGtzyk7AWeU9SlWcC9BBFwkJQoGd9Ata yY41twLZhRbel5WrPD4Kg+4TIiv+TqZ5IlSphnUcsDcMyPW8NvXH0Dhdd6s0ULXyrgVt TnKSuGp4P/F9q6ms06+p1DUofpzQmZfAdrUXQ1bIFMo3l6Yz8avZy4yeHBezD4qjHUIR SeRKVAtxZibzk2Sie5oUs1/xGt1rINmYrc+nMcsRe/KBOIDjx/wTC9+jzwfvpi1hhPt8 4TXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=OBB8R4C1qCfWNYU5PmTkHeQitl6xGczBxt2CvEohJ+A=; b=zORx6zI3jqq7yvbWd3FFWo+HqXoPp1c0iRAnV0yW1u6zpO0+8IgnxPHQac3zeT56+0 58MoSxsH1no0J4O1+C81Huvw9LVooW78ItXFMsHSkxML8Eac/u1iCpEv6Zh83zfIxGZg 6cxd9Q2RfP0UOX/KARB3qrpDnRZujI6HnPKKaQ7ldClHDzTXFSfntMLrt7PTGNX6B9Ev 05iErCwGeOJLwXekZna3ORsrVCXOF4NW90mWoQX9F5Tzix1VH+GXI3SpBdaH5PXyyGEW GjlphtGRYyfMH8xOWdjM2sln9bFZd3oNzqYhtnBcEuQV+jad96QixtlCWGGV5E5BRkuY y3lQ== X-Gm-Message-State: AOAM530NS3CZJXeE14nVywG1R3YMps16GyHRLuZq2sGaGHI067QwTR9T 8QHFH0vRzL3wCoJdBO6QXfc= X-Google-Smtp-Source: ABdhPJzOETDjEYE7kjtHvPSGB5bm9AuTcJIaUa7MOfcRs73Ym4cD3WklYc1hINLSEbDJJyYxhi/QiQ== X-Received: by 2002:a5d:47c2:: with SMTP id o2mr4523601wrc.637.1640346286660; Fri, 24 Dec 2021 03:44:46 -0800 (PST) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id g3sm7526044wrp.79.2021.12.24.03.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Dec 2021 03:44:46 -0800 (PST) From: Ihor Radchenko To: Samuel Wales Subject: Re: [BUG] org-element-cache bug: org-persist-read persists seemingly forever In-Reply-To: References: Date: Fri, 24 Dec 2021 19:46:09 +0800 Message-ID: <87ilveb4zi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=yantar92@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640346339; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OBB8R4C1qCfWNYU5PmTkHeQitl6xGczBxt2CvEohJ+A=; b=Y/cKVZaOJJ8ZVs0MLi+oBjbsolp8WXdh8tM1y/+bmq164EHAa0ZAGibIu/OAhhfTNXqJzd kYQox8dT31bEDnQXSfeFCqbm2mCV2Eh/hzWb8+FGSPM2PaaVs4ClhkIzgVbpiPClSe4qKc H1/jvQjl+Z4RcG9RdFlOrvA9g2Y5kqD8AFnQ1rkFdWf/VfkXNOby/4tLaM4NVqKEDIAoAK ZmRqMgVX4vdV6ptN6Mln2qYxoEL0rVMY3BZHy6b4JF38F+vTdkdoyF/Vx/E08xOkdkHHhw ozsYppf7MgBMLT4elV0NYhpgPEz0NTvG9OpZwQuRl0pvslSOl4R1iB/m6d13yA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640346339; a=rsa-sha256; cv=none; b=UoSg0DaI5DLFO9rBXLOZdTDg+mXDg2HhIr2qvv0Ech373smE2ZKoEh0md6fxZFDtc4+yqT He02fXvPtXUTcg9EwBycOeNyEVuxpj7VuHr8cOxCjeEH86OP4wDNu40ulPxy7Xg6gSaZKq RFhX+02GnfHROntmc6IN4Y3XH608ulSi0VM2beJcmX3KY9BqbBDipDfvK7ikib9jFzLWpv GWf4VRoSs1fEmeTiS9QJ0o1ZpLFa1v1AGSQTetHnHuLAyOo4KIrddWkO0GG3jdidsytwm/ OgGFgN9Vka9fHdcGbWGXivTynRFOt+4njnJGnqnzmPSXfQaGbVHhsrFpfqp8Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KTzh+ufk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KTzh+ufk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AB69B2390C X-Spam-Score: -8.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: +2FP7OIBVEjk Samuel Wales writes: > this reproduces most or all of the time. idk if it is ueful to > anybody, but i thought i would post it in case it is instantly > recognizable. > > emacs 25. latest 9.5 org main. > > Debugger entered--Lisp error: (quit) > read(#) > org-persist-read(org-element--cache #) Thanks for reporting! Apparently read is being very slow when reading cache for other--a.org May I know what is the size of other--a.org? Next time you see the slowness, could you look into `org-persist-directory'/index file, find the other--a.org and look at the value of :persist-file property in the same list? Then, can you check that persist file size? Best, Ihor