[ 
https://issues.apache.org/jira/browse/ARTEMIS-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346123#comment-17346123
 ] 

Clebert Suconic commented on ARTEMIS-3272:
------------------------------------------

Apparently if you called datasync=false the callbacks are not coming back when 
the file is closed.

 

however I don't think there would be data loss.

 

I think if you're running with AIO, you should have journal-datasync=true (it 
was engineered to use with data-sync = true anyways... 

 

Someone will need to debug the callbacks with datasync=false and come up with a 
fix.

> Remaining AIO issue from ARTEMIS-3084
> -------------------------------------
>
>                 Key: ARTEMIS-3272
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3272
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.16.0, 2.17.0
>            Reporter: Anton Roskvist
>            Priority: Major
>         Attachments: broker.xml, formatted_stack.txt, stack, stack.txt
>
>
> Hi,
> Starting with artemis-2.16.0 I was getting these WARN messages, followed by a 
> broker shutdown:
> {quote}
> WARN [org.apache.activemq.artemis.core.server] AMQ222010: Critical IO Error, 
> shutting down the server. 
> file=AIOSequentialFile:/path/to/artemis-2.16.0/data/journal/activemq-data-2665706.amq,
>  message=Timeout on close: java.io.IOException: Timeout on close
> {quote}
> They were not that frequent, maybe once per week or so. I read that this was 
> a known issue that was supposed to be resolved in artemis-2.17.0.
> After upgrading I see this WARN message instead, followed by a thread dump:
> {quote}WARN [org.apache.activemq.artemis.journal] File activemq-data-49.amq 
> still has pending IO before closing it
> {quote}
> This does not appear to cause any issues as far as I can tell but it is 
> printed several times a day so the log is completely cluttered (from the 
> thread dump). 
> I am attaching one of the thread dumps from my logs here: [^stack]
> In this setup I am running a static broker cluster of 5 brokers, each 
> processing messages at about 40-50 Mbps
> Clients are primarily using OpenWire
> ext4 is used as the filesystem
> Br,
> Anton



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

Reply via email to