CubePathCubePathDOCS
WebsiteSupportDashboard
DocsGuidesProduct docsAPI referenceService status
Documentation

Knowledge Base

Find guides, tutorials, and documentation to help you get the most out of CubePath services.

Popular Categories

Showing 12 of 12 guides

Performance Optimization

How to Analyze Performance with strace and ltrace on Ubuntu

Use strace and ltrace on Ubuntu 24.04 to count system calls, time slow I/O and network calls, attach to running processes and trace library calls safely.

January 11, 2026Read
Performance Optimization

How to Find CPU Bottlenecks with perf on Ubuntu 24.04

Install Linux perf on Ubuntu 24.04, count CPU events, profile programs and running services, and build flame graphs to find the functions that burn CPU time.

January 11, 2026Read
Performance Optimization

How to Tune Linux Kernel Parameters with sysctl on Ubuntu

Learn how sysctl works on Ubuntu 24.04, persist kernel changes in /etc/sysctl.d, and tune memory, file and network parameters for servers without guesswork.

January 11, 2026Read
Performance Optimization

How to Tune the Linux TCP Stack and Enable BBR on Ubuntu

Tune TCP buffers, enable BBR congestion control, size connection queues and port ranges on Ubuntu 24.04, and measure the gain with iperf3, ss and nstat.

January 11, 2026Read
Performance Optimization

How to Raise ulimit and Open File Limits on Ubuntu 24.04

Diagnose and fix Too many open files errors on Ubuntu 24.04 by raising ulimit values in limits.conf, systemd service units and Docker, then verify each change.

January 11, 2026Read
Performance Optimization

How to Configure Redis as a Cache on Ubuntu 24.04

Install Redis on Ubuntu 24.04, turn it into a secure LRU cache with a memory limit and password, cache data from Python with TTLs and measure the hit rate.

January 11, 2026Read
Performance Optimization

How to Install and Configure Memcached on Ubuntu 24.04

Install Memcached on Ubuntu 24.04, size its memory, threads and connections, keep it off the public internet, cache data from Python and PHP and read its stats.

January 11, 2026Read
Performance Optimization

How to Tune PHP-FPM Pool Settings on Ubuntu 24.04

Size PHP-FPM pm.max_children from real memory use, pick dynamic, static or ondemand mode, enable the status page and slow log, and verify it on Ubuntu 24.04.

January 11, 2026Read
Performance Optimization

How to Configure PHP OPcache for PHP-FPM on Ubuntu 24.04

Tune PHP OPcache for PHP-FPM on Ubuntu 24.04: size its memory and file limits, choose a revalidation strategy, clear it on deploys and check the hit rate.

January 11, 2026Read
Performance Optimization

How to Enable Gzip and Brotli in Nginx and Apache on Ubuntu

Enable gzip and Brotli compression in Nginx or Apache on Ubuntu 24.04, serve precompressed assets and verify with curl that text responses shrink by 70-80%.

January 11, 2026Read
Performance Optimization

How to Benchmark a Web Server with Apache Bench (ab)

Install Apache Bench on Ubuntu 24.04, run load tests against any web server, read requests per second and latency percentiles, and compare results reliably.

January 11, 2026Read
Performance Optimization

How to Load Test a Web Server with wrk and siege on Ubuntu

Install wrk and siege on Ubuntu 24.04, run HTTP load tests, script POST requests with Lua, replay URL lists and read latency percentiles to find your limits.

January 11, 2026Read