[HPADM] Performance problems

From: Unternaehrer Stefano (stefano.unternaehrer@ti.ch)
Date: Thu Oct 09 2003 - 10:27:52 EDT


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)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:35 EDT