sometimes websites not reachable

  • Hi,


    Sometimes my websites are not reachable but the panel is reable without any problem.
    After a server restart it runs smooth for few fews then i need to restart to solve the same problem.


    In the apache error.log i have these errors:


    All is in standart configuration. What can i do to evite that?


    Thanks in advance.

    Sry for my bad english :)

  • Hello


    Quote


    ...
    server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting
    ...


    The answer is here. Search on our forum and/or google.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi,


    Thank you for the information, i have take a look into the actuall configuration:


    Code
    1. <IfModule mpm_worker_module>
    2. StartServers 2
    3. MinSpareThreads 25
    4. MaxSpareThreads 75
    5. ThreadLimit 64
    6. ThreadsPerChild 25
    7. MaxRequestWorkers 150
    8. MaxConnectionsPerChild 0
    9. </IfModule>

    Maybe 250 is a good value here, or need a lot higher ex. 500 ?

    Sry for my bad english :)

  • Re;


    There is not well know good values. All this depends on your environment and so on. You must perform some tests.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin


    Thank you.


    I will rise the MaxRequestWorkers to 250-300 on /etc/apache2/mods-available/mpm_worker.conf an then service apache2 restart.


    And lets see if it runs smooth with that in the future :)


    PS. it is a VPS (KVM) 12GB RAM , Intel®Xeon® E5-26xxV3

    Sry for my bad english :)