Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* ypbind takes too much cpu
@ 1998-03-06  5:00 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 1998-03-06  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-06  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-06  5:00 ypbind takes too much cpu Arun Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox