- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Server Hangs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 04:38 PM
тАО06-29-2004 04:38 PM
Server Hangs
While running the java multithreading application some times the % of cpu goes to 98% and when cpu goes to 98% the Application hangs
I have hp-unix B.11.0 and patch PHCO_29959 already installed on it ...
I heared thats we needed some java patches for smooth running of java multithreading application ....
1) what java patches we needed for smooth running of the multithreading application
2) How to check which java patches already installed
3) How to install New Java Patches
2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 04:41 PM
тАО06-29-2004 04:41 PM
Re: Server Hangs
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 04:54 PM
тАО06-29-2004 04:54 PM
Re: Server Hangs
http://h21007.www2.hp.com/cmdspp/QuestionAnswer/1,1764,95F27FF6-4941-11D6-B748-0003470C0153,00.html
http://www.hp.com/products1/unix/java/patches/
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=581254
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 05:06 PM
тАО06-29-2004 05:06 PM
Re: Server Hangs
Just for your information.
Ok.....First thing first ...Application never hangs :) either it goes in the infinite loop or its process goes very slow so it appear to be hanged ( Not Responding mode ) . Since you are involved in the Multithreading Java application I think you need to optimize your Java code, open the thread only when it is very necessary and kill it as soon as its done. And if possible set the thread priority as necessary.
And above problem is not only in Java , it happens in all the multithreading process in one way or another.
Regards,
Rahul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 08:19 PM
тАО06-29-2004 08:19 PM
Re: Server Hangs
I have java running fine and don't have this PHCO_29959 patch installed...
I just have:
Java-Dev-Kit1-1 -> C.01.18.00 Java Developers Kit |
|| Java-Docs1-1 -> C.01.18.00 Java Documentation |
|| Java-Runtime1-1 -> C.01.18.00 Virtual Machine for Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 08:14 PM
тАО06-30-2004 08:14 PM
Re: Server Hangs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 01:09 AM
тАО07-01-2004 01:09 AM
Re: Server Hangs
This can occur when there is no co-ordination between threads. I forget the java calls that can be used to co-ordinate threads, but basically look at the resources that each thread uses.
Say one thread locks a resource or even a database object. Database locks can be suttle so look carefully. May be one thread updates a row and hasn't committed and a second thread attempts to update the same row. I wouldn't expect it to go to 98% but if the thread that wants a resource is continuously trying to acquire it, it would be a tight loop just as someone else has already pointed out.
Another possibility might be in exception handling. Do you have anything that does an immediate re-try on a failure?
Just some thoughts.
-Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 10:58 AM
тАО07-01-2004 10:58 AM