Z
Z
Zamorozka2012-01-05 20:18:55
Java
Zamorozka, 2012-01-05 20:18:55

Will the performance drop if you enable the JMX profiler on the production tomcat?

On my site, the PostgreSQL database crashes 1-2 times a month.

It is clear from the logs that this is due to a lack of memory: I want to understand the reason. To do this, I turned on the JMX provider in production, and I want to understand how it will affect performance?

[516661.380047] Out of memory: kill process 18126 (postmaster) score 26011 or a child
[516661.380058] Killed process 18126 (postmaster)


Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bdmalex, 2012-01-06
@bdmalex

It can be seen from the logs that this is happening due to a lack of memory: ... I want to understand the reason.

Have you tried adding memory to the server?

F
fkvf, 2012-01-06
@fkvf

tomcat + postgres bundle?
Try in context.xml to reduce the values ​​of
maxActive and maxIdle for jdbc and see how it affects memory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question