Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 14:31:14 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        James Schmidt <james@JamesSchmidt.Com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: 'screen' causing 100% cpu utilization on 4.6.2-Release-p2
Message-ID:  <20021017193114.GC71982@dan.emsphone.com>
In-Reply-To: <20021017114547.J428-100000@speedy.insekure.com>
References:  <20021017114547.J428-100000@speedy.insekure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 17), James Schmidt said:
> I recently cvsup'd to 4.6.2-Release-p2, and I noticed that the 'screen'
> virtual screen utility is now causing 100% cpu utilization.
> 
> FreeBSD speedy 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #7: Tue Oct  8
> 14:31:06 CDT 2002     root@speedy:/usr/src/sys/compile/UNIPROC  i386
> 
> last pid:   427;  load averages:  0.96,  0.51,  0.23
> up 0+00:21:25  11:45:17 41 processes:  2 running, 39 sleeping
> CPU states: 19.4% user,  0.0% nice, 79.8% system,  0.6% interrupt,  0.2% idle
> Mem: 22M Active, 130M Inact, 87M Wired, 36K Cache, 112M Buf, 764M Free Swap: 2048M Total, 2048M Free
> 
>   PID USERNAME      PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>   416 root           52   0  1648K  1356K RUN      2:03 96.60% 96.44% screen

What version of screen?

Try truss'ing the process and see if it's doing any syscalls.  Another
option is to gdb the live process and get a stack trace.

-- 
	Dan Nelson
	dnelson@allantgroup.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?20021017193114.GC71982>