From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Observing lags or never ending processes Date: Sun, 11 Sep 2022 16:16:25 +0300 Message-ID: <83v8pu8312.fsf@gnu.org> References: <83bkrm9ype.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29995"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 11 15:17:33 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXMq4-0007ZP-EV for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 15:17:32 +0200 Original-Received: from localhost ([::1]:45318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXMq3-0000T6-BW for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 09:17:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXMpI-0000Sv-Ug for help-gnu-emacs@gnu.org; Sun, 11 Sep 2022 09:16:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXMpI-0003ZH-KR for help-gnu-emacs@gnu.org; Sun, 11 Sep 2022 09:16:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QzXkyt6Lf14/jCJ+KebzOxuyvbq6ZenTmJRwTZvYAsc=; b=C56HvMIhhys8 Ds1rEybBzV3Cmg4ONFpcsXf+aw7aKyDXZp34FC1YOENz/Xz6AgT+T4N0CXR2JwkOWYZL548VnsFCI PaAZ6uXXo1XarVksFhXvUojZLz2EpfjIjk0MVId4mwnjWhSRYDq4Oyirrh0Hf3F+5DPnLj6bW1QSM gGWMWlvhTl8M9lzH7FLZ6WvM6YWL2fle937tWoOFaxX5agMWG+b0KdY3r0WQHK6z6icMzx5G9E+gu hs6aEO4DBUPp4v2/nr5nTeGpQl0VWVX5fG6yCR3amIJtyloz2cxYVXGypJ09i/wTu0uOxOwv7r/cO fl0jveCCiBmm0Bsii2vuuw==; Original-Received: from [87.69.77.57] (port=1662 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXMpH-0003gs-Ri for help-gnu-emacs@gnu.org; Sun, 11 Sep 2022 09:16:44 -0400 In-Reply-To: (message from Jean Louis on Sun, 11 Sep 2022 15:36:02 +0300) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139369 Archived-At: > Date: Sun, 11 Sep 2022 15:36:02 +0300 > From: Jean Louis > Cc: help-gnu-emacs@gnu.org > > Basically on invokation of a command, something starts happening in > background, preventing command to run straight, and I know that it > would kind of finish execution and my command would run, but it takes > long time. Almost always I interrupt it with C-g multiple times, then > I try again. > > It can also happen during writing or normal operations. I am watching > CPU load, so I see CPU load increasing. > > Just before minutes, I was doing M-% replacement and then it finds one > term, I answer with `y' and then it finds another one, and so on, then > in middle of that all findings, then something starts in background, > preventing me to do the work. I suggest to begin by saying M-x set-variable RET garbage-collection-messages RET t RET and then see if, when "something starts in the background", you see the telltale "Garbage collecting..." message in the echo area.