-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jan,

On 6/27/13 4:31 PM, honyk wrote:
> I am constantly encountering PermGen errors despite quite high
> PermGen limit (even 512m) and many options set - approx once a week
> under not heavy load.

Like what kinds of options? What kind of load? What does the error
look like? Are you re-deploying your webapp without restarting Tomcat,
or do you bust PermGen even with a single deployment?

> I am trying to investigate what the app causes this, but I haven't
> succeeded in reproducing it locally yet.
> 
> I found several articles about VisualVM (I hope it could help me
> to determine some PermGen issues) and connecting it to the Tomcat.
> Remotely. But I have no clue how can I conect the local VisualVM to
> tomcat that runs on localhost.
> 
> Even here it is written: 
> http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
> 
> Enabling JMX Remote Note: This configuration is needed only if you
> are going to monitor Tomcat remotely. It is not needed if you are
> going to monitor it locally, using the same user that Tomcat runs
> with.
> 
> But there is no further description for that simpler (local)
> method. If it is obvious, sorry, but I am lost here ;-)

Connecting to a Tomcat running on localhost is dead simple:

1. Launch VisualVM
2. Once the main screen loads, double-click on "Tomcat" from the
"Local" cluster of applications
3. Profit

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRzKYyAAoJEBzwKT+lPKRY2AgP+gIZjRI1FAuvYJxHpRT5k+yZ
VKIf5ShZ7t/asGm9E5eWulAKDcLraNKqKN8JILt6vM76PfA4ldBwX17uPu1H/8vT
O8P6JSuNyWm+Euk3dUlgo0uz9SuEE4H4JjQZJNf3bpGJEBkzlsaKMvBNZVtdx9nI
JZaxV55KvQ8q+A4SSByr4V7S3pd3Dp8L1Zx9NsiYcBtigPSwXydYC14rgGslHuxC
se0FNN8H1K+wcxFm26/3Db1lxPu69zy0jC5sTGPoUIG26YdWIWchggJdHsfB3y4o
zG9TO+Y7z3Xv4vO5xb46gKxYp/q50X4TE4qr07/xkT7vxf6RqFVGPbTr0LLlEweE
EP76aR1kQJgba/JHitNJEd7/IgScs9PGgiZ5gbxUoTQeb4eVO2VGvicM9FxqcR20
NwpuBLNTezlQ5fHpQajB4grLy9iFKES8CUL5LBpuq6e9+ub1yr4ZElJclX2KXfad
TeV4bXGUmz8wf/fsAixEswpLxj510ztkg3akre/5znYp34rjj5mmJMGNSCj5/Obk
iAQr5P7ilEYW61ZVsFQVFQPRlM/eY+0DCi8KeErvEL5LD8VVFiUs1E+Bfh5BAltj
deQPEO9IZzc5ZIlT9Yfc0XQ/SS353S2KpmqkvAqh/KYY+BwJbEoVR5d0xTHcvbhR
QbVATyzVvdjr3+GRqXiJ
=o1uO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to