[HPADM] Performance problems

From: Unternaehrer Stefano (stefano.unternaehrer_at_ti.ch)
Date: 10/09/03

  • Next message: Stocker, Nick: "[HPADM] HP D390 Server and V20 problem"
    To: HP-UX Admin <hpux-admin@dutchworks.nl>
    Date: Thu, 9 Oct 2003 16:27:52 +0200 
    
    

    Hi all.
    Our webserver still suffers with performances.
    This A500 server is running HP-UX 11.00 with a
    webserver using TomCat3 (JSP - Java Servlets),
    JVM 1.1, reading on a remote Oracle database.
    I've installed all recent patches, and changed
    some kernel parameters:

     dbc_max_pct 8
     dbc_min_pct 8
     max_thread_proc 256
     maxuprt 300
     nproc 1620

    I see following CPU state with top:

     LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
     1.99 71.6% 0.0% 28.4% 0.0% 0.0% 0.0% 0.0% 0.0%

    and with glance following memory usage
    (current / avg / high):

     Mem Util ........ 100% 100% 100%
     Swap Util ........ 50% 50% 50%

    In the glance process list I can see java with a value
    of 735MB (!!) on column RSS. RAM used by the JVM?
    Also the shell prompt reaction is slow!

    The command /usr/contrib/Q4/bin/kmeminfo.11.00
    give me following output:

    Physmem = 262144 Available physical memory:
     Freemem = 332 Free physical memory
     Used = 261812 Used physical memory:
      System = 48904 by kernel:
       Static = 10701 for text and static data
       Dynamic = 17232 for dynamic data
       Bufcache = 20971 for file-system buffer cache
      User = 212005 by user processes
       Uarea = 2869 for thread uareas
      Disowned = 512 disowned pages

    I suppose we have to add memory (2GB now), but better
    we have to find where memory is bad used. In java code,
    we never set a java object to null (in our jsp source)
    after usage. This could help garbage collector to know
    that this object can be lost and free memory before to
    end the execution of the servlet... But really don't
    know if this could be the cause of our problems..

    Any opinion?

    Best regards,
    Stefano Unternaehrer

    ---
    Stefano Unternaehrer
    SysAdmin/WebMaster Sbt
    Sistema bibliotecario ticinese
    www.sbt.ti.ch - 091 814 15 13
    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Stocker, Nick: "[HPADM] HP D390 Server and V20 problem"

    Relevant Pages

    • Re: Dusting off an old JVM discussion
      ... I was wondering how difficult it would be to write a JVM in Forth, ... Upon looking at those "opcode" instructions, ... and I think today's PDA's might have more memory ... I imagine those applications written in Java, ...
      (comp.lang.forth)
    • Re: [SLE] empty the swap partition? slow internet
      ... >> My guess is that those pages are using java, and java needs a lot of ... >> memory for old computers is prohibitive. ... The default JVM heap limit won't do that on any system that's not ... > John, which browser and which JVM release are you using? ...
      (SuSE)
    • Re: forth and virtual memory
      ... too, maybe even the same order, so ordering the blocks by allocation ... on systems with too little memory ... What Java is known for, and what it actually does, are two distinct ... My measurements indicate that some of the benchmarks (from SpecJVM98, ...
      (comp.lang.forth)
    • Re: Apache Axis C++ on the iSeries???
      ... but Java has only got faster since then. ... A Java-compatible JVM is integrated ... on your point of view) because a JIT compiler (used by ... the GarbageCollector reclaims memory no longer in use automatically. ...
      (comp.sys.ibm.as400.misc)
    • Re: What is the fastest method of parsing scheme?
      ... These issues can be eliminated by the use of custom memory allocators ... Any other ideas why Scheme would be faster than C++ and Java for heap ... For example, in my compiler, the procedure ) ...
      (comp.lang.scheme)