From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yLkoJTN8jGCzGwEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 23:52:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cNCzHzN8jGCgHQAAbx9fmQ (envelope-from ) for ; Fri, 30 Apr 2021 21:52:51 +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 1555526F9E for ; Fri, 30 Apr 2021 23:52:51 +0200 (CEST) Received: from localhost ([::1]:43806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcb46-0001OO-7q for larch@yhetil.org; Fri, 30 Apr 2021 17:52:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcaEm-0000AZ-5g for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 16:59:48 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:35834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcaEk-0007KM-Gz for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 16:59:47 -0400 Received: by mail-pg1-x536.google.com with SMTP id q10so50220747pgj.2 for ; Fri, 30 Apr 2021 13:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=ofi7KpEkkgcqUFkSavaM0dpsNvbuM3JMi9f/r/QdHJY=; b=UIyfQwygW/+fPmwloBBsPzLzBJNHrumzKTT77WdioSxwZ87JfZbX87Y0nwsFyxVxCE JrzhGe04W4bGL22FPvhsQcXD0pGFMPnmIVVXewR18qJMdwnX0QM+kloVqD89luxiYV/i bngdm0LSK5VET4CJnc3DzPu3miyNhZEG3TPNdXkDlVWVninZnYZmDm0vLvSCc26j9JO1 YOeNqcaxJkELGgKWUCx6mFp5Xxddp6EHx6glGVbhkEeQ6mR3RO/lVb7QF0qHokSU2poy u3j0fAepF+LfE4WT9d2UOIPTgTNyoZXaK+gxfXw1hfQaHlbvYEhTzB52Db9Q27x+7VYv gGNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=ofi7KpEkkgcqUFkSavaM0dpsNvbuM3JMi9f/r/QdHJY=; b=dZiLQMdNIqMNGRqgnR18yCmEVcM79BEDW6tKqGBOzzXWBVLO7IZsYel1G2eeQqytIX lKZztOr+fXqUwE5HSNXkon5xTEeK9D7txA0SN+liSGWC367LyUT0IxdI5xnwoPiLKRX9 5um1XukVxwH0TRVQr3p8DFGa/2g4CQZPGsexXygT2eCpkV/3YWK5qq27sf1Op1OrdgdH 3tbI2H/bMW0QPotkpD9aO/5aq5vrclRperDJR0nwnoNr2031G4H+l2UPy7/uP5FS2nK/ v9d9JE+jYjdWrXX1lpFSlyrZ2NtlH+7t4HyBEiF5Oc7jBvO4khspZpFLv68jKxUhvkc+ QihQ== X-Gm-Message-State: AOAM5329M3Nh7dFePpSB0+uG2Lgv0De8GLWRYQrOZc7PAdXkGgrsNw3Z zGhEvU2G2Ky3luGFRXtuBW6fpk3swAs= X-Google-Smtp-Source: ABdhPJxfsr2bb4pHPB5GObbhLkmRB07zcy4KcDkJYCOR0e15xrwVWmXXWxLP+gA1YVXmspf5UX60nw== X-Received: by 2002:a63:2c81:: with SMTP id s123mr6345731pgs.168.1619816384496; Fri, 30 Apr 2021 13:59:44 -0700 (PDT) Received: from tim-desktop (106-69-97-3.dyn.iinet.net.au. [106.69.97.3]) by smtp.gmail.com with ESMTPSA id x77sm2897148pfc.19.2021.04.30.13.59.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 13:59:44 -0700 (PDT) References: <87mttf1wme.fsf@byu.edu> User-agent: mu4e 1.5.12; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Big problem: org agenda freezes my process Date: Sat, 01 May 2021 06:46:14 +1000 In-reply-to: <87mttf1wme.fsf@byu.edu> Message-ID: <878s4zij43.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619819571; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ofi7KpEkkgcqUFkSavaM0dpsNvbuM3JMi9f/r/QdHJY=; b=R6c5TTn/m689z8qo/eCT1PsEsQVdtgm9K8nGJlti5rbgDoCjYXsUSVFCQ49fr1S8pKufIm pX+gTjYs65IijdLOVgzWvWRNbLelzEhsHb5L8z5CknXBly0k/CfI4+h4WoqiDlistrzU7V 2vJ0ttL53fcdH9Uy5uzbXU6NfAkc45wmEq9rqO9hjoVFnsp09LsvDeW3aI6j62EpOJEj+l 9h68pUj7lBo9eDXEoYT/nUrDiLpUGVxPE5Ef8mgqB0iIUPkes/x83ZMXJEcFPNN/KaxCd2 2JEIeDMPBFeZ8HGfP76apiReGVGPTGY/uUQza0KOypp5lBLqhLnu3Bk+Qjxqhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619819571; a=rsa-sha256; cv=none; b=G31EIU2MT6K0tCw2eVB/j6d9A4FXG5lt3ZBJ32VfEVy56FcM40VrwX9tms5vVFfShBupDw GUdgwFgymHTgLFUKuS4fHUeZ4tV6W4nYU7m2IWu5m+GR1fD6Af4x80kXUEw2fWCJ4AymDa 1H8UBsHO2epMSwjqK4dhrsHKaBMv7M0Gavca25UecuAMZFrPZfXiu1xv3AXgrZxzQZTl/o /nUOwBUMAXA+ZPvyL20ikkXLtc4rp+shn7XBo4cu/tpOLkzvwZx+mOtcWc//4Q8HszGPgv /gP+84xz6dlBhcW8RoxszC8zdk8g1uDLBm4p8A8OIiLDqWQONseZz8LDYqdWVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UIyfQwyg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UIyfQwyg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1555526F9E X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: Va9i6nzGxKaR torys.anderson@gmail.com (Tory S. Anderson) writes: > I've been trying to debug a nearly show-stopping issue for a few weeks now; the > next step is a more thorough bisection of my setup, but I wanted to send this in > case anyone else experiences this or already knows the solution. > > Lately, when I try to view an orgmode agenda it seems that two things make it > cause my emacs CPU threat to spin to max and freeze up, which is a huge problem > since I'm an exwm user and live in my agenda view. As far as I've been able to > tell, when an item from today is clocked into multiple times in the same day, it > prompts most agenda actions to result in a freeze and some kind of loop that is > binding up my system. It has some gaps, so if I spam C-g I will eventually, > usually, escape given 30 seconds to 2 minutes. > > I first ran into this problem thinking it was because I had an entry with a > "+1d" note on it, so it would always show up; but inconsistent results led me to > the more precise discovery that it's apparently when it is logged in to multiple > times in the day AND when it is shown with =(org-agenda-show-log t)=, which I > had on my default. At its worst, even moving the cursor in the agenda buffer > would trigger the freezing, let alone actually clocking in/out of anything. > However, when I am not showing the log, it seems like it's ok. I've tried > =toggle-debug-on-quit" but I don't recognize anything in the stack trace that > actually tells me what it is doing when it spins to a halt. > > I'm currently on org mode version 9.3.7. I've tried with different versions but > without a change in behavior. This, combined with the fact that the issues seem > to have begun in the past month, indicates that it probably isn't orgmode itself > causing this issue, but I haven't located what it IS yet. If anyone has ideas on > how to debug this without a bisection, or an has dealt with this before, I'm > more than eager to hear it; in the meanwhile, I'll perform a more thorough > bisection of my init file as time permits. > Does the problem also occur if your not running exwm? I stopped using exwm for a very similar reason i.e. every now and then, I would try to do something and the CPU load would peak, everything would become unresponsive and either I had to wait (for minutes) or start killing things to try and get back control. Probably first thing to do is see if you can reproduce the issue without exwm. If you can, the next thing to do would be to come up with a minimal org config and recipe to reproduce as this will allow others here to try and help debug the issue. BTW I gave up on exwm as I found a few issues and found it often got slow. I switched to Stumpwm (Common Lisp WM), which I found great as I was then able to have a window manager which worked like Emacs, could have same keyboard interface and could be modified 'on the fly' with lisp. I only stopped using it when I started experimenting with Wayland. -- Tim Cross