Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DB7A101AA for ; Tue, 10 Feb 2015 15:42:15 +0000 (UTC) Received: (qmail 92743 invoked by uid 500); 10 Feb 2015 15:42:12 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 92587 invoked by uid 500); 10 Feb 2015 15:42:12 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 92576 invoked by uid 99); 10 Feb 2015 15:42:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 15:42:11 +0000 Date: Tue, 10 Feb 2015 15:42:11 +0000 (UTC) From: "Boris Dushanov (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (RAMPART-423) STS implementation may lead to performance reduction MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAMPART-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Boris Dushanov updated RAMPART-423: ----------------------------------- Attachment: rampart-423_patch.txt For 2) from the description, I'm attaching a patch that optimizes the work of the STS by reducing the number of iterations. > STS implementation may lead to performance reduction > ---------------------------------------------------- > > Key: RAMPART-423 > URL: https://issues.apache.org/jira/browse/RAMPART-423 > Project: Rampart > Issue Type: Bug > Components: rampart-trust > Affects Versions: 1.6.2 > Reporter: Boris Dushanov > Attachments: rampart-423_patch.txt > > > Recently we come up to a case in which a system was declining in response time when working for a few hours. In the end the system stops responding. > It turned out that two tokens are inserted in the STS per second.Because of : > 1) the lack of retention policy of the store i.e. the EXPIRED tokens are not cleaned up and are constantly iterated(RAMPART-337) > 2) the number of iterations, which could actually be reduced > the system may either stop responding or throws OOM exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org