Cloud Service >> Knowledgebase >> WHM >> Check Apache Status in WHM
submit query

Cut Hosting Costs! Submit Query Today!

Check Apache Status in WHM

It makes sense for system administrators and WEB hosting providers to check Apache's status in WHM occasionally. It provides the ability to track the usage of the Apache web server, discover problems, and confirm that everything with the websites is running correctly. This tutorial will explain what the information provided by the Apache Status interface in WHM looks like and how to verify if Apache is enabled. It will shed some light on the data that can be obtained.

 

Understanding Apache and WHM

Apache HTTP server, or simply Apache, is a widely-used open-source software that a system can use to deliver web page content to its users over the internet. This panel of control is sturdy and empowers the administrator to manage the server's web hosting environment and, of course, configure Apache.

 

Importance of Monitoring Apache Status

It is essential to monitor Apache's status for various important reasons:

Performance Issues: If your websites are loading slowly or experiencing connectivity issues, reviewing the Apache status can assist in identifying the problem.

Resource Management: Understanding how Apache manages server resources can help improve performance.

Problem-solving: The Apache status page offers valuable information to identify the root cause of issues that may occur.

Steps to Check Apache Status in WHM

Step 1: Log into WHM

- Access your WHM login page by opening your internet browser and entering the URL https://yourserverip:2087.

- Input your primary username and password to sign in.

Step 2: Access Apache Status

- Once logged in, locate the search bar on the left sidebar of the WHM dashboard.

- Type "Apache Status" into the search bar.

- Click on Apache Status from the search results or navigate to the menu: Server Status > Apache Status.

Step 3: Review Apache Status Information

After opening the Apache Status page, you will be able to view a comprehensive summary of the server's present situation:

 

Basic Server Information

Server Version: Displays the version of Apache currently running on your server.

Server Built: Indicates the date and time when Apache was installed.

Current Time: Shows the current server time.

Restart Time: Displays the last time Apache was restarted.

Parent Server Generation: Indicates how many times Apache has been gracefully restarted.

Server Uptime: This relates to the total number of times the server has been active since it was last rebooted.

Total Accesses: The number of requests and the number of requests the server has served.

Total Traffic: It includes the total amount of traffic expressed in MB transmitted during the period in consideration.

CPU Usage: When enabled, it displays the current percentage of CPU usage.

Scoreboard

The scoreboard section provides a snapshot of Apache's current processes. Each line represents a worker process and includes the following information:

Srv: The worker's server number.

PID: The process ID assigned by the operating system.

Acc: The number of requests this worker has served.

M: The current mode of the worker, which can include:

Blank: Waiting for a connection.

S: Starting to process a request.

R: Reading a request.

W: Sending a reply.

K: In keep-alive mode, waiting for further requests.

D: Performing a DNS lookup.

C: Closing the connection.

I: Cleaning up idle workers.

.: Idle worker.

CPU: The worker's CPU usage.

SS: The number of seconds since the worker started processing the most recent request.

Req: The time taken to process the most recent request in milliseconds.

Conn: The amount of data transferred to the client in kilobytes (KB).

Child: Total data transferred by the worker in kilobytes (KB).

Slot: Total data transferred by the slot in megabytes (MB).

Client: The IP address of the user making the request.

VHost: The virtual host associated with the request.

Request: The type of request received (e.g., GET or POST).

Step 4: Interpreting Apache Status Data

Understanding the data presented on the Apache Status page is critical to effective server management. Below are some guidelines for deciphering the data:

Elevated CPU Usage: Persistent high CPU usage could suggest that the server is overwhelmed or that inefficient scripts are in operation.

Too many requests: A large volume of access requests could suggest significant traffic, leading to the need for resource scaling or server performance improvements.

Idle Workers: Many idle workers suggest that Apache needs to be processing requests efficiently, which might be expected during low-traffic periods.

Error Requests: Many requests containing errors may suggest problems related to specific scripts or configurations.

Conclusion

Monitoring the Apache status in WHM is crucial for ensuring the well-being and efficiency of your web server. You can easily access and interpret the Apache status information by following the above steps. Consistent monitoring enables you to address possible problems ahead of time, improve server performance, and guarantee a dependable experience for your website's visitors. Gaining insight into the details of the Apache status page will enable you to make knowledgeable choices regarding your server management tactics.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!