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

qmail / relaylock Problem

Discussion in 'Plesk for Linux - 8.x and Older' started by Gorgoroth, Nov 1, 2007.

  1. Gorgoroth

    Gorgoroth New Pleskian

    22
    57%
    Joined:
    Nov 1, 2007
    Messages:
    13
    Likes Received:
    0
    Hello everybody!

    Using SuSE 9.3 with Plesk 8.2.1 - upon booting the Server, all seems to work normally - shortly (really shortly) afterwards, Ples frontent dies with "too many SQL connections, SQL server unreachable".

    On the console, ps -A yields hundreds of "relaylock" processes. They add up by the dozen per second and after a few minutes the server freezes completely.

    Disabling qmail in smtp_psa in xinetd.d makes it run stable, mysql works like a dream then as well as any other application.

    Does anyone have a clue for me on how to fix that?

    Thanks a lot!
     
  2. jwdick

    jwdick Guest

    0
     
    A "relaylock" is an ip connection to your mail server. Try limiting ip connections to 1 per ip address. Then the offending sending server must release the first "relaylock" before trying to send again.
     
  3. Gorgoroth

    Gorgoroth New Pleskian

    22
    57%
    Joined:
    Nov 1, 2007
    Messages:
    13
    Likes Received:
    0
    Ok, will give that a try... also: why is the server running normally for well over 600 days and suddenly it freezes with this (reproducable) problem?
     
  4. jwdick

    jwdick Guest

    0
     
    I'm not convinced that the problem is with your server unless you know for sure that one or two ip addresses is not causing multiple locks. About a month ago, I had 4 ip addresses hitting my server with over 500 connections at any given time from each separate ip. Combine that with the normal connections it almost knocked my server to it's knees. I finally had to block all email connections till I found how to limit connections to 1. My regulars customers were not happy.
     
Loading...