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

next in thread | previous in thread | raw e-mail | index | archive | help

Screen version 3.09.11 (FAU) 14-Feb-02

From the Truss output, this looks suspicious:

seteuid(0x3e8)                                   = 0 (0x0)
setegid(0x0)                                     = 0 (0x0)
open("/tmp/uscreens/S-james/54657.ttyp2.speedy",0x4,00) = 4 (0x4)
seteuid(0x3e8)                                   = 0 (0x0)
setegid(0x0)                                     = 0 (0x0)
select(0x400,0xbfbff428,0xbfbff3a8,0x0,0x0)      = 1 (0x1)
fcntl(0x4,0x4,0x0)                               = 0 (0x0)
read(0x4,0x8088480,0xc30)                        = 0 (0x0)
close(4)                                         = 0 (0x0)
seteuid(0x3e8)                                   = 0 (0x0)
setegid(0x0)                                     = 0 (0x0)
open("/tmp/uscreens/S-james/54657.ttyp2.speedy",0x4,00) = 4 (0x4)
seteuid(0x3e8)                                   = 0 (0x0)
setegid(0x0)                                     = 0 (0x0)
select(0x400,0xbfbff428,0xbfbff3a8,0x0,0x0)      = 1 (0x1)
fcntl(0x4,0x4,0x0)                               = 0 (0x0)
read(0x4,0x8088480,0xc30)                        = 0 (0x0)
close(4)                                         = 0 (0x0)
.
.
.
ad infinitum...

That help ?  I'm not a coder or developer by any means, so I am not sure
what this could indicate.  Thanks for the help-

James


On Thu, 17 Oct 2002, Dan Nelson wrote:

> 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
>



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?20021017143206.X54604-100000>