X
X

Select Your Currency

₺ Türk Lirası $ US Dollar
X
X

Select Your Currency

₺ Türk Lirası $ US Dollar

A Guide to Finding Slow Site Problems with Server Optimization

HomepageArticlesTechnical GuidesA Guide to Finding Slow Site Proble...

Server optimization is not about raising every limit at random; it means identifying, based on evidence, which layer is causing the slowness and correcting only that point. First, record whether the delay appears on all pages or during a specific operation, and how resource usage changes at the same time. This allows you to distinguish network latency, application processing, disk access, and insufficient resources, so you can choose the next safe step.

Define access and measurement scope before server optimization

If you use shared hosting, your access is generally limited to the hosting panel's resource usage, error log, PHP or application settings, and any available performance screens. On a managed or self-managed server, you may also be able to examine system resources, web server logs, application logs, and database measurements. Do not change a system setting you are not authorized to modify; especially on shared servers, it may not be possible to increase an account's limit.

Before starting the investigation, note the address of the slow operation, its approximate time, how the operation can be repeated, and the expected result. Instead of opening the same page at different times, compare the same URL, the same user action, and similar data whenever possible. Save the current setting before making a change; if a backup option is available, back up the relevant configuration or application settings, and change only one factor at a time.

Six safe steps for separating the source of slowness

1. Verify the scope and timing of the delay

First, check the home page, the operation that was reported as problematic, and, if possible, a static file within the same time range. If only one dynamic page is slow, the application, a plugin, or a database query is more likely to be responsible. If static files are also delayed, you need to examine the web server, network, disk, or general resource pressure. Slowness that appears only during certain hours may be related to traffic or scheduled tasks.

2. Examine the server resource screen and time correlation

On the panel's resource usage screen, check CPU, memory, disk space, disk operations, and process limits. On a managed server, check the system monitoring graphs for the same time range. If CPU usage remains close to its limit, look for an application task or query consuming the processor. If memory is full and swap usage is increasing, application processes may slow down; if disk space is full, log writing and temporary operations may also be affected.

For example, in a hypothetical product catalog, the page may wait only when a filter is applied, while CPU usage rises at that moment and static images open at their normal speed. This finding calls for examining the filter operation's query log or the application profile, not immediately increasing overall server capacity. If all resources rise at the same time and other pages are also slow, the problem may be broader than a single application operation.

3. Find the same request in the error and access logs

Open the site's error log in the panel, or, on a managed server, open the web server and application logs. Look for new lines within the time range you noted earlier; timeouts, insufficient memory, refused connections, and permission errors require different corrections. A single error line may explain only the visible result, so also check repeated records from the same time range and identify which URL or component is associated with the request.

If a particular plugin or application module causes a timeout on every request, first evaluate its version, its most recent change, and the disable option in its own administration screen. Do not delete files or disable all plugins at once. After the change, run the same failed operation again and examine the new timestamped entry. If the error has disappeared, limit the correction to that component; if another error appears, do not assume that the first record explained the entire cause.

4. Separate application and database wait time

If slowness occurs only during data-intensive operations such as searches, reports, or filtering, check the application's processing time and the database query logs. If a slow query appears, examine the fields filtered by the query, the amount of data returned, and whether the application repeatedly requests the same data. If query time is normal but the application response is long, external service calls, file operations, or processor-intensive code paths are more likely.

The appropriate decision here depends on what you observe: if the delay occurs only with large result sets, limit the number of results or correct the application's pagination setting; for a costly query that is repeated continuously, a developer should review the query and the related database structure. Randomly increasing database settings does not replace addressing insufficient disk space or an incorrect query.

5. Change one safe setting and measure again

If it is clearly shown that a particular PHP operation has reached its memory limit, first check the safe value range documented by the application and the upper limit allowed by the hosting plan. Change the appropriate panel setting, record the old value, and run the same request again. If the memory error disappears in the new record and the operation completes, the result has been verified; if the page merely waits longer but no new error appears, examine the processing-time or query side instead.

Similarly, if disk space has fallen to a critical level, first review the retention policy for backups and logs; without deleting important records, use safe archiving or the storage-management option offered by the provider. If the problem continues, roll back the application change and return to the previous setting. Disabling security checks, enabling publicly visible debugging output, or broadly relaxing file permissions does not count as safe optimization.

6. Verify the result with new evidence and know the limit

After the change, test again using the same URL, the same user action, and, if possible, the same data. Record the test time and examine only the newly created error and access records; check whether a different bottleneck appears in the resource graph at the same time. Even if the problem appears to be fixed, do not treat a single successful attempt as permanent proof. If the symptom continues and the relevant log or resource graph is not visible in the shared hosting panel, contacting the provider with the timestamp, URL, and observed symptom is the safe fallback.

Which finding supports which optimization decision?

  • If only a specific dynamic operation is slow: examine the application log, query duration, and relevant plugin; increasing general server resources is not the first option.
  • If static and dynamic content are slow together: compare resource graphs, disk operations, connection load, and web server logs for the same time range.
  • If a memory or process limit is clearly exceeded: first determine why the operation grew; then change one permitted setting in a controlled manner and preserve the rollback value.
  • If no local log shows new evidence: before making changes, separate measurements from the network, DNS, external service, or provider side.

If you would also like to evaluate server selection or capacity options, you can compare your requirements with the existing resource records and review the server rental options page. The safest next step is to run the same request you recorded one more time and evaluate only the new evidence from that test time.


Top