1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

SMTP Delay

Discussion in 'Plesk for Linux - 8.x and Older' started by omegauser, Feb 13, 2006.

  1. omegauser

    omegauser Guest

    0
     
    Hi,

    I having the following problems:

    When I try to send an email from Thunderbird or outlook, and the message box appears telling you "Connecting to server" it takes tooooooo long! maybe 10 seconds or so to connect, the it send the email.

    Any ideas???? is not the Internet connection, and the problem is just with accounts in my plesk server.
     
  2. jwdick

    jwdick Guest

    0
     
    Sounds like you may be getting a delay doing reverse lookups. Try editing your smtp_psa file and add:

    -Rt0 just after the " server_args = "

    This will disable reverse lookup here and speed things up considerably for you.
     
  3. omegauser

    omegauser Guest

    0
     
    Hi, thanks!

    I was just going to do what you told me, but suddenly is responding fast again, now here is night, there is no ttraffic right now, could it be that?

    Where is the smtp_psa file?
     
  4. jwdick

    jwdick Guest

    0
     
    It could be heavy traffic slowing down your server, but I would think it would have to be "heavy" traffic. The next time it slows, use the #top command to get an idea of memory usage and what processes are running.

    the smtp_psa file in located in the "/etc/xinetd.d" folder on my server. You can do a search with:

    #find -name smtp_psa

    to find the file.
     
  5. omegauser

    omegauser Guest

    0
     
    Take a look with the command>

    Any suggestions?


    Tasks: 145 total, 12 running, 132 sleeping, 0 stopped, 1 zombie
    Cpu(s): 99.7% us, 0.3% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
    Mem: 509040k total, 477452k used, 31588k free, 40520k buffers
    Swap: 1044216k total, 2040k used, 1042176k free, 123868k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    7897 root 25 0 7164 1548 5452 R 10.3 0.3 1118:10 autoresponder
    4586 root 25 0 6812 1548 5452 R 10.3 0.3 344:54.61 autoresponder
    21785 root 25 0 6116 1564 5452 R 9.9 0.3 4077:12 autoresponder
    19429 root 25 0 6120 1548 5452 R 9.9 0.3 2486:17 autoresponder
    28971 root 25 0 6764 1548 5452 R 9.9 0.3 515:55.37 autoresponder
    32767 root 25 0 10740 4264 5452 R 9.9 0.8 452:54.53 autoresponder
    4559 root 25 0 7196 1556 5452 R 9.6 0.3 344:54.78 autoresponder
    19393 qmaild 25 0 4276 1348 3216 R 8.6 0.3 0:30.08 qmail-smtpd
    4637 root 25 0 10872 4268 5452 R 7.0 0.8 344:54.39 autoresponder
    4553 root 25 0 7016 1544 5452 R 6.6 0.3 344:54.77 autoresponder
    4565 root 25 0 6156 1544 5452 R 6.6 0.3 344:54.71 autoresponder
    19531 root 16 0 3480 956 1620 R 0.7 0.2 0:00.27 top
    1 root 16 0 3084 460 1316 S 0.0 0.1 0:11.08 init
    2 root 34 19 0 0 0 S 0.0 0.0 0:00.06 ksoftirqd/0
    3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
    4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
    6 root 7 -10 0 0 0 S 0.0 0.0 0:00.01 khelper
    5 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
    7 root 15 0 0 0 0 S 0.0 0.0 0:06.24 pdflush
    8 root 15 0 0 0 0 S 0.0 0.0 0:00.06 pdflush
    10 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
    9 root 15 0 0 0 0 S 0.0 0.0 0:02.41 kswapd0
    113 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
    147 root 15 0 0 0 0 S 0.0 0.0 2:58.74 kjournald
     
  6. jwdick

    jwdick Guest

    0
     
    You have 10 autoresponders consuming 90% of your cpu time. That would seem excessive to me. However, I am not an expert on this particular aspect of the server. maybe someone else can chime in here to give some advice.
     
  7. omegauser

    omegauser Guest

    0
     
    what are the autoresponders???? are the autoresponders from email service?

    I put the result in a new thread.

    Thnaks!
     
  8. Highland

    Highland Guest

    0
     
    This is just a guess but I'd say you have a few users who get a lot of email and who have some sort of autoresponder turned on. Unfortunately there's no way I know of to look at all the autoresponders that are turned on. You'll have to run domain to domain and see. Thankfully the Mail page shows you who has an autoresponder for that domain. Try disabling the autoresponders one by one and see if it improves.
     
  9. StudioSever

    StudioSever Guest

    0
     
    Hello,

    I have the same problem wih smtp delay and I also fixed this by adding the -Rt0 to the smtp_psa file.

    But when I did this I could't send mail to other networks, I always got an error: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

    Also have checked "My server requires authentication".

    Any clue?


    Facts: RHEL 3, Plesk 7.5.4

    Regards,
    Mitja
     
Loading...