Operating System - HP-UX
1819959 Members
3374 Online
109607 Solutions
New Discussion юеВ

user process takes 90% of CPU

 
Ing. E. van Egmond
Occasional Contributor

user process takes 90% of CPU

Since I've got a rp5430 running with HPUX 11.11 a problem occurs when an users starts a cobol program. This program takes around 90% CPU time and delays all other. I think it has something to do with waiting to get a lock on a file. My previous L1000 with 11.00 didn't had this problem. Anyone have an idea?
Also, the rp5430 is now connected to a SAN.

TIA,

Edward
7 REPLIES 7
KapilRaj
Honored Contributor

Re: user process takes 90% of CPU

Operating systems are backward compatible ... still look forward to get it compiled under 11.11

OR

Is there any additional load being put on to the system ?

Regds,

Kaps
Nothing is impossible
Ing. E. van Egmond
Occasional Contributor

Re: user process takes 90% of CPU

We've tried a recompilation, but it didn't had the desired effect. I'm more thinking in the line of a new kernel paarameter which can be the culprit.

I'm keeping an eye on the running processes with the highest CPU time, and nothing else effects this job.
Bharat Katkar
Honored Contributor

Re: user process takes 90% of CPU

Edward,
Along with the kernel parameters, i would also suggest u check patches.
You need to know a lot to actually know how little you know
Hazem Mahmoud_3
Respected Contributor

Re: user process takes 90% of CPU

Try starting the cobol program with a lower priority (man nice for more information), and see what happens:

# nice -5

-Hazem
Roberto Polli
Trusted Contributor

Re: user process takes 90% of CPU

Maybe check the ulimit function?
anyway "nice" should work...

Peace, R.
A. Clay Stephenson
Acclaimed Contributor

Re: user process takes 90% of CPU

Well, rather than using "The Force" to lead you to waiting on a file lock I suggest that you use Glance to drill into the process to see what it is really doing. Another option is to use tusc.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.5/

One we know what the process is spending most of the time doing, it's much easier to offer helpful suggestions.

Nicing the process is really throwing a Band-Aid at the problem.
If it ain't broke, I can fix that.
Hazem Mahmoud_3
Respected Contributor

Re: user process takes 90% of CPU

Clay has a good point. Thanks for bringing that up. I guess a short-term solution would be to "nice" it, but like Clay mentioned, the problem would still exist.

-Hazem