<?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 Process locking in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646759#M45044</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have two servers (K and D), running same application (JAVA). When the application runs on K class server, it is locking all other user processes and the application runs faster. But in D class, everything looks fine even though the application run slower. The Kernel parameters are the same, the top and sar outputs confirms that K class has more free resources !&lt;BR /&gt;&lt;BR /&gt;Any idea what is happening?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Shiju</description>
    <pubDate>Wed, 16 Jan 2002 21:22:06 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-01-16T21:22:06Z</dc:date>
    <item>
      <title>Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646759#M45044</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have two servers (K and D), running same application (JAVA). When the application runs on K class server, it is locking all other user processes and the application runs faster. But in D class, everything looks fine even though the application run slower. The Kernel parameters are the same, the top and sar outputs confirms that K class has more free resources !&lt;BR /&gt;&lt;BR /&gt;Any idea what is happening?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Shiju</description>
      <pubDate>Wed, 16 Jan 2002 21:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646759#M45044</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-16T21:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646760#M45045</link>
      <description>Is the RAM and virtual memory same on both K and D class ?</description>
      <pubDate>Wed, 16 Jan 2002 22:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646760#M45045</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2002-01-16T22:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646761#M45046</link>
      <description>There is just not enough data here to make any intelligent response.&lt;BR /&gt;&lt;BR /&gt;1) Are the two boxes running the same versions of HP-UX and at the same patch level?&lt;BR /&gt;&lt;BR /&gt;2) Are the Java versions/patches the same?&lt;BR /&gt;&lt;BR /&gt;3) Are there other applications running on the K-box that are not running on the D-box?&lt;BR /&gt;&lt;BR /&gt;4) Have you at least narrowed down the bottleneck? I/O, memory, CPU&lt;BR /&gt;&lt;BR /&gt;5) Have you adjusted the priorities of any processes? You might try renicing the Java processes.&lt;BR /&gt;&lt;BR /&gt;6) I would also compare the timeslice values on the two boxes.&lt;BR /&gt;&lt;BR /&gt;7) Have you compared the run queues on both boxes using sar -q?&lt;BR /&gt;&lt;BR /&gt;You probably need to install the Trial Version of Glance on your K-box; that will help you find the problem.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 17 Jan 2002 00:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646761#M45046</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-17T00:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646762#M45047</link>
      <description>Hi Shiju,&lt;BR /&gt;&lt;BR /&gt;I've just gone through this myself.  This was caused by a HotSpot issue.  I'm assuming you're on HPUX 11.00 K Class multi processor mixed thread mode.  The symptom is that the java process will take all CPU time and not release for other until it finishes.&lt;BR /&gt;&lt;BR /&gt;As root, do "java -version"&lt;BR /&gt;Make sure on the k-class you're at least running java version "1.3.1.00-release&lt;BR /&gt;&lt;BR /&gt;Example:  Ours is ksh$ java -version&lt;BR /&gt;java version "1.3.1.00-release"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.00-release-010719-&lt;BR /&gt;23:15-PA_RISC1.1)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.00-release-010720-01:51-PA_RISC2.0&lt;BR /&gt; PA2.0, mixed mode)&lt;BR /&gt;&lt;BR /&gt;Then you need to install a minimum battery of patches (listed below), tune the kernel using &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1602,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1602,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Java Specific Patch List (as of 10/01 for HP 9000 KClass)&lt;BR /&gt;Patch bundle 9905 atexit shared library mutex&lt;BR /&gt;   REQUIRED to support NFS over TCP/IP. Make sure it is&lt;BR /&gt;installed BEFORE you install PHNE_20344 and&lt;BR /&gt;PHNE_20371&lt;BR /&gt;PHCO_17556  fsck_vxfs(1M) Cumulative Patch&lt;BR /&gt;PHCO_17792  (Dependency for PHKL_18543) &lt;BR /&gt;PHCO_18229  libc cumulative header file patch&lt;BR /&gt;PHCO_19491  (Superceded by PHCO_27330 01April2001)&lt;BR /&gt;PHCO_19666  HP Java 1.3&lt;BR /&gt;PHCO_22269 (Dependency for PHKL_18543)&lt;BR /&gt;   (Recalled by HP-Use PHCO_21845)&lt;BR /&gt;PHCO_23770 HP Java 1.3&lt;BR /&gt;PHCO_23561 (Dependency for PHKL_18543)&lt;BR /&gt;PHKL_14750  Fix pthread_cond_timedwait(3T) error&lt;BR /&gt;PHKL_17038  (Dependency for PHKL_18543)&lt;BR /&gt;PHKL_18543  HP Java 1.3&lt;BR /&gt;PHKL_19800  (Dependency for PHKL_18543) &lt;BR /&gt;PHKL_20016  (Dependency for PHKL_18543)&lt;BR /&gt;PHKL_20202  Fix pthread error return, nfs/tcp panic&lt;BR /&gt;PHKL_20079  (Dependency for PHKL_18543)&lt;BR /&gt;   (Superceded by PHKL_24027 10May2001)&lt;BR /&gt;PHKL_21392  (VxFS performance, hang, icache DPFs)&lt;BR /&gt;PHKL_22145  signal, threads, spinlock, scheduler, IDS fix&lt;BR /&gt;PHKL_22266  s700_800 11.00 LVM Cumulative patch&lt;BR /&gt;PHKL_22432  (Dependency for PHKL_18543)&lt;BR /&gt;   (Superceded by 24027)&lt;BR /&gt;PHKL_22562  &lt;BR /&gt;PHKL_22589  (Dependency for PHKL_18543)&lt;BR /&gt;PHKL_23002  HP Java 1.3&lt;BR /&gt;PHKL_23406  (Dependency for PHKL_18543)&lt;BR /&gt;PHKL_24027  VxFS memory mapped truncating&lt;BR /&gt;PHKL_24116  probe,sysproc,PM,VM,PA-8700 cumulative patch&lt;BR /&gt;PHNE_19616  (Dependency for PHSS_19748) &lt;BR /&gt;(Superceded by PHNE_22086 15Sep2000)&lt;BR /&gt;PHNE_22086 (Dependency for PHSS_23517)&lt;BR /&gt;PHNE_20316 Cumulative STREAMS Patch&lt;BR /&gt;PHSS_14582 (Superceded by PHSS_16931 26Jan1999)&lt;BR /&gt;PHSS_15853 (Superceded by PHSS_22614 07Mar2001)&lt;BR /&gt;PHSS_16849  LIBCL patch&lt;BR /&gt;PHSS_17535  HP Java 1.3 AWT&lt;BR /&gt;PHSS_18066  C Preprocessor cumulative&lt;BR /&gt;PHSS_18110 (Superceded by PHSS_22809 09Mar2001)&lt;BR /&gt;PHSS_18430 (Dependency for PHSS_19748) &lt;BR /&gt;PHSS_18649  Assembler patch&lt;BR /&gt;PHSS_19178 (Superceded by PHSS_22217 21Aug2000)&lt;BR /&gt;PHSS_19593 (Superceded by PHSS_23823 17Apr2001)&lt;BR /&gt;PHSS_19178 s700_800 11.00 +O4/PBO compiler cumulative patch&lt;BR /&gt;PHSS_19748   (Superceded by PHSS_23797 03May2001)&lt;BR /&gt;PHSS_19866  (Superceded by PHSS_22514 27Feb2001)&lt;BR /&gt;PHSS_20544 (Superceded by PHSS_21046 29Mar2000)&lt;BR /&gt;PHSS_20863 (Dependency for PHSS_23517)&lt;BR /&gt;PHSS_21947 11.00 ld(1), dld.sl(5), and linker tools cumulative patch&lt;BR /&gt;PHSS_22614 HP Java 1.3 AWT&lt;BR /&gt;PHSS_22946 HP Java 1.3 AWT&lt;BR /&gt;   (Dependency for PHSS_23517)&lt;BR /&gt;   (Superceded by 23823 03MAY2001)&lt;BR /&gt;PHSS_22543 HP-UX SDK for the JavaTM 2 Platform applications and applets using GUIs&lt;BR /&gt;PHSS_23517 HP Java 1.3 AWT&lt;BR /&gt;   (Superceded by PHSS_23797 03MAY2001)&lt;BR /&gt;&lt;BR /&gt;-Dan Carter&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jan 2002 01:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646762#M45047</guid>
      <dc:creator>Dan Carter_1</dc:creator>
      <dc:date>2002-01-17T01:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646763#M45048</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Iyer: RAM and VM are more on K class. &lt;BR /&gt;&lt;BR /&gt;Clay: Thanks for the response. Here are the answers for your questions,&lt;BR /&gt;&lt;BR /&gt;1)K class is running on 10.20, D class with 11.0 (32 bit version). This is the only major difference with the systems.&lt;BR /&gt;2)The Java versions are:&lt;BR /&gt;K class - C.01.18.00&lt;BR /&gt;D class - C.01.18.01&lt;BR /&gt;Tha patches are up to date in both machines.&lt;BR /&gt;3) All the applications running on K box is same as D. One difference is K using a Netscape and D with iplanet.&lt;BR /&gt;4)Yes, I checked CPU, memeory and I/O. In D, these resources usage is very high (95% used). But in K box, i could see almost all resources are free ! Also K has 2 CPUs&lt;BR /&gt;5)I have not adjusted priorities of any process. Infact I was trying to do that but it is not possible, because the same process will be running by many users at the same time. &lt;BR /&gt;6)The timeslice value is same (10)&lt;BR /&gt;7)The run queues are almost same through SAM.&lt;BR /&gt;8) I have glance running on both and didn't help me with any more details.&lt;BR /&gt;&lt;BR /&gt;Waiting for your reply ..thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dan: I am looking at the patches you are listed now, and will come back with details. Please note that your version and my java version are different. Does that make any changes ? Thanks for the link ..&lt;BR /&gt;&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jan 2002 15:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646763#M45048</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-17T15:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646764#M45049</link>
      <description>Yes, although the patch dependencies begin with the same base, they do branch off to specific platforms, 32 v/s 64 bit processing and 10.x and 11.x dependencies.  You have to be be very careful and maticulous about each of those, and then following the new patches that superceede the older patches.&lt;BR /&gt;&lt;BR /&gt;-Dan</description>
      <pubDate>Sat, 02 Feb 2002 12:58:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646764#M45049</guid>
      <dc:creator>Dan Carter_1</dc:creator>
      <dc:date>2002-02-02T12:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646765#M45050</link>
      <description>Did you ever solve this? I wanted to point out that there can be major differences in the threading models used on 10.2 and 11.0. That may be the reason for very different behaviour on the systems. &lt;BR /&gt;&lt;BR /&gt;I haven't run the 10.x systems for some years now, but I recall they used a totally different threading model in the JRE. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Tue, 19 Mar 2002 18:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646765#M45050</guid>
      <dc:creator>Carl Erhorn</dc:creator>
      <dc:date>2002-03-19T18:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646766#M45051</link>
      <description>Hi Carl,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;No. The problem still exists. Unfortunately, this issue got a lower priority, as I was  bound with some other issues and some application testing/upgrade was going on these systems. I checked all other possibilities except the OS upgrade and failed.&lt;BR /&gt;&lt;BR /&gt;I will be doing the OS upgrade ( cold install 11.x) soon and let you know if that helps !&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 19 Mar 2002 18:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646766#M45051</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-03-19T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646767#M45052</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I know it is too late, but thought of updating. This problem is resolved now, after the OS update ( from 10.20 to 11.0 ). Thanks to Clay, Dan and Carl.&lt;BR /&gt;&lt;BR /&gt;Thanks for all your advices !&lt;BR /&gt;&lt;BR /&gt;Shiju</description>
      <pubDate>Mon, 22 Apr 2002 14:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646767#M45052</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-22T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Process locking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646768#M45053</link>
      <description>No problem,  Glad to help.&lt;BR /&gt;RIght now I'm looking at the 1.3.1.05 release and finding out somje interesting things about that right now.  Be careful on heap size assignments if you upgrade...-&lt;BR /&gt;Check out the release notes...&lt;BR /&gt;Dan</description>
      <pubDate>Mon, 13 May 2002 05:45:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-locking/m-p/2646768#M45053</guid>
      <dc:creator>Dan Carter_1</dc:creator>
      <dc:date>2002-05-13T05:45:57Z</dc:date>
    </item>
  </channel>
</rss>

