You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2024/02/19 12:39:00 UTC
[jira] [Commented] (JAMES-3997) Netty backpressure for IMAP Fetch
[ https://issues.apache.org/jira/browse/JAMES-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818469#comment-17818469 ]
Benoit Tellier commented on JAMES-3997:
---------------------------------------
Reference: http://normanmaurer.me/presentations/2014-twitter-meetup-netty/slides.html#9.0
> Netty backpressure for IMAP Fetch
> ---------------------------------
>
> Key: JAMES-3997
> URL: https://issues.apache.org/jira/browse/JAMES-3997
> Project: James Server
> Issue Type: Improvement
> Affects Versions: 3.8.0, 3.8.1
> Reporter: René Cordier
> Priority: Major
> Fix For: 3.9.0
>
>
> Some OOM IMAP issues on a production environment using James have been detected, regarding the method IMAP FETCH.
> We seem to do to write out:
> {code:java}
> channel.writeAndFlush()Unpooled.wrappedBuffer(buffer));
> {code}
> without any checks. Making the method using intermediate buffers in a slow network, potentially exploding the memory.
> Need to investigate this issue and enhance this processus, maybe by using Netty backpressure instead?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org