update routing and layout, Docker update

This commit is contained in:
Ralph Soika 2024-08-26 08:51:34 +02:00
parent c1828474fb
commit 67eb0f2b78
4 changed files with 6008 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM imixs/imixs-office-workflow
FROM imixs/imixs-office-workflow:5.0.3-SNAPSHOT
# Setup debug configuration

View file

@ -1,4 +1,4 @@
FROM imixs/imixs-office-workflow
FROM imixs/imixs-office-workflow:5.0.3-SNAPSHOT
# Deploy artefact
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*

86
MEMORY.md Normal file
View file

@ -0,0 +1,86 @@
# Wildfly HTTP Seesions
See articles:
- https://www.mastertheboss.com/jbossas/jboss-cluster/jboss-monitoring-http-session-replication/
- https://blog.arkey.fr/2020/10/27/maxrampercentage-is-not-what-i-wished-for/
- https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-manager/14-4/reference/performance-tuning/performance-tuning-for-jboss-or-wildfly.html
# Collect metrics
Use curl:
```
curl -s http://localhost:9990/metrics
```
wildfly_undertow_active_sessions{deployment="office-alexander-logistics.war",subdeployment="office-alexander-logistics.war",microprofile_scope="vendor"} 184.0
## Check all active Sessions:
```
curl -s http://localhost:9990/metrics | grep -e "^wildfly_undertow_.*_sessions"
```
# Neue Memory Options:
```yaml
- name: JAVA_OPTS
value: >
-Xms5g
-Xmx7g
-XX:+UseG1GC
-XX:MaxGCPauseMillis=200
-XX:G1HeapRegionSize=16m
-XX:InitiatingHeapOccupancyPercent=45
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/heapdump
-Dnashorn.args=--no-deprecation-warning
```
# Memory Analyse
```
curl -s http://localhost:9990/metrics | grep -e "^wildfly_undertow_.*_sessions"
```
| Zeit | Mem | Sessions |
|-----------|:---------:|:---------:|
| Sa 18:36 | 3848 | 33 |
| Sa 19:25 | 3887 | 32 |
| So 10:41 | 4449 | 33 |
| So 14:36 | 4457 | 32 |
| So 17:32 | 4460 | 32 |
# Debug
Test Heap size:
$ curl -s http://localhost:9990/metrics | grep base_memory_usedHeap_bytes
# HELP base_memory_usedHeap_bytes Displays the amount of used memory.
# TYPE base_memory_usedHeap_bytes gauge
base_memory_usedHeap_bytes 1.605052856E9
base_memory_usedHeap_bytes 3.031116216E9
base_memory_usedHeap_bytes 1.910524016E9
base_memory_usedHeap_bytes 1.291952224E9

File diff suppressed because it is too large Load diff