<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic webserver at 100% cpu in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/webserver-at-100-cpu/m-p/3075496#M809314</link>
    <description>Hi,&lt;BR /&gt;  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.&lt;BR /&gt;  I made jvm to dump core file. I used dde and tried to see the stack of the thread. &lt;BR /&gt;The following are the stack trace&lt;BR /&gt;5. java_java_net_plainsocketimpl_socketaccept&lt;BR /&gt;4.jni_callBooleanMethod__FP&amp;amp;JNIEnv....&lt;BR /&gt;3.jni_invoke_nonstatic_FP&amp;amp;JNIEnv......&lt;BR /&gt;2.os:yield&lt;BR /&gt;1.sched_yeid&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Can some body point me as to what i should do next. How can i fix this ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Ravi</description>
    <pubDate>Fri, 19 Sep 2003 21:39:20 GMT</pubDate>
    <dc:creator>raviprasad2003</dc:creator>
    <dc:date>2003-09-19T21:39:20Z</dc:date>
    <item>
      <title>webserver at 100% cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/webserver-at-100-cpu/m-p/3075496#M809314</link>
      <description>Hi,&lt;BR /&gt;  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.&lt;BR /&gt;  I made jvm to dump core file. I used dde and tried to see the stack of the thread. &lt;BR /&gt;The following are the stack trace&lt;BR /&gt;5. java_java_net_plainsocketimpl_socketaccept&lt;BR /&gt;4.jni_callBooleanMethod__FP&amp;amp;JNIEnv....&lt;BR /&gt;3.jni_invoke_nonstatic_FP&amp;amp;JNIEnv......&lt;BR /&gt;2.os:yield&lt;BR /&gt;1.sched_yeid&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Can some body point me as to what i should do next. How can i fix this ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Ravi</description>
      <pubDate>Fri, 19 Sep 2003 21:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/webserver-at-100-cpu/m-p/3075496#M809314</guid>
      <dc:creator>raviprasad2003</dc:creator>
      <dc:date>2003-09-19T21:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: webserver at 100% cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/webserver-at-100-cpu/m-p/3075497#M809315</link>
      <description>There may be errors in the web server log.&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;Check the access_log file for last access and make sure the hang coincides with the kill.&lt;BR /&gt;&lt;BR /&gt;If java was called by the httpd server it makes sure a kill -9 would nail the web server as the parent.&lt;BR /&gt;&lt;BR /&gt;I know this seems basic, but did you install all of the required OS patches prior to installing java (&lt;A href="http://www.hp.com/go.java)." target="_blank"&gt;http://www.hp.com/go.java).&lt;/A&gt;  Its really important.&lt;BR /&gt;&lt;BR /&gt;There is a recent OS patch on the site and a new release of java is due shortly.&lt;BR /&gt;&lt;BR /&gt;You might want to check that patch and see if it relates to this issue.&lt;BR /&gt;&lt;BR /&gt;Note: itrc forums are going down at 8:00 p.m. Eastern until approximately 8:00 p.m. Sunday night.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 19 Sep 2003 21:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/webserver-at-100-cpu/m-p/3075497#M809315</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-19T21:51:53Z</dc:date>
    </item>
  </channel>
</rss>

