Home > Archive > EAserver > March 2005 > jvmstat









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author jvmstat
Peter Abbott

2005-03-30, 7:08 pm

I have been investigating using jvmstat to get some data to help in
tuning the garbage collection for easerver.

I have read that the jvm instrumentation is on by default from 1.4.2 (I
am currently using 1.4.2_06). When I run easerver from the console I can
use jvmstat (or jstat from j2se5) to get stats from the jvm. When I run
easerver as a service I cant connect to easerver using any of the jvm
tools. I even tried passing in the flag -XX:+UsePerfData, but easerver
seems to ignore it on startup.

Does anybody know if there is somewhere in the code that overrides this
setting?

cheers
Pete
Dave Wolf

2005-03-30, 7:08 pm

How did you try to pass the VM parameter in?

Dave Wolf
Cynergy Systems
http://www.cynergysystems.com

Peter Abbott wrote:
> I have been investigating using jvmstat to get some data to help in
> tuning the garbage collection for easerver.
>
> I have read that the jvm instrumentation is on by default from 1.4.2 (I
> am currently using 1.4.2_06). When I run easerver from the console I can
> use jvmstat (or jstat from j2se5) to get stats from the jvm. When I run
> easerver as a service I cant connect to easerver using any of the jvm
> tools. I even tried passing in the flag -XX:+UsePerfData, but easerver
> seems to ignore it on startup.
>
> Does anybody know if there is somewhere in the code that overrides this
> setting?
>
> cheers
> Pete

Peter Abbott

2005-03-30, 7:08 pm

Using the 'c.s.j.s.jvm.options' attribute for the sever properties. I
had a look though the serverstart.bat file but there isnt really
anywhere to pass vm options in and you also cant pass in vm options when
installing the service (as far as I can see).

The fact that it works from the console by running just serverstart and
not as a service would indicate to me that it is being overriden as a
service. I think I remember someone from sybase saying there are other
settings like this that get overriden when running as a service.

Pete


Dave Wolf wrote:
[color=darkred]
> How did you try to pass the VM parameter in?
>
> Dave Wolf
> Cynergy Systems
> http://www.cynergysystems.com
>
> Peter Abbott wrote:
>
Dave Wolf

2005-03-30, 7:08 pm

That stuff seems to change a lot, so I dont know where it stands these
days. I think you'd be best served by pinging support.

Dave Wolf
Cynergy Systems
http://www.cynergysystems.com

Peter Abbott wrote:[color=darkred
]
> Using the 'c.s.j.s.jvm.options' attribute for the sever properties. I
> had a look though the serverstart.bat file but there isnt really
> anywhere to pass vm options in and you also cant pass in vm options when
> installing the service (as far as I can see).
>
> The fact that it works from the console by running just serverstart and
> not as a service would indicate to me that it is being overriden as a
> service. I think I remember someone from sybase saying there are other
> settings like this that get overriden when running as a service.
>
> Pete
>
>
> Dave Wolf wrote:
>
Peter Abbott

2005-03-30, 7:08 pm

Yeah I have already opened a case.

Dave Wolf wrote:[color=darkred
]
> That stuff seems to change a lot, so I dont know where it stands these
> days. I think you'd be best served by pinging support.
>
> Dave Wolf
> Cynergy Systems
> http://www.cynergysystems.com
>
> Peter Abbott wrote:
>
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com