activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahram Javey (JIRA)" <>
Subject [jira] Commented: (AMQ-1380) ActiveIO does not close ControlFile
Date Mon, 28 Jan 2008 04:21:24 GMT


Shahram Javey commented on AMQ-1380:

This patch is still not part of ActiveMQ 5.0,  where slave file handle leaks are still an
issue. I manually applied this patch and it fixed the problem. Why is this patch not part
of 5.0?

> ActiveIO does not close ControlFile 
> ------------------------------------
>                 Key: AMQ-1380
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.1.1
>         Environment: All
>            Reporter: Joe Kutner
>         Attachments: patch.txt
> The following exception is thrown from an ActiveMQ instance that is in Slave mode that
causes it to crash.
> ***/*******/*****/*******/journal/control.dat (Too many
open files)
>         at Method)
>         at<init>(
>         at<init>(
>         at
>         at<init>(
>         at<init>(
>         at
>         at
>         at
>         at
>         at
>         ... 41 more
> The problem is that each time ActiveIO checks to see if control.dat is locked it creates
a new  If the control.dat file is locked, it fails to close the
> This exception always will be thrown from an instance in Shared-File-System Slave mode
that continues to check the Journal file (which the Master has locked).  But the rate at which
is is thrown depends on the maximum number of files the OS allows to be open.  You can check
how many files are open with 'ulimit -a'

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message