[As-users] AfterStep using 100% CPU when playing music

Jeff Bradberry (jeff.bradberry@gmail.com)
Wed, 22 Oct 2008 22:38:44 -0400

Debian bug #441897 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441897):

From: "Jeff Bradberry" <jeff.bradberry@gmail.com>
To: submit@bugs.debian.org
Subject: Afterstep maxes out CPU usage when programs change title rapidly
Date: Tue, 11 Sep 2007 14:58:39 -0400

[Message part 1 (text/plain, inline)]

Package: afterstep
Version: 2.2.6-2+b1

The afterstep package sets the FollowTitleChanges option in
feel.DEFAULT(this option is unset in the current official Afterstep
sources).  This forces Afterstep to reread and parse the database file
every time a program changes title, which has bad effects (excessive CPU
usage) for those programs that do so rapidly, such as XMMS.  This problem
can also be reproduced by running the following script in an xterm:

while (true); do echo -ne "\033]0;`date`\007"; done

This will within a minute or two max out the CPU.

I suggest that the feel.DEFAULT file be changed to turn the
FollowTitleChanges off.
As-users mailing list