Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please advise as soon as possible..

Status
Not open for further replies.

14081978

Programmer
Mar 13, 2003
2
KR
Please advise as soon as possible...

I am using SUN 5.8 OS.
Cobol versin is - Cobol express.

The problem is the following:

it takes a huge amount of time to create an exe.
when running cob like below it takes each exe
about 10 minutes(!) to be created.

Below are "top" results.
LD is taking about 12% of CPU.

load averages: 0.73, 0.24, 0.15 11:54:19
100 processes: 98 sleeping, 2 on cpu
CPU states: 84.8% idle, 12.6% user, 2.6% kernel, 0.0% iowait, 0.0% swap
Memory: 32G real, 24G free, 510M swap in use, 80G swap free

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
23511 mb_ccktf 1 0 0 515M 140M cpu/99 1:08 12.06% ld
23525 mb_ccktf 1 59 0 1656K 1448K cpu/67 0:00 0.02% top

Command:

cob -o /srcarea3/ktf/mb_ccktf/proj/ktg208/bin/arDrvAdj -x -C IBMCOMP -C COPYEXT=prm -P -C CALLSORT=EXTSI -C M
AXERROR=100 arDrvAdj.o -lktar -lktcsm -lktrds -lktnm -lktdc -lktbl -lktbf -lktar -lktcsm -lktrds -lktsc -lktbl -lktbf -lktltr -lktar -lktdc -lktup -lktcsm -lktrds -lktnm -lktdc -lktac -lktgn -lktdl -lkttup -lktopign -lktopi -lktschapi -lkttuxtp -lktinftl -lktinfgn -L/usr/local/lib -L/usr/lib

Please advise what can be the reason.
Thanks a lot.
Y.


 
Just to clarify myslef -

We have just moved from Sun Solaris 2.6 to 2.8.

And I think there is a problem with LD command.
It's loading a lot of CPU and has a bad performance.

That issue was already discussed before (few threads
before) and also some LD has been mentioned there.

But in our case - we don't have /usr/ccs/lib in
LD_LIBRARY_PATH.

Could there be some other reason???

Thanks.
Yuri.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top