Category : Linux

Identify mount point e.g. via /etc/fstab Find systemd unit (see below) Add the found mount-unit to the After= statement in the *.service file  (see below) systemctl list-units | grep ‘/path/to/mount’ | awk ‘{ print $1 }’ path-to-mount.mount vi /etc/systemd/system/php-fpm.service [Unit] Description=The PHP FastCGI Process Manager After=syslog.target network.target path-to-m..

Read more

Install Repo cd /etc/yum.repos.d/ wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo Install Epel rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Install NTOP-NG yum erase zeromq3 yum clean all yum update yum install pfring n2disk nprobe ntopng ntopng-data cento yum install pfring-drivers-zc-dkms Open Firewall firewall-cmd –zone=public –add-port=3000/tcp –permanent firewall-cm..

Read more

# tuned-adm list Available profiles: – balanced – General non-specialized tuned profile – desktop – Optimize for the desktop use-case – latency-performance – Optimize for deterministic performance at the cost of increased power consumption – network-latency – Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance – ..

Read more

Great stuff from – https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/ # sysctl -a | grep dirty vm.dirty_background_ratio = 10 vm.dirty_background_bytes = 0 vm.dirty_ratio = 20 vm.dirty_bytes = 0 vm.dirty_writeback_centisecs = 500 vm.dirty_expire_centisecs = 3000 vm.dirty_background_ratio is the percentage of system memory that can be filled with “dirty” pages — memory pages that still need to be written to disk — ..

Read more