Budget-friendly, full-performance, fully equipped servers in any desired location.
ExploreBudget-friendly, full-performance, fully equipped servers in any desired location.
ExploreServer optimization does not mean increasing every limit at once; it means measuring the observed bottleneck and changing only the relevant setting. On a Linux web server with administrator access, first make sure the same operation can be reproduced, compare CPU, memory, disk, and application logs over the same time interval, then make one change and verify the same request with new records.
This approach applies to a VPS, VDS, or physical server where you can manage the operating system and web services. If you use shared hosting, you cannot change settings such as CPU cores, the number of PHP workers, or the operating system cache. In that case, you are limited to the resource, cache, and application settings provided in the control panel, and you should request service-specific measurements from the provider.
Start by defining a single goal: is it the response time of a particular URL, requests waiting during peak hours, or operations failing to complete? If the problem appears only during heavy request periods, examine instantaneous CPU usage and the number of active processes. If it becomes apparent while writing large files or creating backups, prioritize disk usage and wait time; increasing all resources together makes it harder to determine which change helped.
Note when the problem appears in the server monitoring panel or the operating system’s standard resource screens. At the same time, check CPU usage, available memory, disk utilization, and the disk wait indicator. Web server access logs can provide evidence about response times, while error logs can provide additional evidence about why the application or worker stopped. Confirm the time zone used by the logs; comparing different times makes it easy to blame the wrong resource.
For a safe starting point, export the current configuration values or make a copy before changing anything. Save the settings of components such as the application, web server, and PHP worker pool separately. Reaching a value’s limit does not immediately mean that increasing it is the right choice: if memory is running out, increasing the number of workers may reduce waiting requests while pushing the system into swap and making overall response times even worse.
If CPU usage remains high for a long time while memory is sufficient and disk wait is low, heavy queries, compression, image processing, or unnecessary background tasks are possible candidates. First determine which application component is consuming the resources during the same operation; do not simply increase the number of web server workers. If increasing the process count grows the CPU queue, address application queries, plugins, or scheduled tasks first.
If available memory is falling, swap usage is increasing, or worker processes are being terminated because of insufficient memory, the appropriate response is not to raise the number of PHP or application workers without limit. Monitor the approximate memory consumption of each worker and set a lower upper limit that fits within the total capacity; also preserve the allocation reserved for database and cache services on the same server. If memory is sufficient but requests are still waiting, accept that the bottleneck may instead be CPU, disk, or an external service response, and move to another setting.
If disk wait rises while the CPU remains idle and response times in new access logs become longer during the same write operations, investigate temporary files, heavy log generation, or database writes. If disk usage is approaching a critical limit, review the retention policy and safe archiving process rather than simply deleting files; how long records are retained and where backups are stored varies by service.
For example, suppose that on an administrator-managed application server, CPU usage rises only while a report is being generated, while memory and disk wait remain normal. This observation supports investigating whether the report query and scheduled task are running at the same time, rather than adding more PHP workers. If the same symptom appeared during file writing, the decision would change; in that case, disk usage and the component producing the write operation would need to be assessed separately.
Successful optimization is not merely a reduction in one instantaneous measurement. The same operation must complete without errors, no new similar error should appear in the relevant record, and pressure on the resource being changed should decrease without another resource continually reaching its limit. If the problem occurs only during peak hours, compare different time intervals; improvement during a quiet period does not prove that the actual bottleneck has been removed.
If you do not have administrator access to take these measurements on your own server, you can use the server rental options page as a starting point for reviewing the options. Before changing technical settings, clarify which metrics and configuration levels the provider manages.
The first safe next step is to record one operation and its time when the problem recurs, then match the resource indicators from that interval with the relevant service logs. Do not change the configuration until the evidence points to a single bottleneck.
Copyright © 2026 All Rights Reserved
