• hurry

    (@extremist87)


    i want to know details surrounding cpu, memory and database usage.

    • is there currently too many users on the website?
    • is a particular bot flooding the website?
    • is it currently sending out too many emails? each email going out is it going out once or is it doubling up?
    • is there a database query thats taking too long to return a result?
    • is there a page thats chewing up resources?

    these are the kind of things i want to know more about, and would like to know how this is possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iSaumya

    (@isaumya)

    Hi @extremist87,
    The details you are looking, for them you need to install separate tracking tool directly in your server and then check the details via those tools. These things can only be done if you have root access to the server. The plugin can provide outline data but cannot dig deeper as it requires additional server level tool.

    Thread Starter hurry

    (@extremist87)

    what kind of server level tool? any examples sir?

    Plugin Author iSaumya

    (@isaumya)

    Hi @extremist87,
    Sure, I can provide you with some general tools and techniques that might help:

    1. To check if there are too many users on your website, you can use a monitoring tool like Netdata or Munin to monitor the number of active connections to your web server. For Apache, you can use the mod_status module to view the number of active connections, while for Nginx, you can use the stub_status module. You can also check the server’s load average using the uptime or top commands in the terminal.
    2. To identify if a particular bot is flooding your website, you can use log analysis tools like AWStats or Webalizer to review your web server logs. For Apache, you can find the logs in the logs directory of your Apache installation, while for Nginx, the logs are typically located in the /var/log/nginx/ directory. You can also use the tcpdump command to capture network traffic and analyze it with tools like Wireshark.
    3. To determine if your server is sending too many emails, you can use the mailq command to check the number of emails in the mail queue. If you suspect that emails are being sent multiple times, you can review the email logs to identify any duplicate messages. This is not related to the web server but rather to the mail server software.
    4. To identify a database query that is taking too long, you can use the slow query log feature of your database server to log all queries that take longer than a specified threshold. For Apache, you can use the mod_dbd module with mod_log_sql to log slow queries, while for Nginx, you can use the ngx_postgres module to log slow queries to a PostgreSQL database.
    5. To identify a page that is using up resources, you can use a web server monitoring tool like Apache JMeter or LoadRunner to simulate user traffic and measure the resource usage of each page. For Apache, you can also use the mod_status module to view the resource usage of individual processes. For Nginx, you can use the stub_status module to view the resource usage of worker processes. Additionally, you can use the top command to check the CPU and memory usage of individual processes on your server.

    Hope this helps. ?? If you need more detailed info, please do consider searching the web about how to use these tools if you would like to use them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘detailed resource usage’ is closed to new replies.