1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Check resource usage by each addon

Discussion in 'XenForo Questions and Support' started by Namoh, Jan 10, 2016.

  1. Namoh

    Namoh Member

    I'm wondering if this is possible? To check what addon is using the most resources and from the information be able to determine if the addon is needed or not.
     
  2. wang

    wang Well-Known Member

    You can see how many times that add on has been purchased or downloaded. You can also check all the ratings and reviews that it has received. Or you can also read members posts and the developer 's replies in its support topic.

    Or were you talking about something entirely different?
     
  3. Namoh

    Namoh Member

    Yes, lol. I mean the resources it is using on the server.
     
  4. James

    James Well-Known Member

    In terms of resources what are you referring to? Debug mode let's you check queries and page loads etc. Give that a shot see what pops out.

    Are you suffering from slowdowns or is it just routine maintenance?
     
  5. Namoh

    Namoh Member

    Slowdowns, according to my host I'm at certain poins peaking at 160% CPU usage. Checked this in the logs and I'm assuming it's one of the addons. I tried Debug mode but it doesent really tell me much unless I'm reading it incorrectly, not really sure how to read it :p
     
  6. AndyB

    AndyB Well-Known Member

  7. Namoh

    Namoh Member

  8. wang

    wang Well-Known Member

    My appologies for the misunderstanding sir.

    If you place your forum in debug mode, as adviced above, at the bottom of the page you will see the number of queries. By disabling add ons one at a time, you can notice how many queries that particular add on has added to the page load.

    What add ons do you have installed, if one can ask?
     
  9. Namoh

    Namoh Member

    I have these: http://prntscr.com/9osl8v
     
  10. wang

    wang Well-Known Member

    I do not use any of them myself, and as such I do not know how many queries they do add, if any. Can you disable them one by one, and by each add on disable, check the queries queries and page load on forum index, or whatever place those add on add their stuff. That will tell you all you need to know.
     
  11. James

    James Well-Known Member

    The auto link titles I don't believe to be necessary any longer as the latest version of XF introduced this. @Chris D can you confirm if that addon has anything the core XF doesn't have feature-wise?
     
  12. Chris D

    Chris D XenForo Developer Staff Member

    There's a few small, technical differences, but ultimately it's the same thing.
     
  13. Namoh

    Namoh Member

    It there a setting in XenForo I have to enable for it to be similar or is it already by default?
     
  14. James

    James Well-Known Member

    There is a setting you should be able to find it with the ACP search.
     
  15. Namoh

    Namoh Member

    I'm unable to find it through searching for "links"
     
  16. James

    James Well-Known Member

    Search for urlToPageTitle
     
    Namoh likes this.
  17. Namoh

    Namoh Member

    Thanks!
     
  18. Namoh

    Namoh Member

    So, I got a response back from my host. They checked the logs and managed to find what is causing the issues I'm having with CPU usage. At times I peak to 160% CPU usage. This is the log I was sent from my host:

    Code:
    2631   200   POST /index.php?liveupdate
    2591   200   POST /index.php?chat/refresh
    
    Ofcourse I have removed the other ones that do not have a big impact on the CPU or Ram.
     
  19. James

    James Well-Known Member

    Makes sense. Live update & chat addons do poll the server so can be more server intensive.
     
  20. Namoh

    Namoh Member

    Spoke to the makers of the chat addon and they gave me great support, told me some things to try to see if it helps.
     

Share This Page