MyBB Community Forums

Full Version: MyBB Files - Causing my host to completely max out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm using SiteGround Shared webhosting, and I was just looking on the cPanel and noticed this, it's been happening for a while now, constantly reaching the limit of account executions.

[Image: 25iou3m.png]

I contacted my host to ask them why this was happening, and here's what they said:

Quote:Hello,

Thank you for contacting SiteGround HelpDesk.

We have checked the server records about your account and we found that the following scripts were mostly executed :

1900 /home/thediscu/public_html/community/xmlhttp.php
1139 /home/thediscu/public_html/community/showthread.php
465 /home/thediscu/public_html/community/forumdisplay.php

As far as I can see the xmlhttp.php file was the one which is cause the high number of executions for your account. I will recommend you to revise that script in case it is configured to communicate with other web sites or simply send your forum posts to other forums.

If you need further help, do not hesitate to contact us again.

Best Regards,

Stanislav.I
Technical Support Team

xmlhttp.php is causing the highest number of account executions.

Is there anything I can do about this?

Please don't say 'Move webhost', because I don't want to, I've been here for a year now, they provide great webhosting, fast, great support, etc. All the other features are unlimited. My site isn't overally big, and I don't see how it's maxing out like this, I'm guessing it's some kind of bot/crawler that's doing this, whatever it is, it needs to be stopped.

Thanks.

Do you have something like a shoutbox on your forum?? I mean showthread and forumdisplay are obviously going to get hit a lot as they're the main files that are used in a forum, but 1139 and 465, which I assume is how many hits they're getting, is hardly very high is it.
Here are my plugins:

[Image: 30niyxd.png]
Right, you have a shoutbox and you're wondering why xmlhttp.php is getting a lot of hits?? Well, that's why xmlhttp.php is getting a lot of hits. Do you have it show for guests?? Show on all page or just index?? How often does it refresh?? As for the other files, short of telling people not to visit your forums, you can't get those files to be executed less.
(2011-03-03, 06:40 PM)MattRogowski Wrote: [ -> ]Right, you have a shoutbox and you're wondering why xmlhttp.php is getting a lot of hits?? Well, that's why xmlhttp.php is getting a lot of hits. Do you have it show for guests?? Show on all page or just index?? How often does it refresh?? As for the other files, short of telling people not to visit your forums, you can't get those files to be executed less.

Disabled the Shoutbox, I didn't know about xmlhttp.php, but now I do, thanks. It is shown for guests, and it's just on the index, it refreshes every 30 seconds.

Not sure how to change it to move it off the index page, if that's possible or not.

Just on the index isn't as bad, some people have it on all pages, but still, if it's on the index, it's a hit on xmlhttp.php for every user that visits the forum, and one every 30 seconds after that... it'll start to add up.
Newpoints, though it is really great, is a big resource sucker.

Use MyShoutbox instead of the one you are currently using.
(2011-03-03, 08:42 PM)Darth Stabro Wrote: [ -> ]Newpoints, though it is really great, is a big resource sucker.

No, it is not. It was made exactly to be fast and consume less resources than any other points system available for MyBB. And in the latest version it was also re-coded in order to use even less resources.
If you want to point out any issues, please let me know and show me the actual code which is causing the problem.

As for the shoutbox, use MyShoutbox 1.5, this version comes with plenty of performance improvements and you can enable it for registered users only to decrease the amount of xmlhttp.php calls.