Set PHP realpath_cache_size ‘correctly’

Set PHP realpath_cache_size ‘correctly’

<?php var_dump(realpath_cache_size()); ?> Enjoy! realpath_cache_size = 4M realpath_cache_ttl = 120 Note that if your using Apache Prefork-mpm mod_php to run PHP (the fastest when loading only PHP and not with static content) then…

htop: Quick Guide & Customization

htop: Quick Guide & Customization

htop uses a cursor-controlled interface for sending signals to processes. One example where this is helpful is: you don’t have to type in PIDs; select one or more processes using your mouse cursor…

MySQL Performance Tuning: Tips, Scripts and Tools

MySQL Performance Tuning: Tips, Scripts and Tools

MySQLTuner supports Galera Cluster, TokuDB, Performance schema, Linux OS metrics, InnoDB, MyISAM, Aria, etc. – MySQLTuner on Github. You cannot replace Professional MySQL tuning with scripts. Scripts serve as essential guides, sometimes spot-on,…

dstat command in Linux w/ examples

dstat command in Linux w/ examples

-y, –sysenable system stats (interrupts, context switches)–snmp-cpu–floatforce float values on-screen (mutual exclusive with –integer)–top-io-advshow most expensive I/O process (incl. pid and other stats)–qmailshow qmail queue sizes (needs qmail)–top-bioshow most expensive block I/O process…

iftop command in Linux w/ examples

iftop command in Linux w/ examples

sudo iftop -F 192.168.1.0/24 pacman -S iftop iftop command examples iftop is a terminal program that shows network activity and details in text form. It’s suitable for users who want to monitor network…

Best Linux Distro (2024)

Best Linux Distro (2024)

This collection isn’t your typical lineup; it’s for the enthusiasts who relish in customization, efficiency, and a deep understanding of their system’s workings. From the ambitious endeavor of crafting your system from scratch…

Apache Performance: Disable .htaccess

Apache Performance: Disable .htaccess

There are two main reasons to avoid the use of .htaccess files. This search turned out to be unexpectedly time-consuming, but it eventually led me to this article. In the comments section, Martin from Foliovision…