[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] [Resolved] (JAMES-4023) SMTP server is blocking on the IO thread
From:       René_Cordier_(Jira) <server-dev () james ! apache ! org>
Date:       2024-04-01 4:10:00
Message-ID: JIRA.13573872.1711726158000.101759.1711944600055 () Atlassian ! JIRA
[Download RAW message or body]


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

René Cordier resolved JAMES-4023.
---------------------------------
    Resolution: Fixed

https://github.com/apache/james-project/pull/2167 resolved the issue and has been \
merged

> SMTP server is blocking on the IO thread
> ----------------------------------------
> 
> Key: JAMES-4023
> URL: https://issues.apache.org/jira/browse/JAMES-4023
> Project: James Server
> Issue Type: Bug
> Components: POP3Server, SMTPServer
> Affects Versions: master, 3.8.0, 3.8.1
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.9.0, 3.8.2
> 
> Attachments: Screenshot from 2024-03-29 16-30-53.png, cnb-imap-29-03-2024.html
> 
> Time Spent: 0.5h
> Remaining Estimate: 0h
> 
> While conducting a routine flame graph analysis [attached] I realized some file \
> calls where done on the event loop [screenshot attached] By printing the thread \
> that performs the enqueuing I was able to confirm this: {code:java}
> ENQUEUING on smtpserver-io-1
> {code}
> Blocking on the netty eventloop blocks all other concurrent requests to that thread \
> and can cause significant delays by making the overall server irresponsive. This \
> shall be avoided at all cost! By reworking slightly the Netty pipeline, and relying \
> on the eventExecutorGroup for the core handler this had effectively been mitigated: \
> {code:java} ENQUEUING on smtpserver-0
> {code}



--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic