Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 13:19:17 -0700 (PDT)
From:      The Sapphire Cat <the_sapphire_cat@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Screen-3.09.11 4.6-S using 100% CPU to idle
Message-ID:  <20020808201917.17018.qmail@web10808.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
When I run screen, either under an xterm (88x61) or console (at either
80x25 or 132x50), top shows that screen is consuming almost 100% CPU,
and most of that in system mode.

Here's the relevant bits of the top output after running screen with
one window containing an idle shell process for several minutes:

CPU states: 11.2% user,  0.0% nice, 88.4% system,  0.4% interrupt, 
0.0% idle
Mem: 72M Active, 114M Inact, 34M Wired, 35M Buf, 29M Free
Swap: 512M Total, 512M Free
  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU
COMMAND
83514 dragon    64   0  1920K  1616K RUN      6:25 98.93% 98.93% screen
  321 root      10   0 45840K 45588K wait     2:10  0.00%  0.00% ruby16
  176 root       2   0 39464K 38852K select   0:03  0.00%  0.00%
XFree86
66563 dragon     2   0  2520K  1680K select   0:03  0.00%  0.00% ppp
83553 dragon    28   0  2044K  1220K RUN      0:00  0.00%  0.00% top

That's everything that is either RUNning or has non-zero TIME.

AFAIK, screen shouldn't be doing any I/O, because nothing in its
window is changing. Similar behavior is not observed under Solaris
with screen 3.07.06, nor under Linux (RH7.0, when I still used that.)
Google hasn't turned up anything interesting either. So what's going
on?

=====
C. A. "Sapphire Cat" Daelhousen
You can love me or hate me, but it won't change who I am.
My opinions are my own, until UB purchases my soul.

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808201917.17018.qmail>