You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Amol D (Jira)" <ji...@apache.org> on 2023/07/17 07:21:00 UTC

[jira] [Created] (JCS-235) Thread leakage in JCS 3.1 with primary and secondary server configuration

Amol D created JCS-235:
--------------------------

             Summary: Thread leakage in JCS 3.1 with primary and secondary server configuration
                 Key: JCS-235
                 URL: https://issues.apache.org/jira/browse/JCS-235
             Project: Commons JCS
          Issue Type: Bug
          Components: RMI Remote Cache
    Affects Versions: jcs-3.1
            Reporter: Amol D
         Attachments: client-remoet-cache.ccf, primaryserver-remote-cache.ccf, secondaryserver-remote-cache.ccf

We are using Apache JCS as a primary cache server in our application. The version we are using is apache-commons-jcs3 3.1. On production environment we have observed that this specific version is having a thread leakage issue where on the production servers, the thread count is increasing rapidly and reaching 20000 threads, and the system crashes due to the OutOfMemory error. It is observed while degrading the JCS version from 3.1 to 3.0. The problem is no longer reproducible. With the JCS 3.1 version we have also tried implementing thread pooling, but it did not solve the problem . We request Apache community to triage the issue.

Steps to reproduce -

1) JCS configured to have primary and failover server 

Please refer cache.ccf configurations attached 

Check thread count via command 

ps -o pid,comm,user,thcount -p <PID>

2) Restart Primary server 

After certain usage by JCS client check the thread count via below command 

ps -o pid,comm,user,thcount -p <PID>

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)