[SOLVED] MTA issue

Discussion forum for Enterprise Edition.
Post Reply
Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

[SOLVED] MTA issue

Post by Maur0V »

hi to all.
I've an enterprise installation (ver 9.74) on a win 2012R2 64bit with a san storage via ISCSI
recently a new problem has began
MTA hang (or to say it better it ends up ports ) every day/couple of day
we don't have any pickup event, just clamav, an external spamassasin an a couple of filter configured.
All other protocols works fine (SMTP receive mail during problem) but i've to restart the service to make it work again (just MTA service)
I've found this in Windows registry:

Nome registro: System
Origine: Tcpip
Data: 10/05/2017 15:18:16
ID evento: 4231
Categoria attività:Nessuna
Livello: Avviso
Parole chiave: Classico
Utente: N/D
Computer: srv-posta
Descrizione:
Request to allocate a temporary port number from the global TCP port space failed. All ports of this type are in use.
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Tcpip" />
<EventID Qualifiers="32768">4231</EventID>
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>

any idea on how to solve?
i've alread reduced MTA thread from 64 to 8 but nothing changed .....

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: MTA issue

Post by MailEnable-Ian »

Hi,

I'm not sure I understand when you say: "MTA hang (or to say it better it ends up ports ) every day/couple of day". The MTA agent does not bind to any ports to listen on. It simply routes messages to their respective queue location. Therefore the event log error indicating TCP IP problems is not associated to the MTA agent in any way.

If the MTA agent not no longer processing messages you need to inspect the MTA agent activity and debug log files at the time of the problem to see what is happening and if it is not showing evidence of messages not being processed.
Regards,

Ian Margarone
MailEnable Support

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: MTA issue

Post by Maur0V »

I've made some deeper inspection.
MTA is responsable of spamassassin testing, as said through an external server. the problem seems to be that MTA doen't close the connection to spamassassin server.

doing an netstat -aqo i see (obvisuly not a complete list)

TCP 192.168.240.185:2973 192.168.240.187:783 TIME_WAIT 0
TCP 192.168.240.185:2974 192.168.240.187:783 TIME_WAIT 0
TCP 0.0.0.0:2971 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2973 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2974 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2978 srv-posta:0 BOUND 4336

doing it a bit later:
TCP 0.0.0.0:2971 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2973 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2974 srv-posta:0 BOUND 4336
TCP 0.0.0.0:2978 srv-posta:0 BOUND 4336
TCP 0.0.0.0:3000 srv-posta:0 BOUND 4336

task 4336 is MEMTAS as seen through task manager. restarting MTA will close the BOUND connection.

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: MTA issue

Post by Maur0V »

a little update:
in 25 minutes, whith spamassassin enabled, i've recived 284 mail
MTA port in use has grown up to 218 (never getting less in time)
checking in spamassassin server point out that connections are closed, so it's seems to be an MTA issue in releasing ports

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: MTA issue

Post by Maur0V »

Any news? problem still here. I dislike restart MTA service reguraly......but at the moment it's the only solution......

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: MTA issue

Post by Maur0V »

i've seen the beta 9.75 that say

FIX: Introduced memory leak in 9.73 for MTA when using SpamAssassin

when is planed the release of this version? (and.... a little feedback here would have been appreciated )

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: MTA issue

Post by MailEnable-Ian »

Hi,

It's been released. It's on our downloads page.
Regards,

Ian Margarone
MailEnable Support

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: MTA issue

Post by Maur0V »

Problem seems to be solved whith 9.75. Thanks

Post Reply