HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- webserver at 100% cpu
Operating System - HP-UX
1833828
Members
2354
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-19-2003 02:39 PM
09-19-2003 02:39 PM
webserver at 100% cpu
Hi,
I am running HPUX webserver using java 1.4.1 in hpux 11.11. After a while webserver after ( 4-5 hrs of activity or idle) hangs and the cpu usage is at 100%. Checking with glance there are hight number of calls to sched_yield. I followed the documentation "Performance tuning java other problems". I tried to do kill -s SIGQUIT but it did not produce any log output. when the webserver is running normally Kill -s sigquit will dump information.
I made jvm to dump core file. I used dde and tried to see the stack of the thread.
The following are the stack trace
5. java_java_net_plainsocketimpl_socketaccept
4.jni_callBooleanMethod__FP&JNIEnv....
3.jni_invoke_nonstatic_FP&JNIEnv......
2.os:yield
1.sched_yeid
Also, when the webserver is hung. I cant accept any page from browser. I did a kill -s pid then the cpu usage came down to 0. But then i sent kill -s 3 it went back to 100%, but did not dump any trace.
Can some body point me as to what i should do next. How can i fix this ?
Thanks in advance,
Ravi
I am running HPUX webserver using java 1.4.1 in hpux 11.11. After a while webserver after ( 4-5 hrs of activity or idle) hangs and the cpu usage is at 100%. Checking with glance there are hight number of calls to sched_yield. I followed the documentation "Performance tuning java other problems". I tried to do kill -s SIGQUIT but it did not produce any log output. when the webserver is running normally Kill -s sigquit will dump information.
I made jvm to dump core file. I used dde and tried to see the stack of the thread.
The following are the stack trace
5. java_java_net_plainsocketimpl_socketaccept
4.jni_callBooleanMethod__FP&JNIEnv....
3.jni_invoke_nonstatic_FP&JNIEnv......
2.os:yield
1.sched_yeid
Also, when the webserver is hung. I cant accept any page from browser. I did a kill -s pid then the cpu usage came down to 0. But then i sent kill -s 3 it went back to 100%, but did not dump any trace.
Can some body point me as to what i should do next. How can i fix this ?
Thanks in advance,
Ravi
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 02:51 PM
09-19-2003 02:51 PM
Re: webserver at 100% cpu
There may be errors in the web server log.
Its called error_log unless you changed it in httpd.conf. Its located in different places depending on how you got your web server installed(HP, porting center, apache and compile).
Check the access_log file for last access and make sure the hang coincides with the kill.
If java was called by the httpd server it makes sure a kill -9 would nail the web server as the parent.
I know this seems basic, but did you install all of the required OS patches prior to installing java (http://www.hp.com/go.java). Its really important.
There is a recent OS patch on the site and a new release of java is due shortly.
You might want to check that patch and see if it relates to this issue.
Note: itrc forums are going down at 8:00 p.m. Eastern until approximately 8:00 p.m. Sunday night.
SEP
Its called error_log unless you changed it in httpd.conf. Its located in different places depending on how you got your web server installed(HP, porting center, apache and compile).
Check the access_log file for last access and make sure the hang coincides with the kill.
If java was called by the httpd server it makes sure a kill -9 would nail the web server as the parent.
I know this seems basic, but did you install all of the required OS patches prior to installing java (http://www.hp.com/go.java). Its really important.
There is a recent OS patch on the site and a new release of java is due shortly.
You might want to check that patch and see if it relates to this issue.
Note: itrc forums are going down at 8:00 p.m. Eastern until approximately 8:00 p.m. Sunday night.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP