Skip to main content

Web Traffic

Comments

14 comments

  • Hi,

     

    AWStats is a reliable and commonly used tool for analyzing your website's visitor statistics in cPanel. I'd recommend using it if you want a convenient way to check your site's traffic statistics. It’s included with cPanel and works well for most use cases.

     

    It usually doesn't require a long time for the server to process logs for a high traffic site. However, if the server is under a high load, it can cause delays in log processing. Depending on your server's configuration, the traffic statistics should be processed every 24 hours but you can change the configuration in WHM > "Statistics Software Configuration"

     

    If you don't see AWStats in the cPanel interface, it's likely disabled in account's the feature list. I recommend checking to ensure the AWStats feature is enabled for the account's package in WHM > Feature Manager.

    0
  • Andy83

    Hi,

    My server load average is about 15.00 to 20.00.

    Will AWStats run under such load? 

    Can my websites and AWStats run concurrently? 

    0
  • Hi,

     

    Whether AWStats can run smoothly under your current server load depends largely on how many CPU cores your server has. As a general guideline, if the server’s load average is consistently higher than the number of CPU cores, the system is considered overloaded. You can check your CPU core count by running:

    nproc
    

    If the load average is above that value, AWStats may run more slowly or be delayed. AWStats itself is not very resource‑heavy, but it does depend on the system’s ability to process logs in a timely manner. 

     

    You can also review the statistics processing status in WHM under:
    WHM » Statistics Software Configuration
    If the system detects that stats processing is falling behind, it will display a warning there.
     
    For additional reference, here are some articles that may help you diagnose and manage server load:
     
     

     

    0
  • Andy83

    Thanks William for your reply.

    [root@hello ~]# nproc
    48

    [root@hello ~]# uptime
     03:14:29 up 44 days,  2:15,  1 user,  load average: 9.53, 13.29, 14.04

        PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
     713114 mysql     20   0   67.3g  56.8g  26624 S 275.2  45.3  18105:23 mariadbd

    ---

    1. Can I confirm that the server is running fine as long as load average is below 48 which is total CPU core count? 

    2. How do you define overloaded? Lack of memory (RAMS) or CPU intensive? In this case, mariadbd took up the most CPU? Is 275% considered normal?

    0
  • William Del Piero cPanel Staff

    Hi,

     

    Based on the information you provided, the server does not appear to be overloaded. A load average only becomes a concern when it consistently exceeds the number of CPU cores and users begin to see performance issues. Since your system has 48 CPU cores, the current load averages you shared (9–14) are well within acceptable limits. Although lack of memory can also lead to performance issues, it is common for linux systems to show high memory usage since they use it for disk caching.

     

    With that said, if server load is affecting stats generation, you should be able to see a warning about stats generation lagging in WHM > Statistics Software Configuration.

    0
  • Andy83

    Hi,

    Should I notice the server load is high, how do I terminate AWStats halfway while it is running?

    0
  • Raj Mane

    If you want basic server-based statistics like pageviews and visitors without adding any tracking code, AWStats is still a solid choice. However, if you're looking for a more user-friendly interface and more in-depth insights, you can also think about using tools like Google Analytics or Matomo.

    Because it processes log files, AWStats can take some time to generate reports for high-traffic sites. However, once it is configured with frequent updates, it typically operates more quickly and doesn't cause significant problems.

    AWStats is probably not enabled on your server if you are unable to view it in cPanel. You can either ask your hosting company or administrator to activate it for your account, or you can activate it from WHM.

    0
  • Andy83

    Thanks William and Raj.

    So I have not used AWStats for more than one year. How long do I need to wait for AWStats to generate the web statistics for the past few months?

    AWStats has been running for the past 1 hour without any issue. 

     

    0
  • Hi,


    Thank you for your update! If AWStats has been disabled for a long period (such as a year), the system does not retroactively rebuild historical statistics from old logs. It will only begin generating data based on the logs currently available on the server. In most cases, once AWStats is re‑enabled, the system should complete its initial processing within the first 24 hours depending on overall log size and server load. Additionally, AWStats normally should not consume significant resources, but you can disable AWStats in WHM > Statistics Software Configuration if needed.

     

    Lastly, you can run the following script to force the server to manually update the web statistics for a cPanel user:

     

    /usr/local/cpanel/scripts/runweblogs username
    0
  • Andy83

    Hi, it has been more than 24 hours but I still did not see any AWStats generated.

    So I tried to run the command as suggested. I replaced my domain with abcdef for privacy reasons. I also use the username as abcdef 

    ---

    Log checker loaded ok..
    ==> cPanel Log Daemon version 26.0
    [2026-04-03 02:54:11 +0800] Processing logs during blackout period...
    [2026-04-03 02:54:11 +0800] [sepxferlog]
    [2026-04-03 02:54:11 +0800] [sepxferlog] complete
    [2026-04-03 02:54:11 +0800] Processing abcdef ...
    [2026-04-03 02:54:11 +0800] Run Logs domain: abcdef.com.sg BW Limit: unlimited Domains: [abcdef.sg]
    [2026-04-03 02:54:11 +0800] Process bandwidth for abcdef 
    [2026-04-03 02:54:11 +0800] Disk Usage for abcdef on /dev/mapper/rl-root (87844944/0)
    [2026-04-03 02:54:11 +0800] Archive Status for abcdef : 1
    [2026-04-03 02:54:11 +0800] Processing abcdef, fork() required to drop privs with (domains:2 domains)
    [2026-04-03 02:54:11 +0800] [setuid] abcdef (uid=1002,gid=1003)
    [2026-04-03 02:54:11 +0800] Can't find /home/abcdef/tmp/stats.conf ... skipping
    [2026-04-03 02:54:12 +0800] The system has archived any ModSecurity logs.
    [2026-04-03 02:54:12 +0800] 2 of 2: Skipping abcdef, no activity since 0 [Thu Jan  1 07:30:00 1970] (domains:2 domains)
    [2026-04-03 02:54:12 +0800] Complete

    --

    After that, I visited AWStats but still nothing. 

    0
  • Hi,

     

    Based on the output provided, it appears that cPanel did not detect any usable web access logs for the domain during processing. To help confirm if the access logs are being updated, can you try manually viewing the domain access logs on the server to check if they show any recent activity for the domain? The following article should guide you on how-to locate the domain access logs:

     

    Where can I find domain access logs?

    0
  • Andy83

    Hi William. Yes the access logs can be found in the following destinations. It shows the recent updates as April 3.

    Domain access logs can be found in the following locations (replace $USER with a cPanel username):

    /home/$USER/access-logs/
    /etc/apache2/logs/domlogs/$USER/

    Archived access logs are located in the logs folder within the users home directory:

    /home/$USER/logs/
    0
  • Andy83

    Hi, the AWStats has finally generated. So 3 days have passed. But it did not show March stats. Is this normal? It is showing from 03 April 2026.

    0
  • Hi,

    Thank you for confirming that the access logs are present and showing recent activity.

    Since the logs appear to be updating correctly on the server, this behavior is unexpected and will require a deeper review to determine why cPanel is not detecting or processing them properly. To investigate this further, I'd suggest opening a ticket so the issue can be reviewed with direct server access.

    0

Please sign in to leave a comment.