mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2018-01-31
This commit is contained in:
@ -1355,8 +1355,18 @@ javax.ws.rs.WebApplicationException
|
||||
- We need to start graphing the Tomcat sessions as well, though that requires JMX
|
||||
- Also, I wonder if I could disable the nightly Atmire thing
|
||||
- God, I don't know where this load is coming from
|
||||
- Since I bumped up the Tomcat threads from 200 to 400 the load on the server has been sustained at about 200%:
|
||||
- Since I bumped up the Tomcat threads from 200 to 400 the load on the server has been sustained at about 200% for almost a whole day:
|
||||
|
||||

|
||||
|
||||
- I should make separate database pools for the web applications and the API applications like REST and OAI
|
||||
- Ok, so this is interesting: I figured out how to get the MBean path to query Tomcat's activeSessions from JMX (using `munin-plugins-java`):
|
||||
|
||||
```
|
||||
# port=5400 ip="127.0.0.1" /usr/bin/java -cp /usr/share/munin/munin-jmx-plugins.jar org.munin.plugin.jmx.Beans Catalina:type=Manager,context=/,host=localhost activeSessions
|
||||
Catalina:type=Manager,context=/,host=localhost activeSessions 8
|
||||
```
|
||||
|
||||
- If you connect to Tomcat in `jvisualvm` it's pretty obvious when you hover over the elements
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user