[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aixtoolbox-list
Subject:    [tbox-l] screen uses way too much CPU after upgrading several AIX 5.2ML2 filesets
From:       Jurjen Oskam <jurjen-aixtoolbox () stupendous ! org>
Date:       2004-04-26 17:09:01
Message-ID: 20040426170901.GA13534 () quadpro ! stupendous ! org
[Download RAW message or body]

Hi there,

I'm running several AIX5.2 ML2 boxes, with post-ML2 filesets installed. A
week or two ago, I installed a whole bunch of upgrades. After that, screen
uses way too much CPU-time. A truss of the "SCREEN -R" process shows:

0.0000:        seteuid(1000)                    = 0
0.0008:        setgidx(1, 1)                    = 0
0.0013:        open("/tmp/uscreens/S-joskam/1802420.pts-0.triprod1", O_RDONLY|O_NONBLOCK) = 4
0.0018:        seteuid(1000)                    = 0
0.0023:        setgidx(1, 1)                    = 0
0.0028:        _select(32767, 0x2FF20318, 0x2FF21318, 0x00000000, 0x00000000) = 1
0.0035:        kioctl(4, -2147195266, 0x2FF201A0, 0x00000000) = 0
0.0040:        kioctl(4, -2147195267, 0x2FF201A0, 0x00000000) = 0
0.0044:        kfcntl(4, F_SETFL, 0x00000000)   = 0
kread(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 3120)    = 0
0.0055:        close(4)                         = 0
0.0060:        seteuid(1000)                    = 0
0.0065:        setgidx(1, 1)                    = 0
0.0070:        open("/tmp/uscreens/S-joskam/1802420.pts-0.triprod1", O_RDONLY|O_NONBLOCK) = 4
0.0074:        seteuid(1000)                    = 0
0.0079:        setgidx(1, 1)                    = 0
0.0084:        _select(32767, 0x2FF20318, 0x2FF21318, 0x00000000, 0x00000000) = 1
0.0091:        kioctl(4, -2147195266, 0x2FF201A0, 0x00000000) = 0
0.0095:        kioctl(4, -2147195267, 0x2FF201A0, 0x00000000) = 0
0.0100:        kfcntl(4, F_SETFL, 0x00000000)   = 0
kread(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 3120)    = 0
0.0110:        close(4)                         = 0
0.0115:        seteuid(1000)                    = 0
0.0120:        setgidx(1, 1)                    = 0
0.0125:        open("/tmp/uscreens/S-joskam/1802420.pts-0.triprod1", O_RDONLY|O_NONBLOCK) = 4
0.0129:        seteuid(1000)                    = 0
0.0134:        setgidx(1, 1)                    = 0
0.0139:        _select(32767, 0x2FF20318, 0x2FF21318, 0x00000000, 0x00000000) = 1
0.0145:        kioctl(4, -2147195266, 0x2FF201A0, 0x00000000) = 0
0.0150:        kioctl(4, -2147195267, 0x2FF201A0, 0x00000000) = 0
0.0156:        kfcntl(4, F_SETFL, 0x00000000)   = 0
kread(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 3120)    = 0
0.0165:        close(4)                         = 0
	[... and so on]

It works OK, though.

Is this a problem in screen perhaps?

Note that I also have qmail installed on those machines. After the upgrade I
mentioned, I had to recompile qmail because qmail-send used 100% CPU, but
otherwise worked fine.

-- 
Jurjen Oskam

"Avoid putting a paging file on a fault-tolerant drive, such as a mirrored
volume or a RAID-5 volume. Paging files do not need fault-tolerance." - 308417
_______________________________________________
aixtoolbox-list mailing list
aixtoolbox-list@www-124.ibm.com
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic