Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: jdbc performance in Solaris
Joe Smith wrote:
> > What JDK version are you using? What I have on my mind is Metalink
> > Note:189258.1. It may not be relevant though. Show us the output of
> > these commands:
> >
>
> java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>
>
> > uname -a
>
> SunOS HOSTNAME 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-V210
>
>
> > pmap -x <one java process ID>
...
>
>
> > ls -lLi /usr/lib/libthread.so*
>
> 485332 -rwxr-xr-x 1 root bin 183496 Dec 10 2003
> /usr/lib/libthread.so
> 485332 -rwxr-xr-x 1 root bin 183496 Dec 10 2003
> /usr/lib/libthread.so.1
>
> > ls -lLi /usr/lib/lwp/libthread.so*
>
> 349651 -rwxr-xr-x 1 root bin 148448 Dec 10 2003
> /usr/lib/lwp/libthread.so
> 349651 -rwxr-xr-x 1 root bin 148448 Dec 10 2003
> /usr/lib/lwp/libthread.so.1
...
> Problems with the thread model, perhaps?
I apologize for suggesting the pmap command. Please run this instead:
pldd <a java process> | grep thread
I want to see if /usr/lib/lwp/libthread.so.1 or /usr/lib/libthread.so.1 is used by this process. Suspicion of a faulty threading model is a guess, possibly a totally wrong one.
Whatever solution you eventually find out, please post back here. Thanks.
Yong Huang Received on Fri Jan 14 2005 - 16:35:23 CST