Learn about Centmin Mod LEMP Stack 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

    2,984
    278
    83
    May 31, 2014
    Ratings:
    +490
    Local Time:
    12:50 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

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

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    32,328
    7,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,911
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    2,984
    278
    83
    May 31, 2014
    Ratings:
    +490
    Local Time:
    12:50 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    32,328
    7,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,911
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 ;)
     
    • Like Like x 1
    • Useful Useful x 1