From: Arun Sharma <asharma@netscape.com>
Subject: ypbind takes too much cpu
Date: 1998/03/06 [thread overview]
Message-ID: <sn0hg5bxn6e.fsf@zugzwang.mcom.com> (raw)
top shows 5%. I'm using
# rpm -q ypbind
ypbind-3.3-2
strace shows a repition of the following loop:
select(256, [4 5], NULL, NULL, NULL) = 1 (in [5])
accept(5, {sin_family=AF_INET, sin_port=htons(9752), sin_addr=inet_addr("127.0.0.1")}, [16]) = 7
select(256, [4 5 7], NULL, NULL, NULL) = 1 (in [7])
select(256, [7], NULL, NULL, {35, 0}) = 1 (in [7], left {35, 0})
read(7, "\200\0\00044\2\30\220\0\0\0\0\0\0"..., 4000) = 56
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, "mcom.com\0\0\0\0\0\0\0\0\0\0\0\0"..., 2240) = 2240
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, "mcom.com\0\0\0\0\0\0\0\0\0\0\0\0"..., 2240) = 2240
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
write(7, "\200\0\0$4\2\30\220\0\0\0\1\0\0\0"..., 40) = 40
select(256, [4 5 7], NULL, NULL, NULL) = 1 (in [7])
select(256, [7], NULL, NULL, {35, 0}) = 1 (in [7], left {35, 0})
read(7, "", 4000) = 0
close(7) = 0
select(256, [4 5], NULL, NULL, NULL) = 1 (in [5])
The same rpm works just fine on Intel.
-Arun
reply other threads:[~1998-03-06 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox