Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM:6.3 we are trying to monitor jvm metrics(heap space) of AEM using Elastic search (ELK)

Avatar

Avatar
Level 1
Gopalam
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Gopalam
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
Gopalam
Level 1

21-01-2021

Hi All

we are currently facing heap space issue on AEM.

The leak was found and it was fixed with help of AEM documentation.

1. Increasing heap memory

2. https://www.oracle.com/java/technologies/javase/vmoptions-jsp.html#DebuggingOptions

3. Use the flag "-XX:-UseGCOverheadLimit" to over come the error. we will disable the error occurrence.

4. change the instance type( we are using AWS)

5. use minimum 16 GB RAM.

 

The leakage was controlled by using above solution.

 

Our usecase is , we would like to monitor and create watcher and alerts using ELK.

we came across the ELK- metric beats ( there is a module- jolokia, this agent is used to get the jvm metrics)

 

here is the question:

Did anyone come across this setup?

 

Please let me know if some configured jolokia agent on AEM.

 

Thanks in advance

 

@Jörg_Hoh 

AEM 6.3 running on AWS + intergration with ELK

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile
kunal23
MVP

22-01-2021

You can connect it to running AEM instance JVM to monitor the stats of standard JVM provided and AEM specific Mbeans. 

In your AEM startup script you need to add the following system variable. 

-Dcom.sun.management.jmxremote.port=portNum

If you require authentication then you can set it via -

  -Dcom.sun.management.jmxremote.password.file=pwFilePath
  -Dcom.sun.management.jmxremote.port=8463
 

More details can be found here-

https://helpx.adobe.com/in/experience-manager/6-3/sites/administering/using/jmx-console.html#UsingEx... 

https://github.com/bkkhoo/jolokia-demo 

Answers (0)