Discover Centmin Mod today
Register Now

Install Where are the log files located?

Discussion in 'Centmin Mod Insights' started by pamamolf, Jun 27, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    4,028
    421
    83
    May 31, 2014
    Ratings:
    +817
    Local Time:
    8:06 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi


    Which files i must check for kernel/system mysql and php and nginx limits?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,922
    11,806
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,264
    Local Time:
    4:06 PM
    Nginx 1.25.x
    MariaDB 10.x
    Log limits or your mean which config files for system limits ?

    For system limits

    Code:
    /etc/sysctl.conf (only editing on non-OpenVZ servers)
    /etc/security/limits.conf
    /etc/security/limits.d/90-nproc.conf
    for config files

    • Nginx is at /usr/local/nginx/conf/nginx.conf
    • PHP-FPM you have PHP include file at /usr/local/nginx/conf/php.conf accessed via command shortcut = phpinc and php-fpm.conf at /usr/local/etc/php-fpm.conf accessed via command shortcut = fpmconf
    • MySQL at /etc/my.cnf accessed via command shortcut = mycnf
    For other command shortcuts and their paths check FAQ 16 at http://centminmod.com/faq.html
     
    Last edited: Jun 27, 2014
  3. pamamolf

    pamamolf Well-Known Member

    4,028
    421
    83
    May 31, 2014
    Ratings:
    +817
    Local Time:
    8:06 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I mean which log files to check for errors related to limits from kernel/system nginx mysql and php-fpm :)

    Sorry for my bad english ...
     
  4. eva2000

    eva2000 Administrator Staff Member

    50,922
    11,806
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,264
    Local Time:
    4:06 PM
    Nginx 1.25.x
    MariaDB 10.x
    Oh for log files FAQ 19 at http://centminmod.com/faq.html :)

    Highly recommend to re-read FAQ if you haven't already http://centminmod.com/faq.html ;)