Operating System - HP-UX
1833514 Members
11428 Online
110061 Solutions
New Discussion

Re: 100% idle during build

 
Sivaram N
Occasional Advisor

100% idle during build

Hello,
on HW: 9000/785/C3000 with B.11.00 OS, while doing a build for the first time,it's taking a long time. almost 3 times as long. top shows 9 pages of o/p with almost all of them 'sleep'.
all nice priorities are 20. there are no stopped jobs.

vmstat -n
VM
memory page faults
avm free re at pi po fr de sr in sy cs
3740 67964 63 24 0 0 53 0 0 263 1363 118
CPU
cpu procs
us sy id r b w
3 2 94 0 0 0

sar is not enabled on this system.

'build' is some c++ app the users are trying to do. there are only 6 users on the whole system. system was rebooted last evening.
uptime
1:12pm up 1 day, 19 mins, 6 users, load average: 0.23, 0.19, 0.15

So what gives?? short of telling the users, it's your problem . :-)
Sivaram
p.s new to all this. whatever i gave here was by seeing prev. posts on the forums.

5 REPLIES 5
Steven Sim Kok Leong
Honored Contributor

Re: 100% idle during build

Hi,

Try checking your process's assigned priority as well as wait reason from glance or ps.

Are you able to run a debugger on the build program?

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: 100% idle during build

Hi,

Btw, what do you mean when you mention that "sar is not enabled" on your system?

You should be able to run sar real-time and independent of sa1 and sa2 on the command line.

Hope this helps. Regards.

Steven Sim Kok Leong
Sivaram N
Occasional Advisor

Re: 100% idle during build

ok,some background info abt the app, is that it uses NFS to access files lying all over the place. server was on a 10mbps port and now we've switched it to 100mbs port and asking the users to try again. waiting to see if the problems crops up again. Will post if it recurrs.
Sivaram
harry d brown jr
Honored Contributor

Re: 100% idle during build

If they are doing a build, and by that you mean some makefile process, for the first time, then everything is probably being "rebuilt".

live free or die
harry
Live Free or Die
Sivaram N
Occasional Advisor

Re: 100% idle during build

yep, that's whats happening. tried to tell them that everything is being created for the first time and that's why it takes so long but
the team is pretty sure that it shoudn't take so long.
sivaram