RE: Orin cpu usage ???

2001-05-30 Thread Koster, K.J.


 Doesn't anyone knows how to execute
 java -classic .. on a Linux box ??

Manually edit $JAVA_HOME/jre/lib/jvm.cfg (path may be different, but it's
definedly jvm.cfg. Move -classic from the bottom of the file to the top.

Kees Jan


 You are only young once,
   but you can stay immature all your life.




Re: Orin cpu usage ??? - HANGS - please some help!!

2001-05-23 Thread Eddie

Thanks Mark,

However I don't understand why I should put `which java` in my path, as
which search the $PATH, and it's already there:
--
[root@ojo bin]# which java
/usr/local/java/bin/java
[root@ojo bin]# echo $PATH
/usr/local/qt/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sb
in:/usr/bin/X11:/usr/bin:/usr/X11R6/bin:/opt/interbase/bin:/usr/local/java/b
in:/home/root/bin
--

If I use the posted wrapper I do get:
---
[root@ojo Orion]# /usr/local/java/bin/java -classic ./orion.jar
bash: /usr/local/java/bin/java: No such file or directory
---

If I use the orginal one, where by I didt set ttype=native_thread, I do get:

[root@ojo Orion]# /usr/local/jdk1.3/bin/java -classic -jar ./orion.jar
JVM Classic type
Warning: JIT compiler /usr/local/java/bin/javac not found. Will use
interpreter.
Orion/1.4.7 initialized


Any idea how to solve this ?
Whay did you do on your linux box after installation of the 1.3.1 version of
java ? (I am sitting on a RedHat 7.0 box).

Hope you have some idea's,
Eddie


Eddie

- Original Message -
From: Mark Kettner [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 3:04 PM
Subject: Re: Orin cpu usage ??? - HANGS - please some help!!


 Hi Eddie,

 Eddie wrote:

  Thanks,
 
  If I replace it with the original wrapper, I get:
  --
  [orion@ojo Orion]# java -classic -jar ./orion.jar
  bash: /usr/local/java/bin/java: No such file or directory
  --

 No need to download java 1.3.1. The message above means that the shell
 can't find your java.
 It is not located in /usr/local/java/bin
 Do a `which java' and the system will tell you where your java is located.
 Add this directory to your path (without the last java).

 
  However I just noticed that I am running 1.3.0, whereas someone else in
the
  newsgroup got it working with 1.3.1 (I suppose on a Linux machine), so I
am

 yep, that's me, and indead I'm running linux (redhat 7.0)

 
  now downloading 1.3.1. I hope this works.
  Only the downloading doesn't goes that fast ;(
 
  Eddie

 Mark







Re: Orin cpu usage ???

2001-05-22 Thread Mark Kettner


Eddie wrote:
[EMAIL PROTECTED]">Thanks peter,The javac is indeed linked to .java_wrapper, but to me it's not clear what Ishould change such that it works in classic mode. Neither do I find anythingabout that in the man pages. Doesn't anyone knows how to executejava -classic .. on a Linux box ??
  
yep.
  
java -classic -jar orion.jar
  
works fine for me. I'm using sun's java version 1.3.1.
  
  [EMAIL PROTECTED]">Eddie- Original Message -From: cybermaster [EMAIL PROTECTED]To: Orion-Interest [EMAIL PROTECTED]Sent: Friday, May 18, 2001 3:43 PMSubject: RE: Orin cpu usage ???
I am currently sitting on a w2k box, but I remember that under Unix many
  of
  these files are links to a wrapper for either hotspot or classic JVM. Youmay have to play around and change those.--peter-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On Behalf Of EddieSent: Friday, May 18, 2001 2:27 AMTo: Orion-InterestSubject: Re: Orin cpu usage ???Thanks peter,I tried it as classic, but it doesn't work. It complains that it can't
find
the JIT, wheras it is able find it, as the below, any idea why this is (Ihaven't got much experience with running the jvm in different modes, anyidea where to find more info, as I can't find it in the man java ??) ??:---[orion@ojo Orion]# java -classic orion.jarWarning: JIT compiler "/usr/local/java/bin/javac" not found. Will useinterpreter.Exception in thread "main" java.lang.NoClassDefFoundError: orion/jar[orion@ojo Orion]# ls /usr/local/java/bin/jajar   java  javac javahjarsigner java-rmi.cgi  javadoc   javap[orion@ojo Orion]# ls /usr/local/java/bin/javac/usr/local/java/bin/javac[orion@ojo Or!
ion]#--Eddie- Original Message -From: cybermaster [EMAIL PROTECTED]To: Orion-Interest [EMAIL PROTECTED]Sent: Thursday, May 17, 2001 4:07 PMSubject: RE: Orin cpu usage ???I have seen other instances where profiling doesn't work with the
HotSpot
JVM - use the Classic, and it (may) work.--peter-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On Behalf Of EddieSent: Thursday, May 17, 2001 6:04 AMTo: Orion-InterestSubject: Re: Orin cpu usage ???Thanks Marcel,Indeed I get more information when I start with -Xprof, however when I
use
the -Xrunhprof I get the following error (the total command is alsoincluded):Funny !!!,Eddie--## HotSpot Virtual Machine Error, Internal Error# Please report this error at# http://java.sun.com/cgi-bin/bugreport.cgi## Error ID: 4D555445583F4C494E55580E4350500104## Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable#--Start command:---su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar/opt/Orion/orion.jar -config /opt/Orion/config/server.xml /opt/Orion/log/out.log 21 - Original Message -From: Marcel Schutte [EMAIL PROTECTED]To: Orion-Interest [EMAIL PROTECTED]Sent: Thursday, May 17, 2001 11:48 AMSubject: RE: Orin cpu usage ???Hi Eddie,You could try to use the JVM profiler (startup arguments -Xprofand -Xrunhprof). This is ofcourse not orion specific, but you can giveitatry. You can also try leaving out parts of your application until youfindthe bit that's causing your problem.Marcel-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On Behalf Of EddieSent: Thursday, May 17, 2001 10:11 AMTo: Orion-InterestSubject: Re: Orin cpu usage ???Can someone please answer this question !!!???The problem I am having is the Orion sometimes hangs, it usesa lot of cpuand I can't figure out why, so I need some advices on how Ican monitorthis.Please... ??Eddie- Original Message -From: Eddie [EMAIL PROTECTED]To: Orion-Interest [EMAIL PROTECTED]Sent: Wednesday, May 16, 2001 11:42 AMSubject: Orin cpu usage ???Can someone please tell me how to monitor the cpu usage ofOrion in detailper component/item/application ?When I use orionconsole I can only view the overall memoryusage of allapplication, but that's it. With "top" I see it is using alot of cputime:about 50 percent.But I want more information, how do I get that ??Eddie


-- 
--o-o--
Mark Kettner
http://www.fredhopper.com
Amsterdam, The Netherlands
Phone:  +31 20 3206203 Mobile: +31 620 609 817
fax:+31 20 8848747
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]





Re: Orin cpu usage ??? - HANGS - please some help!!

2001-05-22 Thread Eddie

Thanks,

If I replace it with the original wrapper, I get:
--
[orion@ojo Orion]# java -classic -jar ./orion.jar
bash: /usr/local/java/bin/java: No such file or directory
--

However I just noticed that I am running 1.3.0, whereas someone else in the
newsgroup got it working with 1.3.1 (I suppose on a Linux machine), so I am
now downloading 1.3.1. I hope this works.
Only the downloading doesn't goes that fast ;(

Eddie


- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 2:48 AM
Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


 I'll attach the modified version of the wrapper file - a while ago I
helped
 a collegue to set this up to get a profiler and analyzer (OptimizeIt) to
 work. So there may be some other changes in it  - hope this helps ...

 In your example, ttype=green_threads and not 'native'

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Monday, May 21, 2001 1:43 PM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

 Hi cybermaster,

 In both the wrapper files If find something like below. What shall I
change
 ??
 I suppose the _JMS_THREADS_TYPE=native.. !
 ---
 if [ ${vmtype} = classic ]; then
 ttype=green_threads
 LD_BIND_NOW=yes
 export LD_BIND_NOW
 _JVM_THREADS_TYPE=green_threads
 export _JVM_THREADS_TYPE
 fi
 ---

 But why ? and should I also change ttype ? If I only change the _JMS ..
part
 I do get the following:
 
 [orion@ojo Orion]# java -classic -jar ./orion.jar
 JVM Classic type
 Could not create the Java virtual machine.
 ---

 BTW: I haven't playes around with the max-instances yet, but I will do
that
 shorly but still don't know what the max value should be !!!

 Eddie




 if [ ${vmtype} = classic ]; then
 ttype=green_threads
 LD_BIND_NOW=yes
 export LD_BIND_NOW
 _JVM_THREADS_TYPE=green_threads
 export _JVM_THREADS_TYPE
 fi


 - Original Message -
 From: cybermaster [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, May 21, 2001 5:48 PM
 Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


  Did max-instances solve the problem? Anyway, in some applications on
  Linux/Unix you have to change
 
  #DEFAULT_THREADS_FLAG=green to:
  DEFAULT_THREADS_FLAG=native
 
  in two places relative to JAVA_HOME: ./bin/.java_wrapper and
  jre/bin/.java_wrapper.
 
  --peter
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Monday, May 21, 2001 3:12 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ??? - HANGS - please some help!!
 
  Thanks peter.. again :) I looked at it and it gives some more
information.
  But I think I also have to play around witht he max-instances to control
 the
  number of bean instances, as I notices that other people had the same
  problem and solved it like that.
 
  Eddie
 
  - Original Message -
  From: cybermaster [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Friday, May 18, 2001 3:37 PM
  Subject: RE: Orin cpu usage ??? - HANGS - please some help!!
 
 
   Use the -monitorResourceThreads flag when you start orion - (use
 java -jar
   orion.jar -help to see possible startup options)
  
   --peter
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Friday, May 18, 2001 3:52 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ??? - HANGS - please some help!!
  
   Please tell me how I can see in Orion what's going wrong!!
   - About every hour Orion still runs, but doesn't do any servlets,
 beans,
   etc... it just hangs... and I can't figure out why... not completely
  true...
   it writes:
   
   java.lang.OutOfMemoryError: max threads limit  being reached in VM
   at java.lang.Thread.start(Native Method)
   at com.evermind.util.ThreadPool.cb(JAX)
   at com.evermind.server.he.ap3(JAX)
   at com.evermind.server.http.eq.run(JAX)
   at com.evermind.util.f.run(JAX)
   -
  
   But I don't understand this as I start it with enough memory:
   --
  /opt/java/bin/java -Xms30m -Xmx190m -jar
/opt/Orion/orion.jar -config
   /opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
   --
  
   And if I take a look with the orionconole the memory usage it always
  around
   13-32 MB
   What ma I missing here.
   BTW: it's running on HP-UX 11 with jdk1.3
  
   Eddie
  
  
  
   - Original Message -
   From: cybermaster [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Thursday, May 17, 2001 4:07 PM
   Subject: RE: Orin cpu usage ???
  
  
I have seen other instances where profiling doesn't work with the
  HotSpot
JVM - use the Classic, and it (may) work.
   
--peter
   
-Original Message-
From: [EMAIL PROTECTED

Re: Orin cpu usage ???

2001-05-21 Thread Eddie

Thanks peter,

The javac is indeed linked to .java_wrapper, but to me it's not clear what I
should change such that it works in classic mode. Neither do I find anything
about that in the man pages. Doesn't anyone knows how to execute
java -classic .. on a Linux box ??

Eddie

- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 3:43 PM
Subject: RE: Orin cpu usage ???


 I am currently sitting on a w2k box, but I remember that under Unix many
of
 these files are links to a wrapper for either hotspot or classic JVM. You
 may have to play around and change those.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Friday, May 18, 2001 2:27 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???

 Thanks peter,

 I tried it as classic, but it doesn't work. It complains that it can't
find
 the JIT, wheras it is able find it, as the below, any idea why this is (I
 haven't got much experience with running the jvm in different modes, any
 idea where to find more info, as I can't find it in the man java ??) ??:
 ---
 [orion@ojo Orion]# java -classic orion.jar
 Warning: JIT compiler /usr/local/java/bin/javac not found. Will use
 interpreter.
 Exception in thread main java.lang.NoClassDefFoundError: orion/jar
 [orion@ojo Orion]# ls /usr/local/java/bin/ja
 jar   java  javac javah
 jarsigner java-rmi.cgi  javadoc   javap
 [orion@ojo Orion]# ls /usr/local/java/bin/javac
 /usr/local/java/bin/javac
 [orion@ojo Orion]#
 --

 Eddie


 - Original Message -
 From: cybermaster [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 4:07 PM
 Subject: RE: Orin cpu usage ???


  I have seen other instances where profiling doesn't work with the
HotSpot
  JVM - use the Classic, and it (may) work.
 
  --peter
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 6:04 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
  Thanks Marcel,
 
  Indeed I get more information when I start with -Xprof, however when I
use
  the -Xrunhprof I get the following error (the total command is also
  included):
 
  Funny !!!,
  Eddie
  --
  #
  # HotSpot Virtual Machine Error, Internal Error
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Error ID: 4D555445583F4C494E55580E4350500104
  #
  # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
  #
  --
  Start command:
  ---
  su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
  /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
  /opt/Orion/log/out.log 21 
  
 
 
  - Original Message -
  From: Marcel Schutte [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, May 17, 2001 11:48 AM
  Subject: RE: Orin cpu usage ???
 
 
   Hi Eddie,
  
   You could try to use the JVM profiler (startup arguments -Xprof
   and -Xrunhprof). This is ofcourse not orion specific, but you can give
 it
  a
   try. You can also try leaving out parts of your application until you
 find
   the bit that's causing your problem.
  
   Marcel
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Thursday, May 17, 2001 10:11 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???
   
   
Can someone please answer this question !!!???
The problem I am having is the Orion sometimes hangs, it uses
a lot of cpu
and I can't figure out why, so I need some advices on how I
can monitor
this.
   
Please... ??
   
Eddie
   
- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 11:42 AM
Subject: Orin cpu usage ???
   
   
 Can someone please tell me how to monitor the cpu usage of
Orion in detail
 per component/item/application ?

 When I use orionconsole I can only view the overall memory
usage of all
 application, but that's it. With top I see it is using a
lot of cpu
time:
 about 50 percent.
 But I want more information, how do I get that ??

 Eddie



   
  
  
  
 
 
 







Re: Orin cpu usage ??? - HANGS - please some help!!

2001-05-21 Thread Eddie

Thanks peter.. again :) I looked at it and it gives some more information.
But I think I also have to play around witht he max-instances to control the
number of bean instances, as I notices that other people had the same
problem and solved it like that.

Eddie

- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 3:37 PM
Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


 Use the -monitorResourceThreads flag when you start orion - (use java -jar
 orion.jar -help to see possible startup options)

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Friday, May 18, 2001 3:52 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

 Please tell me how I can see in Orion what's going wrong!!
 - About every hour Orion still runs, but doesn't do any servlets, beans,
 etc... it just hangs... and I can't figure out why... not completely
true...
 it writes:
 
 java.lang.OutOfMemoryError: max threads limit  being reached in VM
 at java.lang.Thread.start(Native Method)
 at com.evermind.util.ThreadPool.cb(JAX)
 at com.evermind.server.he.ap3(JAX)
 at com.evermind.server.http.eq.run(JAX)
 at com.evermind.util.f.run(JAX)
 -

 But I don't understand this as I start it with enough memory:
 --
/opt/java/bin/java -Xms30m -Xmx190m -jar /opt/Orion/orion.jar -config
 /opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
 --

 And if I take a look with the orionconole the memory usage it always
around
 13-32 MB
 What ma I missing here.
 BTW: it's running on HP-UX 11 with jdk1.3

 Eddie



 - Original Message -
 From: cybermaster [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 4:07 PM
 Subject: RE: Orin cpu usage ???


  I have seen other instances where profiling doesn't work with the
HotSpot
  JVM - use the Classic, and it (may) work.
 
  --peter
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 6:04 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
  Thanks Marcel,
 
  Indeed I get more information when I start with -Xprof, however when I
use
  the -Xrunhprof I get the following error (the total command is also
  included):
 
  Funny !!!,
  Eddie
  --
  #
  # HotSpot Virtual Machine Error, Internal Error
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Error ID: 4D555445583F4C494E55580E4350500104
  #
  # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
  #
  --
  Start command:
  ---
  su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
  /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
  /opt/Orion/log/out.log 21 
  
 
 
  - Original Message -
  From: Marcel Schutte [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, May 17, 2001 11:48 AM
  Subject: RE: Orin cpu usage ???
 
 
   Hi Eddie,
  
   You could try to use the JVM profiler (startup arguments -Xprof
   and -Xrunhprof). This is ofcourse not orion specific, but you can give
 it
  a
   try. You can also try leaving out parts of your application until you
 find
   the bit that's causing your problem.
  
   Marcel
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Thursday, May 17, 2001 10:11 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???
   
   
Can someone please answer this question !!!???
The problem I am having is the Orion sometimes hangs, it uses
a lot of cpu
and I can't figure out why, so I need some advices on how I
can monitor
this.
   
Please... ??
   
Eddie
   
- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 11:42 AM
Subject: Orin cpu usage ???
   
   
 Can someone please tell me how to monitor the cpu usage of
Orion in detail
 per component/item/application ?

 When I use orionconsole I can only view the overall memory
usage of all
 application, but that's it. With top I see it is using a
lot of cpu
time:
 about 50 percent.
 But I want more information, how do I get that ??

 Eddie



   
  
  
  
 
 
 







Re: Orin cpu usage ???

2001-05-21 Thread Lachezar Dobrev

 Thanks peter,

 The javac is indeed linked to .java_wrapper, but to me it's not clear what
I
 should change such that it works in classic mode. Neither do I find
anything
 about that in the man pages. Doesn't anyone knows how to execute
 java -classic .. on a Linux box ??

 Eddie

   Not quite sure, but the JBuilder docs say:
   For Windows only: you can use the classic JVM... blah blah.
   I really don't think there is a classic JVM for nonWindows OS :( Damn.


   Lachezar






Re: Orin cpu usage ???

2001-05-21 Thread Eddie

Thanks travis, I will play around with that.

Eddie


- Original Message -
From: tlk [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 21, 2001 3:46 PM
Subject: Re: Orin cpu usage ???


 Hi Eddie,

 You may want to try profiling with -nojit specified.
 Remot debuging could help in finding the bottel neck where Orion seems
 to hang.

 Travis



 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, May 21, 2001 6:09 AM
 Subject: Re: Orin cpu usage ???


  Thanks peter,
 
  The javac is indeed linked to .java_wrapper, but to me it's not clear
what
 I
  should change such that it works in classic mode. Neither do I find
 anything
  about that in the man pages. Doesn't anyone knows how to execute
  java -classic .. on a Linux box ??
 
  Eddie
 
  - Original Message -
  From: cybermaster [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Friday, May 18, 2001 3:43 PM
  Subject: RE: Orin cpu usage ???
 
 
   I am currently sitting on a w2k box, but I remember that under Unix
many
  of
   these files are links to a wrapper for either hotspot or classic JVM.
 You
   may have to play around and change those.
  
   --peter
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Friday, May 18, 2001 2:27 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
   Thanks peter,
  
   I tried it as classic, but it doesn't work. It complains that it can't
  find
   the JIT, wheras it is able find it, as the below, any idea why this is
 (I
   haven't got much experience with running the jvm in different modes,
any
   idea where to find more info, as I can't find it in the man java ??)
??:
   ---
   [orion@ojo Orion]# java -classic orion.jar
   Warning: JIT compiler /usr/local/java/bin/javac not found. Will use
   interpreter.
   Exception in thread main java.lang.NoClassDefFoundError: orion/jar
   [orion@ojo Orion]# ls /usr/local/java/bin/ja
   jar   java  javac javah
   jarsigner java-rmi.cgi  javadoc   javap
   [orion@ojo Orion]# ls /usr/local/java/bin/javac
   /usr/local/java/bin/javac
   [orion@ojo Orion]#
   --
  
   Eddie
  
  
   - Original Message -
   From: cybermaster [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Thursday, May 17, 2001 4:07 PM
   Subject: RE: Orin cpu usage ???
  
  
I have seen other instances where profiling doesn't work with the
  HotSpot
JVM - use the Classic, and it (may) work.
   
--peter
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Thursday, May 17, 2001 6:04 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???
   
Thanks Marcel,
   
Indeed I get more information when I start with -Xprof, however when
I
  use
the -Xrunhprof I get the following error (the total command is also
included):
   
Funny !!!,
Eddie
--
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4D555445583F4C494E55580E4350500104
#
# Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
#
--
Start command:
---
su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
/opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
/opt/Orion/log/out.log 21 

   
   
- Original Message -
From: Marcel Schutte [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 11:48 AM
Subject: RE: Orin cpu usage ???
   
   
 Hi Eddie,

 You could try to use the JVM profiler (startup arguments -Xprof
 and -Xrunhprof). This is ofcourse not orion specific, but you can
 give
   it
a
 try. You can also try leaving out parts of your application until
 you
   find
 the bit that's causing your problem.

 Marcel

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 10:11 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
 
  Can someone please answer this question !!!???
  The problem I am having is the Orion sometimes hangs, it uses
  a lot of cpu
  and I can't figure out why, so I need some advices on how I
  can monitor
  this.
 
  Please... ??
 
  Eddie
 
  - Original Message -
  From: Eddie [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2001 11:42 AM
  Subject: Orin cpu usage ???
 
 
   Can someone please tell me how to monitor the cpu usage of
  Orion in detail
   per component/item/application ?
  
   When I use orionconsole I can only view

RE: Orin cpu usage ??? - HANGS - please some help!!

2001-05-21 Thread cybermaster

Did max-instances solve the problem? Anyway, in some applications on
Linux/Unix you have to change

#DEFAULT_THREADS_FLAG=green to:
DEFAULT_THREADS_FLAG=native

in two places relative to JAVA_HOME: ./bin/.java_wrapper and
jre/bin/.java_wrapper.

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Monday, May 21, 2001 3:12 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

Thanks peter.. again :) I looked at it and it gives some more information.
But I think I also have to play around witht he max-instances to control the
number of bean instances, as I notices that other people had the same
problem and solved it like that.

Eddie

- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 3:37 PM
Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


 Use the -monitorResourceThreads flag when you start orion - (use java -jar
 orion.jar -help to see possible startup options)

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Friday, May 18, 2001 3:52 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

 Please tell me how I can see in Orion what's going wrong!!
 - About every hour Orion still runs, but doesn't do any servlets, beans,
 etc... it just hangs... and I can't figure out why... not completely
true...
 it writes:
 
 java.lang.OutOfMemoryError: max threads limit  being reached in VM
 at java.lang.Thread.start(Native Method)
 at com.evermind.util.ThreadPool.cb(JAX)
 at com.evermind.server.he.ap3(JAX)
 at com.evermind.server.http.eq.run(JAX)
 at com.evermind.util.f.run(JAX)
 -

 But I don't understand this as I start it with enough memory:
 --
/opt/java/bin/java -Xms30m -Xmx190m -jar /opt/Orion/orion.jar -config
 /opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
 --

 And if I take a look with the orionconole the memory usage it always
around
 13-32 MB
 What ma I missing here.
 BTW: it's running on HP-UX 11 with jdk1.3

 Eddie



 - Original Message -
 From: cybermaster [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 4:07 PM
 Subject: RE: Orin cpu usage ???


  I have seen other instances where profiling doesn't work with the
HotSpot
  JVM - use the Classic, and it (may) work.
 
  --peter
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 6:04 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
  Thanks Marcel,
 
  Indeed I get more information when I start with -Xprof, however when I
use
  the -Xrunhprof I get the following error (the total command is also
  included):
 
  Funny !!!,
  Eddie
  --
  #
  # HotSpot Virtual Machine Error, Internal Error
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Error ID: 4D555445583F4C494E55580E4350500104
  #
  # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
  #
  --
  Start command:
  ---
  su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
  /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
  /opt/Orion/log/out.log 21 
  
 
 
  - Original Message -
  From: Marcel Schutte [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, May 17, 2001 11:48 AM
  Subject: RE: Orin cpu usage ???
 
 
   Hi Eddie,
  
   You could try to use the JVM profiler (startup arguments -Xprof
   and -Xrunhprof). This is ofcourse not orion specific, but you can give
 it
  a
   try. You can also try leaving out parts of your application until you
 find
   the bit that's causing your problem.
  
   Marcel
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Thursday, May 17, 2001 10:11 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???
   
   
Can someone please answer this question !!!???
The problem I am having is the Orion sometimes hangs, it uses
a lot of cpu
and I can't figure out why, so I need some advices on how I
can monitor
this.
   
Please... ??
   
Eddie
   
- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 11:42 AM
Subject: Orin cpu usage ???
   
   
 Can someone please tell me how to monitor the cpu usage of
Orion in detail
 per component/item/application ?

 When I use orionconsole I can only view the overall memory
usage of all
 application, but that's it. With top I see it is using a
lot of cpu
time:
 about 50 percent.
 But I want more information, how do I get that ??

 Eddie



   
  
  
  
 
 
 








RE: Orin cpu usage ??? - HANGS - please some help!!

2001-05-21 Thread cybermaster

I'll attach the modified version of the wrapper file - a while ago I helped
a collegue to set this up to get a profiler and analyzer (OptimizeIt) to
work. So there may be some other changes in it  - hope this helps ...

In your example, ttype=green_threads and not 'native'

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Monday, May 21, 2001 1:43 PM
To: Orion-Interest
Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

Hi cybermaster,

In both the wrapper files If find something like below. What shall I change
??
I suppose the _JMS_THREADS_TYPE=native.. !
---
if [ ${vmtype} = classic ]; then
ttype=green_threads
LD_BIND_NOW=yes
export LD_BIND_NOW
_JVM_THREADS_TYPE=green_threads
export _JVM_THREADS_TYPE
fi
---

But why ? and should I also change ttype ? If I only change the _JMS .. part
I do get the following:

[orion@ojo Orion]# java -classic -jar ./orion.jar
JVM Classic type
Could not create the Java virtual machine.
---

BTW: I haven't playes around with the max-instances yet, but I will do that
shorly but still don't know what the max value should be !!!

Eddie




if [ ${vmtype} = classic ]; then
ttype=green_threads
LD_BIND_NOW=yes
export LD_BIND_NOW
_JVM_THREADS_TYPE=green_threads
export _JVM_THREADS_TYPE
fi


- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 21, 2001 5:48 PM
Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


 Did max-instances solve the problem? Anyway, in some applications on
 Linux/Unix you have to change

 #DEFAULT_THREADS_FLAG=green to:
 DEFAULT_THREADS_FLAG=native

 in two places relative to JAVA_HOME: ./bin/.java_wrapper and
 jre/bin/.java_wrapper.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Monday, May 21, 2001 3:12 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

 Thanks peter.. again :) I looked at it and it gives some more information.
 But I think I also have to play around witht he max-instances to control
the
 number of bean instances, as I notices that other people had the same
 problem and solved it like that.

 Eddie

 - Original Message -
 From: cybermaster [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Friday, May 18, 2001 3:37 PM
 Subject: RE: Orin cpu usage ??? - HANGS - please some help!!


  Use the -monitorResourceThreads flag when you start orion - (use
java -jar
  orion.jar -help to see possible startup options)
 
  --peter
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Friday, May 18, 2001 3:52 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ??? - HANGS - please some help!!
 
  Please tell me how I can see in Orion what's going wrong!!
  - About every hour Orion still runs, but doesn't do any servlets,
beans,
  etc... it just hangs... and I can't figure out why... not completely
 true...
  it writes:
  
  java.lang.OutOfMemoryError: max threads limit  being reached in VM
  at java.lang.Thread.start(Native Method)
  at com.evermind.util.ThreadPool.cb(JAX)
  at com.evermind.server.he.ap3(JAX)
  at com.evermind.server.http.eq.run(JAX)
  at com.evermind.util.f.run(JAX)
  -
 
  But I don't understand this as I start it with enough memory:
  --
 /opt/java/bin/java -Xms30m -Xmx190m -jar /opt/Orion/orion.jar -config
  /opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
  --
 
  And if I take a look with the orionconole the memory usage it always
 around
  13-32 MB
  What ma I missing here.
  BTW: it's running on HP-UX 11 with jdk1.3
 
  Eddie
 
 
 
  - Original Message -
  From: cybermaster [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, May 17, 2001 4:07 PM
  Subject: RE: Orin cpu usage ???
 
 
   I have seen other instances where profiling doesn't work with the
 HotSpot
   JVM - use the Classic, and it (may) work.
  
   --peter
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Thursday, May 17, 2001 6:04 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
   Thanks Marcel,
  
   Indeed I get more information when I start with -Xprof, however when I
 use
   the -Xrunhprof I get the following error (the total command is also
   included):
  
   Funny !!!,
   Eddie
   --
   #
   # HotSpot Virtual Machine Error, Internal Error
   # Please report this error at
   # http://java.sun.com/cgi-bin/bugreport.cgi
   #
   # Error ID: 4D555445583F4C494E55580E4350500104
   #
   # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
   #
   --
   Start command:
   ---
   su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
   /opt/Orion

Re: Orin cpu usage ???

2001-05-18 Thread Eddie

Thanks peter,

I tried it as classic, but it doesn't work. It complains that it can't find
the JIT, wheras it is able find it, as the below, any idea why this is (I
haven't got much experience with running the jvm in different modes, any
idea where to find more info, as I can't find it in the man java ??) ??:
---
[orion@ojo Orion]# java -classic orion.jar
Warning: JIT compiler /usr/local/java/bin/javac not found. Will use
interpreter.
Exception in thread main java.lang.NoClassDefFoundError: orion/jar
[orion@ojo Orion]# ls /usr/local/java/bin/ja
jar   java  javac javah
jarsigner java-rmi.cgi  javadoc   javap
[orion@ojo Orion]# ls /usr/local/java/bin/javac
/usr/local/java/bin/javac
[orion@ojo Orion]#
--

Eddie


- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 4:07 PM
Subject: RE: Orin cpu usage ???


 I have seen other instances where profiling doesn't work with the HotSpot
 JVM - use the Classic, and it (may) work.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Thursday, May 17, 2001 6:04 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???

 Thanks Marcel,

 Indeed I get more information when I start with -Xprof, however when I use
 the -Xrunhprof I get the following error (the total command is also
 included):

 Funny !!!,
 Eddie
 --
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 4D555445583F4C494E55580E4350500104
 #
 # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
 #
 --
 Start command:
 ---
 su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
 /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
 /opt/Orion/log/out.log 21 
 


 - Original Message -
 From: Marcel Schutte [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 11:48 AM
 Subject: RE: Orin cpu usage ???


  Hi Eddie,
 
  You could try to use the JVM profiler (startup arguments -Xprof
  and -Xrunhprof). This is ofcourse not orion specific, but you can give
it
 a
  try. You can also try leaving out parts of your application until you
find
  the bit that's causing your problem.
 
  Marcel
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Thursday, May 17, 2001 10:11 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
  
   Can someone please answer this question !!!???
   The problem I am having is the Orion sometimes hangs, it uses
   a lot of cpu
   and I can't figure out why, so I need some advices on how I
   can monitor
   this.
  
   Please... ??
  
   Eddie
  
   - Original Message -
   From: Eddie [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Wednesday, May 16, 2001 11:42 AM
   Subject: Orin cpu usage ???
  
  
Can someone please tell me how to monitor the cpu usage of
   Orion in detail
per component/item/application ?
   
When I use orionconsole I can only view the overall memory
   usage of all
application, but that's it. With top I see it is using a
   lot of cpu
   time:
about 50 percent.
But I want more information, how do I get that ??
   
Eddie
   
   
   
  
 
 
 







Re: Orin cpu usage ??? - HANGS - please some help!!

2001-05-18 Thread Eddie

Please tell me how I can see in Orion what's going wrong!!
- About every hour Orion still runs, but doesn't do any servlets, beans,
etc... it just hangs... and I can't figure out why... not completely true...
it writes:

java.lang.OutOfMemoryError: max threads limit  being reached in VM
at java.lang.Thread.start(Native Method)
at com.evermind.util.ThreadPool.cb(JAX)
at com.evermind.server.he.ap3(JAX)
at com.evermind.server.http.eq.run(JAX)
at com.evermind.util.f.run(JAX)
-

But I don't understand this as I start it with enough memory:
--
   /opt/java/bin/java -Xms30m -Xmx190m -jar /opt/Orion/orion.jar -config
/opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
--

And if I take a look with the orionconole the memory usage it always around
13-32 MB
What ma I missing here.
BTW: it's running on HP-UX 11 with jdk1.3

Eddie



- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 4:07 PM
Subject: RE: Orin cpu usage ???


 I have seen other instances where profiling doesn't work with the HotSpot
 JVM - use the Classic, and it (may) work.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Thursday, May 17, 2001 6:04 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???

 Thanks Marcel,

 Indeed I get more information when I start with -Xprof, however when I use
 the -Xrunhprof I get the following error (the total command is also
 included):

 Funny !!!,
 Eddie
 --
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 4D555445583F4C494E55580E4350500104
 #
 # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
 #
 --
 Start command:
 ---
 su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
 /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
 /opt/Orion/log/out.log 21 
 


 - Original Message -
 From: Marcel Schutte [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 11:48 AM
 Subject: RE: Orin cpu usage ???


  Hi Eddie,
 
  You could try to use the JVM profiler (startup arguments -Xprof
  and -Xrunhprof). This is ofcourse not orion specific, but you can give
it
 a
  try. You can also try leaving out parts of your application until you
find
  the bit that's causing your problem.
 
  Marcel
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Thursday, May 17, 2001 10:11 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
  
   Can someone please answer this question !!!???
   The problem I am having is the Orion sometimes hangs, it uses
   a lot of cpu
   and I can't figure out why, so I need some advices on how I
   can monitor
   this.
  
   Please... ??
  
   Eddie
  
   - Original Message -
   From: Eddie [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Wednesday, May 16, 2001 11:42 AM
   Subject: Orin cpu usage ???
  
  
Can someone please tell me how to monitor the cpu usage of
   Orion in detail
per component/item/application ?
   
When I use orionconsole I can only view the overall memory
   usage of all
application, but that's it. With top I see it is using a
   lot of cpu
   time:
about 50 percent.
But I want more information, how do I get that ??
   
Eddie
   
   
   
  
 
 
 







RE: Orin cpu usage ??? - HANGS - please some help!!

2001-05-18 Thread cybermaster

Use the -monitorResourceThreads flag when you start orion - (use java -jar
orion.jar -help to see possible startup options)

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Friday, May 18, 2001 3:52 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ??? - HANGS - please some help!!

Please tell me how I can see in Orion what's going wrong!!
- About every hour Orion still runs, but doesn't do any servlets, beans,
etc... it just hangs... and I can't figure out why... not completely true...
it writes:

java.lang.OutOfMemoryError: max threads limit  being reached in VM
at java.lang.Thread.start(Native Method)
at com.evermind.util.ThreadPool.cb(JAX)
at com.evermind.server.he.ap3(JAX)
at com.evermind.server.http.eq.run(JAX)
at com.evermind.util.f.run(JAX)
-

But I don't understand this as I start it with enough memory:
--
   /opt/java/bin/java -Xms30m -Xmx190m -jar /opt/Orion/orion.jar -config
/opt/Orion/config/server.xml  /opt/Orion/log/out.log 21 
--

And if I take a look with the orionconole the memory usage it always around
13-32 MB
What ma I missing here.
BTW: it's running on HP-UX 11 with jdk1.3

Eddie



- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 4:07 PM
Subject: RE: Orin cpu usage ???


 I have seen other instances where profiling doesn't work with the HotSpot
 JVM - use the Classic, and it (may) work.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Thursday, May 17, 2001 6:04 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???

 Thanks Marcel,

 Indeed I get more information when I start with -Xprof, however when I use
 the -Xrunhprof I get the following error (the total command is also
 included):

 Funny !!!,
 Eddie
 --
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 4D555445583F4C494E55580E4350500104
 #
 # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
 #
 --
 Start command:
 ---
 su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
 /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
 /opt/Orion/log/out.log 21 
 


 - Original Message -
 From: Marcel Schutte [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 11:48 AM
 Subject: RE: Orin cpu usage ???


  Hi Eddie,
 
  You could try to use the JVM profiler (startup arguments -Xprof
  and -Xrunhprof). This is ofcourse not orion specific, but you can give
it
 a
  try. You can also try leaving out parts of your application until you
find
  the bit that's causing your problem.
 
  Marcel
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Thursday, May 17, 2001 10:11 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
  
   Can someone please answer this question !!!???
   The problem I am having is the Orion sometimes hangs, it uses
   a lot of cpu
   and I can't figure out why, so I need some advices on how I
   can monitor
   this.
  
   Please... ??
  
   Eddie
  
   - Original Message -
   From: Eddie [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Wednesday, May 16, 2001 11:42 AM
   Subject: Orin cpu usage ???
  
  
Can someone please tell me how to monitor the cpu usage of
   Orion in detail
per component/item/application ?
   
When I use orionconsole I can only view the overall memory
   usage of all
application, but that's it. With top I see it is using a
   lot of cpu
   time:
about 50 percent.
But I want more information, how do I get that ??
   
Eddie
   
   
   
  
 
 
 








RE: Orin cpu usage ???

2001-05-18 Thread cybermaster

I am currently sitting on a w2k box, but I remember that under Unix many of
these files are links to a wrapper for either hotspot or classic JVM. You
may have to play around and change those.

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Friday, May 18, 2001 2:27 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???

Thanks peter,

I tried it as classic, but it doesn't work. It complains that it can't find
the JIT, wheras it is able find it, as the below, any idea why this is (I
haven't got much experience with running the jvm in different modes, any
idea where to find more info, as I can't find it in the man java ??) ??:
---
[orion@ojo Orion]# java -classic orion.jar
Warning: JIT compiler /usr/local/java/bin/javac not found. Will use
interpreter.
Exception in thread main java.lang.NoClassDefFoundError: orion/jar
[orion@ojo Orion]# ls /usr/local/java/bin/ja
jar   java  javac javah
jarsigner java-rmi.cgi  javadoc   javap
[orion@ojo Orion]# ls /usr/local/java/bin/javac
/usr/local/java/bin/javac
[orion@ojo Orion]#
--

Eddie


- Original Message -
From: cybermaster [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 4:07 PM
Subject: RE: Orin cpu usage ???


 I have seen other instances where profiling doesn't work with the HotSpot
 JVM - use the Classic, and it (may) work.

 --peter

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Thursday, May 17, 2001 6:04 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???

 Thanks Marcel,

 Indeed I get more information when I start with -Xprof, however when I use
 the -Xrunhprof I get the following error (the total command is also
 included):

 Funny !!!,
 Eddie
 --
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 4D555445583F4C494E55580E4350500104
 #
 # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
 #
 --
 Start command:
 ---
 su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
 /opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
 /opt/Orion/log/out.log 21 
 


 - Original Message -
 From: Marcel Schutte [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 11:48 AM
 Subject: RE: Orin cpu usage ???


  Hi Eddie,
 
  You could try to use the JVM profiler (startup arguments -Xprof
  and -Xrunhprof). This is ofcourse not orion specific, but you can give
it
 a
  try. You can also try leaving out parts of your application until you
find
  the bit that's causing your problem.
 
  Marcel
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
   Sent: Thursday, May 17, 2001 10:11 AM
   To: Orion-Interest
   Subject: Re: Orin cpu usage ???
  
  
   Can someone please answer this question !!!???
   The problem I am having is the Orion sometimes hangs, it uses
   a lot of cpu
   and I can't figure out why, so I need some advices on how I
   can monitor
   this.
  
   Please... ??
  
   Eddie
  
   - Original Message -
   From: Eddie [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Wednesday, May 16, 2001 11:42 AM
   Subject: Orin cpu usage ???
  
  
Can someone please tell me how to monitor the cpu usage of
   Orion in detail
per component/item/application ?
   
When I use orionconsole I can only view the overall memory
   usage of all
application, but that's it. With top I see it is using a
   lot of cpu
   time:
about 50 percent.
But I want more information, how do I get that ??
   
Eddie
   
   
   
  
 
 
 








Re: Orin cpu usage ???

2001-05-17 Thread Eddie

Can someone please answer this question !!!???
The problem I am having is the Orion sometimes hangs, it uses a lot of cpu
and I can't figure out why, so I need some advices on how I can monitor
this.

Please... ??

Eddie

- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 11:42 AM
Subject: Orin cpu usage ???


 Can someone please tell me how to monitor the cpu usage of Orion in detail
 per component/item/application ?

 When I use orionconsole I can only view the overall memory usage of all
 application, but that's it. With top I see it is using a lot of cpu
time:
 about 50 percent.
 But I want more information, how do I get that ??

 Eddie







SV: Orin cpu usage ???

2001-05-17 Thread Magnus Rydin
Title: SV: Orin cpu usage ???





The most normal CPU situation is bad DB usage.
I would check that area first, using whatever tools you have available to analyze your DB.
WR


 -Ursprungligt meddelande-
 Från: Eddie [mailto:[EMAIL PROTECTED]]
 Skickat: den 17 maj 2001 01:11
 Till: Orion-Interest
 Ämne: Re: Orin cpu usage ???
 
 
 Can someone please answer this question !!!???
 The problem I am having is the Orion sometimes hangs, it uses 
 a lot of cpu
 and I can't figure out why, so I need some advices on how I 
 can monitor
 this.
 
 Please... ??
 
 Eddie
 
 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, May 16, 2001 11:42 AM
 Subject: Orin cpu usage ???
 
 
  Can someone please tell me how to monitor the cpu usage of 
 Orion in detail
  per component/item/application ?
 
  When I use orionconsole I can only view the overall memory 
 usage of all
  application, but that's it. With top I see it is using a 
 lot of cpu
 time:
  about 50 percent.
  But I want more information, how do I get that ??
 
  Eddie
 
 
 
 





RE: Orin cpu usage ???

2001-05-17 Thread Marcel Schutte

Hi Eddie,

You could try to use the JVM profiler (startup arguments -Xprof
and -Xrunhprof). This is ofcourse not orion specific, but you can give it a
try. You can also try leaving out parts of your application until you find
the bit that's causing your problem.

Marcel

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
 Sent: Thursday, May 17, 2001 10:11 AM
 To: Orion-Interest
 Subject: Re: Orin cpu usage ???


 Can someone please answer this question !!!???
 The problem I am having is the Orion sometimes hangs, it uses
 a lot of cpu
 and I can't figure out why, so I need some advices on how I
 can monitor
 this.

 Please... ??

 Eddie

 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, May 16, 2001 11:42 AM
 Subject: Orin cpu usage ???


  Can someone please tell me how to monitor the cpu usage of
 Orion in detail
  per component/item/application ?
 
  When I use orionconsole I can only view the overall memory
 usage of all
  application, but that's it. With top I see it is using a
 lot of cpu
 time:
  about 50 percent.
  But I want more information, how do I get that ??
 
  Eddie
 
 
 






Re: Orin cpu usage ???

2001-05-17 Thread Armin Michel

What OS and JVM do you use?


 Can someone please answer this question !!!???
 The problem I am having is the Orion sometimes hangs, it uses a lot of cpu
 and I can't figure out why, so I need some advices on how I can monitor
 this.

 Please... ??

 Eddie

 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, May 16, 2001 11:42 AM
 Subject: Orin cpu usage ???

  Can someone please tell me how to monitor the cpu usage of Orion in
  detail per component/item/application ?
 
  When I use orionconsole I can only view the overall memory usage of all
  application, but that's it. With top I see it is using a lot of cpu

 time:
  about 50 percent.
  But I want more information, how do I get that ??
 
  Eddie




Re: Orin cpu usage ???

2001-05-17 Thread Eddie
Title: SV: Orin cpu usage ???



Magnus,

What kind of "bad DB usage" must I think about ? 

Some examples please ?
And what kind of tools would I use to analyse the 
db usage ? I normaly check the log file, 
but I am sure there are better ways to do that, not 
? (I am using postgres)
Ed

  - Original Message - 
  From: 
  Magnus 
  Rydin 
  To: Orion-Interest 
  Sent: Thursday, May 17, 2001 11:07 
  AM
  Subject: SV: Orin cpu usage ???
  
  The most normal CPU situation is bad DB usage. 
  I would check that area first, using whatever tools you have 
  available to analyze your DB. WR 
   -Ursprungligt meddelande-  Från: Eddie [mailto:[EMAIL PROTECTED]] 
   Skickat: den 17 maj 2001 01:11  Till: Orion-Interest  Ämne: Re: Orin 
  cpu usage ???   
   Can someone please answer this question 
  !!!???  The problem I am having is the Orion 
  sometimes hangs, it uses  a lot of cpu 
   and I can't figure out why, so I need some advices on 
  how I  can monitor  
  this.   Please... 
  ??   Eddie 
- Original Message 
  -  From: Eddie 
  [EMAIL PROTECTED]  To: Orion-Interest 
  [EMAIL PROTECTED]  Sent: 
  Wednesday, May 16, 2001 11:42 AM  Subject: Orin 
  cpu usage ???   
Can someone please tell me how to monitor 
  the cpu usage of  Orion in detail   per component/item/application ?  
 When I use orionconsole I can only view 
  the overall memory  usage of all   application, but that's it. With "top" I see it is using a 
   lot of cpu  
  time:   about 50 percent.   But I want more information, how do I get that ?? 
  Eddie 
 



Re: Orin cpu usage ???

2001-05-17 Thread Eddie

Thanks Marcel,

Indeed I get more information when I start with -Xprof, however when I use
the -Xrunhprof I get the following error (the total command is also
included):

Funny !!!,
Eddie
--
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4D555445583F4C494E55580E4350500104
#
# Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
#
--
Start command:
---
su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
/opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
/opt/Orion/log/out.log 21 



- Original Message -
From: Marcel Schutte [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 11:48 AM
Subject: RE: Orin cpu usage ???


 Hi Eddie,

 You could try to use the JVM profiler (startup arguments -Xprof
 and -Xrunhprof). This is ofcourse not orion specific, but you can give it
a
 try. You can also try leaving out parts of your application until you find
 the bit that's causing your problem.

 Marcel

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 10:11 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
 
  Can someone please answer this question !!!???
  The problem I am having is the Orion sometimes hangs, it uses
  a lot of cpu
  and I can't figure out why, so I need some advices on how I
  can monitor
  this.
 
  Please... ??
 
  Eddie
 
  - Original Message -
  From: Eddie [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2001 11:42 AM
  Subject: Orin cpu usage ???
 
 
   Can someone please tell me how to monitor the cpu usage of
  Orion in detail
   per component/item/application ?
  
   When I use orionconsole I can only view the overall memory
  usage of all
   application, but that's it. With top I see it is using a
  lot of cpu
  time:
   about 50 percent.
   But I want more information, how do I get that ??
  
   Eddie
  
  
  
 







RE: Orin cpu usage ???

2001-05-17 Thread cybermaster

I have seen other instances where profiling doesn't work with the HotSpot
JVM - use the Classic, and it (may) work.

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Thursday, May 17, 2001 6:04 AM
To: Orion-Interest
Subject: Re: Orin cpu usage ???

Thanks Marcel,

Indeed I get more information when I start with -Xprof, however when I use
the -Xrunhprof I get the following error (the total command is also
included):

Funny !!!,
Eddie
--
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4D555445583F4C494E55580E4350500104
#
# Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
#
--
Start command:
---
su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
/opt/Orion/orion.jar -config /opt/Orion/config/server.xml 
/opt/Orion/log/out.log 21 



- Original Message -
From: Marcel Schutte [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 11:48 AM
Subject: RE: Orin cpu usage ???


 Hi Eddie,

 You could try to use the JVM profiler (startup arguments -Xprof
 and -Xrunhprof). This is ofcourse not orion specific, but you can give it
a
 try. You can also try leaving out parts of your application until you find
 the bit that's causing your problem.

 Marcel

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
  Sent: Thursday, May 17, 2001 10:11 AM
  To: Orion-Interest
  Subject: Re: Orin cpu usage ???
 
 
  Can someone please answer this question !!!???
  The problem I am having is the Orion sometimes hangs, it uses
  a lot of cpu
  and I can't figure out why, so I need some advices on how I
  can monitor
  this.
 
  Please... ??
 
  Eddie
 
  - Original Message -
  From: Eddie [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2001 11:42 AM
  Subject: Orin cpu usage ???
 
 
   Can someone please tell me how to monitor the cpu usage of
  Orion in detail
   per component/item/application ?
  
   When I use orionconsole I can only view the overall memory
  usage of all
   application, but that's it. With top I see it is using a
  lot of cpu
  time:
   about 50 percent.
   But I want more information, how do I get that ??
  
   Eddie
  
  
  
 








Re: Orin cpu usage ???

2001-05-17 Thread Eddie

RedHat 7.0, kernel:  2.2.16-22,
jdk1.3,
j2sdk221.2

Eddie
- Original Message -
From: Armin Michel [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 12:57 PM
Subject: Re: Orin cpu usage ???


 What OS and JVM do you use?


  Can someone please answer this question !!!???
  The problem I am having is the Orion sometimes hangs, it uses a lot of
cpu
  and I can't figure out why, so I need some advices on how I can monitor
  this.
 
  Please... ??
 
  Eddie
 
  - Original Message -
  From: Eddie [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2001 11:42 AM
  Subject: Orin cpu usage ???
 
   Can someone please tell me how to monitor the cpu usage of Orion in
   detail per component/item/application ?
  
   When I use orionconsole I can only view the overall memory usage of
all
   application, but that's it. With top I see it is using a lot of cpu
 
  time:
   about 50 percent.
   But I want more information, how do I get that ??
  
   Eddie






Orin cpu usage ???

2001-05-16 Thread Eddie

Can someone please tell me how to monitor the cpu usage of Orion in detail
per component/item/application ?

When I use orionconsole I can only view the overall memory usage of all
application, but that's it. With top I see it is using a lot of cpu time:
about 50 percent.
But I want more information, how do I get that ??

Eddie