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 Product Owner I want that Akka related parameters are adjusted so that Security Server UI will not be jammed if there are large number of keys imported/in use #143

Closed hanhaka closed 7 years ago

hanhaka commented 7 years ago

Affected components: Akka Affected documentation: - Estimated delivery: Q2/2017 External reference: https://jira.csc.fi/browse/PVAYLADEV-695

Problem During the UI automation testing it was found out that when importing >200 keys into Security Server, UI was stuck in some point while increasing the number of imported keys.

By investigating the root cause for this behavior, it was noticed that Akka netty.tcp remote transport has maximum limit 128000 bytes for payload and increasing the keys will cause that this limit will be exceeded. Max limit ~200 keys seems to be quite small, so the limit should be extended so that at least ~400 keys would be possible to add. Also, it would be useful if Akka would write logging information in a case of Akka error events.

Akka parameters send-buffer-size, receive-buffer-size and maximum-frame-size should be adjusted so that ~400 keys is possible to import.

Acceptance criteria

hanhaka commented 7 years ago

Fixed in version 6.15.0