vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

As a Security Server Admin I want that xroad-jetty process is not consuming redundant memory so that Security Server resources are not wasted #185

Closed hanhaka closed 6 years ago

hanhaka commented 6 years ago

Affected components: xroad-jetty Affected documentation: - Estimated delivery: Q4/2017 External reference: https://jira.csc.fi/browse/PVAYLADEV-978

Problem When fixing the issue https://github.com/vrk-kpa/xroad-joint-development/issues/146 it was later noticed that the usage of Security Server memory was increased. To looking at this memory related problem more closely, it was found out that due to Logback bugfix was taken into use, xroad-jetty process now starts using two process (normally only one process should be started). And the additional process is not inheriting memory settings as it should be but instead it is getting default amount of heap memory (default is 1/4).

Based on preliminary study, it is proposed that Jetty's logging-logback.mod module needs to be modified so that [exec]-part is removed and its shell parameter should be set as a starting parameter of Jetty (xroad-jetty.conf).

Acceptance criteria

hanhaka commented 6 years ago

Fixed in 6.17.0, see: https://github.com/ria-ee/X-Road/pull/68