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

Plesk server down every night

Discussion in 'Plesk for Linux - 8.x and Older' started by mr_exclusive, Dec 14, 2006.

  1. mr_exclusive

    mr_exclusive Basic Pleskian

    24
    73%
    Joined:
    Jul 15, 2006
    Messages:
    56
    Likes Received:
    0
    Hi,

    My plesk i falling dawn every night for 5min at 4:07 until 4:12

    log:

    nscd: 6104 no more memory for database 'hosts'

    wdcollect [7220]: SMTP server error: 'relaylock: db_connect: failed to connect do database: Error: Too many connections 220 ESMTP

    free space on drive 200gb
    server ram 4gb

    what should i do to fix it?
    please help

    gr,
    mr
     
  2. mr_exclusive

    mr_exclusive Basic Pleskian

    24
    73%
    Joined:
    Jul 15, 2006
    Messages:
    56
    Likes Received:
    0
    problem fixed, i just needed to change mysql variables to higher values
     
  3. bcstaat

    bcstaat Guest

    0
     
    where did you make the changes?

    Thanks,
    Brad
     
  4. mr_exclusive

    mr_exclusive Basic Pleskian

    24
    73%
    Joined:
    Jul 15, 2006
    Messages:
    56
    Likes Received:
    0
    /etc/my.cfg
     
  5. bcstaat

    bcstaat Guest

    0
     
    thank you!
     
  6. MegaCrash

    MegaCrash Guest

    0
     
    Whats variables do you change in "my.cnf" ?
     
  7. mr_exclusive

    mr_exclusive Basic Pleskian

    24
    73%
    Joined:
    Jul 15, 2006
    Messages:
    56
    Likes Received:
    0
    key buffer 384MB

    max_connections = 2500
     
  8. MegaCrash

    MegaCrash Guest

    0
     
    Thanks, i will try.
     
  9. poshtiban

    poshtiban Guest

    0
     
    I have this problem yet.
    I monitor my server and see that connectiones use pconnect method to connect mysql.
    I see connect to mysql not realesed for long time untill mysql crach and restart.
    this ocur after I upgrage plesk to 8.1
    please help me :(
     
  10. MegaCrash

    MegaCrash Guest

    0
     
    I tried to change variables values. That helped! ThanX!
     
  11. cmurphy@

    cmurphy@ Guest

    0
     

    It is recommended to NOT set max-connections above 700
     
Loading...