Linux Server Performance Optimization
13 reviewsLinux server performance tuning driven by measurement: PHP-FPM workers, database buffers, opcode cache, kernel parameters. From 2,000 UAH.
Service
Linux server performance optimization
The site is slow even though resources appear sufficient. Or the opposite — the server keeps hitting its ceiling, processes die and pages return errors under load. Optimization starts with measurement, not with editing configuration files at random.
What I check first
- what the actual bottleneck is — CPU, memory, disk or database;
- the PHP-FPM worker count: too few means queuing and timeouts, too many means memory exhaustion and crashes;
- database settings: buffer pool size, slow queries, missing indexes;
- the PHP opcode cache — frequently disabled or sized too small;
- swap and out-of-memory behaviour: why specific processes are being killed;
- static file serving and compression at web server level.
The typical finding
The most common cause of errors under load is not a "weak server" but a worker count left at its default and never recalculated against actual memory. Second most common is a database running a 128 MB buffer pool on a store whose database is several gigabytes.
What is included
Measurements under real traffic, Nginx and PHP-FPM tuned to your memory budget, MariaDB tuning, opcode cache, kernel and swap parameters, and Redis where it fits. A control measurement after every change, so the effect is observed rather than assumed.
What you receive
A server that carries your traffic without errors, with a description of what changed and why. Plus a marker for the traffic level at which the current configuration will stop being enough — so that scaling up is not a surprise.
Before and after
- The site is slow even though resources appear sufficient
- Under load, processes die and pages return errors
- Workers and the buffer pool left at defaults — 128 MB for a database of several gigabytes
- The bottleneck found by measuring under real traffic, with a control measurement after every change
- Nginx, PHP-FPM, MariaDB, opcode cache, kernel and swap tuned to your memory, Redis where it fits
- A record of what changed and why, plus the traffic level at which the setup stops being enough
Reviews (13)
5.0Звернувся за послугою «Оптимізація продуктивності Linux сервера». Під піками не вистачало ресурсів. Окремо порадували акуратністю в коді. Рекомендую без вагань.
«Оптимізація продуктивності Linux сервера» — саме те, що шукав. Диск був вузьким місцем під БД. Усе зробили в обумовлені строки, без зайвих питань. Проблему вирішено остаточно.
Замовляла «Оптимізація продуктивності Linux сервера» — під піками не вистачало ресурсів. Ціна відповідала обсягу, прихованих доплат не було. Зробили бекап перед роботами — приємно, що подбали.
Робили нам «Оптимізація продуктивності Linux сервера» — сервер гальмував без явної причини. Перед стартом детально пояснили що і навіщо. Видно, що людина глибоко розуміється на OpenCart. Рекомендую без вагань.
Робили нам «Оптимізація продуктивності Linux сервера» — сервер гальмував без явної причини. Підхід професійний, усе по суті. Проблему вирішено остаточно.