You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2019/12/17 17:57:00 UTC

[jira] [Assigned] (LOG4J2-2740) WAS + RHEL + Log4j2 - Rolled files not being released (being kept in handle by Java process)

     [ https://issues.apache.org/jira/browse/LOG4J2-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers reassigned LOG4J2-2740:
-----------------------------------

    Assignee: Ralph Goers

> WAS + RHEL + Log4j2 - Rolled files not being released (being kept in handle by Java process)
> --------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2740
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2740
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.12.0
>         Environment: *Log4j2*
> {code}
> <log4j.version>2.12.0</log4j.version>
> {code}
> *LINUX RHEL*
> {code}
> cat /etc/os-release
> 		NAME="Red Hat Enterprise Linux Server"
> 		VERSION="7.7 (Maipo)"
> 		ID="rhel"
> 		ID_LIKE="fedora"
> 		VARIANT="Server"
> 		VARIANT_ID="server"
> 		VERSION_ID="7.7"
> 		PRETTY_NAME="Red Hat Enterprise Linux"
> 		ANSI_COLOR="0;31"
> 		CPE_NAME="cpe:/o:redhat:enterprise_linux:7.7:GA:server"
> 		HOME_URL="https://www.redhat.com/"
> 		BUG_REPORT_URL="https://bugzilla.redhat.com/"
> 		REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
> 		REDHAT_BUGZILLA_PRODUCT_VERSION=7.7
> 		REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
> 		REDHAT_SUPPORT_PRODUCT_VERSION="7.7"
> {code}
> *IBM WebSphere Application Server*
> {code}
> 		Product Name:	IBM WebSphere Application Server Network Deployment
> 		ID:				ND
> 		Version:		8.5.5.14
> 		Build Date:		8/2/18
> 		Build Level:	cf141830.01
> {code}
> *Java*
> {code}
> ./java -version
> 		java version "1.8.0_171"
> 		Java(TM) SE Runtime Environment (build 8.0.5.17 - pxa6480sr5fp17ifix-20180726_01(SR5 FP17+IJ08001))
> 		IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20180725_392885 (JIT enabled, AOT enabled)
> 		OpenJ9   - a8cda37
> 		OMR      - 4d1cb10
> 		IBM      - 21870d6)
> 		JCL - 20180619_01 based on Oracle jdk8u171-b11
> {code}
>            Reporter: Mattia Emmanuele Dal Degan
>            Assignee: Ralph Goers
>            Priority: Major
>         Attachments: log4j2.xml, lsof.out.txt
>
>
> In our WebSphere Application Server environment (v8.5.5.14, w network deployment) we have a REST web application that uses Log4j2 as the logging library.
>  When log rotation happens some deleted files remain locked by the JVM process and disk space is not released.
>  This cause the system to block when disk space is full.
> Please refer to the lsof command output in attachement.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)