The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
what is stack winding and stack unwinding amitpansuria High Level Programming 2 08-07-2007 02:46 PM
get stack trace from C program on Solaris 8 rydahl Filesystems, Disks and Memory 4 03-23-2007 10:53 AM
Need to capture ERROR msg and stack trace gswhoops Shell Programming and Scripting 2 01-11-2006 04:51 PM
printing a stack trace with backtrace dmirza High Level Programming 2 11-03-2005 12:27 PM
Core file without a readable stack trace ciregbu High Level Programming 0 10-02-2002 08:42 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-10-2006
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
help required - stack trace

Hi all,
One of our programs written in Java, produced this logfile. This job runs 48 threads and only one thread failed with this error. The code is a blackbox(external product), so cant look at the source code. From what I can infer from the log, the job was trying to write the log messages into a file but didnt write and failed. THe error is below
Quote:
----> STACK TRACE (begin)
<---- STACK TRACE (end)
( 0) 0x4000000000945c80 [lsp_engine]
( 1) 0x4000000000d1aa5c [lsp_engine]
( 2) 0x400000000097a9d0 [lsp_engine]
( 3) 0xc0000000001f9398 _sigreturn [/usr/lib/pa20_64/libc.2]
( 4) 0x4000000000ac0a94 [lsp_engine]
( 5) 0x4000000000ae2d14 [lsp_engine]
( 6) 0x4000000000ae174c [lsp_engine]
( 7) 0x4000000000ae00bc [lsp_engine]
( 8) 0x4000000000bb8b68 [lsp_engine]
( 9) 0x4000000000e55384 [lsp_engine]
(10) 0x4000000000a64d7c [lsp_engine]
(11) 0x4000000000a75bc8 [lsp_engine]
(12) 0x4000000001323d48 [lsp_engine]
(13) 0x4000000001255dec [lsp_engine]
(14) 0xc00000000000a770 $START$ + 0xa0 [/usr/lib/pa20_64/dld.sl]
returnCode from lspProcessAgent:11
There was no core dump too. We were having swap space issues on this box previously. our admins increased the swap 2 days back. The next day, the job ran fine. But the subsequent run failed and the error is above. Can anyone throw some light on this.
Box: HP-UX B.11.11
swapinfo -t gives
Quote:
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 591756 3602548 14% 0 - 1 64,0x000002
dev 4194304 0 4194304 0% 0 - 2 64,0x00000b
dev 4096000 84400 4011600 2% 0 -1 /dev/vgdev6_new/lvswap2
dev 8192000 0 8192000 0% 0 - 2 /dev/vgdev6_new/lvswap3
reserve - 9160164 -9160164
memory 19366488 8592160 10774328 44%
total 40043096 18428480 21614616 46% - 0 -
Reply With Quote
Forum Sponsor
  #2  
Old 08-10-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,265
Was swapinfo run during the time tha Java app was running?
Reply With Quote
  #3  
Old 08-10-2006
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
No

Sorry for the delayed reply. Was not at desk.

I ran it seperately. But once, while monitoring the job, we got a Red alert in 'glance' saying that the 'Global swap space is nearly full'. It was after pointing out this that the swap was increased.
Reply With Quote
  #4  
Old 08-10-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,265
That means the app is requesting lots of virutal memory. All I get is
1. it's a 64 bit app
2. sigreturn (didn't know it was in HPUX) switches context (like longjmp) after reveiving a signal.

So, what signal triggered the problem... did you check syslog?
Reply With Quote
  #5  
Old 08-10-2006
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
no signal in syslog

No signal in syslog. Is there any command to see which job is taking up more virtual memory? If we can know the application using the resources, we can atleast ask for a rescheduling of the job.

Regards,
Ranjith
Reply With Quote
  #6  
Old 08-10-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,265
The lsp_engine - looks like a virtual machine - is the one with the problem. If the virtual memory problem started with running this app, you don't need to worry about who/what is using memory. Try to run the app as close to solo as possible.

I have not done sysadmin for long time - maybe somebody like Perderabo can give you tuning help. What I see is that you have a lot of free pagefile space.

It may also be that you will have to reconfigure the app, if that is possible.
Reply With Quote
  #7  
Old 08-11-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,265
Are you anywhere further along on solving this problem?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0