This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Out of connections and mail delayed

My SMTP log is full of failed connections. Is there anything I can do to allow more connections, 20 is the most?
 
Is this a sign that something else may be wrong as mail delays have just started today. Would appreciate any pointers on where to look.
 
Running ASL on a Dell dual PIII 1650 server 2Gb RAM. Version 7.304 with all latest patern updates, etc.
 
Thanks in advance!
 
Chris
 
[FONT=monospace]2009:01:22-17:46:23 (none) exim[4089]: 2009-01-22 17:46:23 Connection from [84.26.126.185]:63481 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:23 (none) exim[4089]: 2009-01-22 17:46:23 Connection from [190.26.149.143]:1227 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:23 (none) exim[4089]: 2009-01-22 17:46:23 Connection from [190.67.136.48]:22961 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:24 (none) exim[4089]: 2009-01-22 17:46:24 Connection from [94.181.239.11]:3604 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:24 (none) exim[4089]: 2009-01-22 17:46:24 Connection from [170.51.156.119]:23899 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:24 (none) exim[4089]: 2009-01-22 17:46:24 Connection from [170.51.156.119]:23906 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [82.139.48.230]:4250 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [170.51.156.119]:23910 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [200.102.191.213]:61983 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [170.51.156.119]:23913 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [67.76.212.82]:61116 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [94.178.249.32]:3329 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [201.232.218.44]:64156 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [77.101.94.172]:56275 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [190.67.136.48]:22968 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [190.159.219.55]:2000 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [190.67.194.122]:18054 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [89.138.180.169]:17242 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:25 (none) exim[4089]: 2009-01-22 17:46:25 Connection from [190.161.232.165]:1371 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:26 (none) exim[4089]: 2009-01-22 17:46:26 Connection from [41.221.17.193]:59784 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:26 (none) exim[4089]: 2009-01-22 17:46:26 Connection from [87.97.98.85]:2110 refused: too many connections[/FONT]
[FONT=monospace]2009:01:22-17:46:26 (none) exim[4089]: 2009-01-22 17:46:26 [/FONT]


This thread was automatically locked due to age.
Parents
  • Chris, there is a way to up the number of concurrent smtp connections that Astaro will accept.   My understanding is that in prior versions, the Denial of Service checkbox was what controlled whether it was wide open or limited to 20 connections.  That hasn't been an option for a while now.

    The following pertains to version 7.305
    Update the smtp_accept_max parameter in /var/storage/chroot-smtp/exim.conf to a higher number.  I then restarted my Astaro instance to ensure that it took effect (not sure if that is necessary or not).

    I'm having a similar flood of e-mail, and am getting lots of "rejected: too many connections" messages (100,00+ in last 24 hours).  I've just upgraded to 7.305 from 7.304 and pushed the max up to 50 concurrent.  I'll also be keeping an eye on performance, but so-far no issues.  I'm still getting the refusals, but am anticipating that things will settle down once the backlog works through.

    Ben
  • Upped connections to 50 and things are moving along. 35-40 seems to be the sweet spot from monitoring but higher will work for future issues.
     
    Thanks for the tip on the max connections.
     
    Regards,
     
    Chris
     
     
    Chris, there is a way to up the number of concurrent smtp connections that Astaro will accept. My understanding is that in prior versions, the Denial of Service checkbox was what controlled whether it was wide open or limited to 20 connections. That hasn't been an option for a while now.
     
    The following pertains to version 7.305
    Update the smtp_accept_max parameter in /var/storage/chroot-smtp/exim.conf to a higher number. I then restarted my Astaro instance to ensure that it took effect (not sure if that is necessary or not).
     
    I'm having a similar flood of e-mail, and am getting lots of "rejected: too many connections" messages (100,00+ in last 24 hours). I've just upgraded to 7.305 from 7.304 and pushed the max up to 50 concurrent. I'll also be keeping an eye on performance, but so-far no issues. I'm still getting the refusals, but am anticipating that things will settle down once the backlog works through.
     
    Ben
  • I am having the same issue with emails being delayed over 1.5 hours.  I have noticed that many connections are being refused and after seeing this post am convinced that is the issue.  Unfortunately however I am no Linux guy so I can not get access to the shell.

    I SSH'd to the ASG using putty and can get to the login prompt but my admin user/pass combo does not work, my standard username/pass doesn't work so I am stumped.

    I read that you can not log in via the admin username to the SSH and that you have to use the "loginuser" and then do an su - but to be honest I tried all the users I know of none of them work.  Any thoughts?  I really need to fix this issue.  Thanks much!
  • With SSH, you _must_ login as 'loginuser'. (The username is literally loginuser.)
    You need to enable that, and set the password in the web admin. Also, you need to set the root password so you can use 'su'.

    Barry
  • That did the trick.  Thank you!
Reply Children
No Data