From nobody Thu Oct 05 11:32:55 2023 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S1TvH36rmz4wPKh for ; Thu, 5 Oct 2023 11:32:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S1TvG2nvSz3XFV; Thu, 5 Oct 2023 11:32:58 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de; dmarc=none Received: from [212.222.85.178] (helo=c720-1400094.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qoMb9-00HLyD-9u; Thu, 05 Oct 2023 13:32:55 +0200 Received: from c720-1400094 (localhost [127.0.0.1]) by c720-1400094.unixarea.de (8.17.1/8.14.9) with ESMTP id 395BWtd4002235; Thu, 5 Oct 2023 13:32:55 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094 (8.17.1/8.14.9/Submit) id 395BWtm9002234; Thu, 5 Oct 2023 13:32:55 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094: guru set sender to guru@unixarea.de using -f Date: Thu, 5 Oct 2023 13:32:55 +0200 From: Matthias Apitz To: Michael Gmelin , Gleb Popov , kde@freebsd.org, freebsd-x11@freebsd.org Subject: Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L) Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Michael Gmelin , Gleb Popov , kde@freebsd.org, freebsd-x11@freebsd.org References: <68ED5BF0-4A51-4787-A11A-D75E8F23ED06@grem.de> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 212.222.85.178 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MID_RHS_NOT_FQDN(0.50)[]; RWL_MAILSPIKE_EXCELLENT(-0.40)[178.254.4.101:from]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; HAS_XOIP(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; HAS_XAW(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[unixarea.de]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de] X-Rspamd-Queue-Id: 4S1TvG2nvSz3XFV This morning my firefox crashed on startup. While digging into this I found as reason "Too many open files" (and my kernel value for this is: # sysctl kern.maxfiles kern.maxfiles: 62558 With Don Google I found the reason in this issue against KDE5 baloo: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273669 I disabled baloo and have had already deleted /usr/local/libexec/upowerd with # mv /usr/local/libexec/upowerd /usr/local/libexec/upowerd.away # cp /usr/bin/true /usr/local/libexec/upowerd With these two changes the switching between the virtual desktops is much better. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub