[Bug 231046] mail/ssmtp 2.64 doesnt send final ack - delays mail server with hanging LAST_ACT on FreeBSD11.2S

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 231046] mail/ssmtp 2.64 doesnt send final ack - delays mail server with hanging LAST_ACT on FreeBSD11.2S

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231046

            Bug ID: 231046
           Summary: mail/ssmtp 2.64 doesnt send final ack - delays mail
                    server with hanging LAST_ACT on FreeBSD11.2S
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
                CC: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Unsure if this is an implementation issue or something around traffic flow.

situation:
Multiple messages being sent with ssmtp.  When the server starts rejecting
messages due to connection rate setting, there are pending LAST_ACKs; which
ssmtp should ack before terminating.  Instead ssmtp just stops.

Resulting in sockstat -s revealing
root     sendmail   31777 5  tcp4   127.0.5.91:2525       127.0.5.91:41596    
ESTABLISHED
root     sendmail   31777 11 tcp4   127.0.5.91:2525       127.0.5.91:41596    
ESTABLISHED
root     ssmtp      31603 3  tcp4   127.0.5.91:36347      127.0.5.91:2525      
ESTABLISHED
root     ssmtp      31381 3  tcp4   127.0.5.91:58319      127.0.5.91:2525      
ESTABLISHED
root     ssmtp      31257 3  tcp4   127.0.5.91:41596      127.0.5.91:2525      
ESTABLISHED
root     sendmail   39991 9  tcp4   127.0.5.91:2525       *:*                  
LISTEN
?        ?          ?     ?  tcp4   127.0.5.91:2525       127.0.5.91:31082    
LAST_ACK
?        ?          ?     ?  tcp4   127.0.5.91:2525       127.0.5.91:55470    
LAST_ACK
?        ?          ?     ?  tcp4   127.0.5.91:2525       127.0.5.91:28956    
LAST_ACK

The problem is that sendmail wont respond to new connections until the LAST_ACK
timeouts.  

Workaround - increase number of connections to that particular port 2525 which
is only for administrative email.  Aside: there are multiple jails transmitting
to the sendmail (latest version) jail via lo0.  It just appears to be coming
over its "localhost" addr.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 231046] mail/ssmtp 2.64 doesnt send final ack - delays mail server with hanging LAST_ACT on FreeBSD11.2S

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231046

Walter Schwarzenfeld <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Walter Schwarzenfeld <[hidden email]> ---
Maintainer feedback!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"