You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/11/26 08:27:29 UTC

[GitHub] [activemq-artemis-native] franz1981 edited a comment on issue #6: Artemis 2562 Reduces context-switches on iocb pool

franz1981 edited a comment on issue #6: Artemis 2562 Reduces context-switches on iocb pool
URL: https://github.com/apache/activemq-artemis-native/pull/6#issuecomment-558517896
 
 
   @michaelandrepearce 
   > If you get segfault will be alot easier to trace back
   
   Not sure about that if it would happen on kernel-side: you need to
   
   1. have debug symbols on kernel to know what's happened
   2. be sure you're not on a VM and you have rights to create a SOS report
   
   I won't go in *both* the rabbit holes if possible :)
   The original code was making the assumption that any used `iocb` must be released at some point, but that's not what happen in a real world while using NFS (hard-mounted) and getting a timeout due to long kernel-side disk operation.
   I prefer, instead, logging that something bad has happened (error or warn level) and won't let the kernel crash silently, that's my 2 cents, but I'm opened to other opinions, bud :)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services