Reducing PHP's CPU usage by nearly 40% by upgrading from Ubuntu 20.04 to 22.04
At Oh Dear we've updated the OS on our servers and discovered a pretty nice side effect.
Read more [ohdear.app]
Posts tagged with ubuntu
At Oh Dear we've updated the OS on our servers and discovered a pretty nice side effect.
Read more [ohdear.app]
Gping - like regular ping, but with a graph! https://t.co/bPKWkEA8Zk #linux #ubuntu
— Colin O'Dell (@colinodell) 30 oktober 2017
Read more [twitter.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
A while ago, a disk of one of our DigitalOcean droplets had almost no free space. Ncdu (NCurses Disk Usage) is a command line tool to view and analyse disk space usage on Ubuntu. It can be installed with this command: sudo apt-get install ncdu Once it has been installed it can be launched by simply…
One of the easiest way of increasing the responsiveness of your server and guarding against out of memory errors in your applications is to add some swap space. Swap is an area on a hard drive that has been designated as a place where the operating system can temporarily store data that it can no longer hold in RAM.https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04The information written to disk will be slower than information kept in RAM, but the operating system will prefer to keep running application data in memory and use swap for the older data. Overall, having swap space as a fall back for when your system's RAM is depleted is a good safety net.
In this guide, we'll cover how to create and enable a swap file on an Ubuntu 14.04 server.
Adding swap is only to be used to give your server a bit of breathing space. If your server is constantly using a lot of swap memory consider upgrading the amount of RAM.