Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Web host complaining about CPU load
Hi all,
I have been using Vanilla with a handful of extensions on my moderately-busy site for a month and it has been great. The forum is lean, clean, and loads fast. The site is at http://www.dovforums.com
However, an admin from the hosting company I use sent me an e-mail saying that my forum is using "excessive" CPU resources. I am currently paying for a shared hosting plan and it suits my needs just fine in terms of bandwidth and disk space. My site runs great, but apparently Vanilla is hogging up a lot of resources behind the scenes?
The admin has been nice enough to investigate and has narrowed down the source of the drain: The main "Discussions" page. Here are some e-mails. Any help will be greatly appreciated because a.) I would love to continue using Vanilla b.) I don't want to have to change hosting companies (headache) c.) I don't want to have to pay more for a dedicated host just to run Vanilla.
-----
Our resource monitoring scripts have noticed your site is using almost 4% of the CPU resources and nearly 10% of system memory. This is almost double of what we consider a generally acceptable amount for a single site. You do seem to get quite a bit of traffic but not really enough to justify this type of resource usage. What kind of forum software are you using? It seems that it might be rather inefficient. We're just hoping we can discuss and come to a resolution before this becomes a bigger problem. Thanks.
-----
It looks like:
Top Process %CPU 21.5 httpd [www.dovforums.com] [/]
Top Process %CPU 20.5 httpd [www.dovforums.com] [/]
Top Process %CPU 14.0 httpd [www.dovforums.com] [/?CategoryID16]
These are your top processes. The main page, and that one category. I would check and see... something on your main page seems to be hanging, which might be your issue.
-----
It appears that the sites frontpage is stilling pulling pretty heavy on the server:
httpd [www.dovforums.com] [/] %CPU 21.5
You might want to begin looking at our semi-dedicated and dedicated servers since this problem is not being resolved at this time. We are afraid if your site gets heavily used we will have to insist on such a move in the future.
As well, you might try caching the discussions on the frontpage and regernating every couple of minutes instead of for each page pull. Thanks.
------
0
This discussion has been closed.
Comments
This would be useful as an extension IMO
Clearly there's a number of reasons for no big sites using it yet but the unproven nature of it for heavy usage is a little worrying. With hundreds of simultaneous users the smallest optimisation goes a long way. Has there ever been load testing for Vanilla?
This is an issue that plagues a lot of forum software, not just vanilla.
There are a handful of you guys (whoops and gals) who have built some excellent add-ons. You understand the workings of Vanilla and how to use the delegates and other things within Vanilla. I consider myself a hacker and not a developer. I can hack until I get something to work, but that's not the best way.
If we had a team of code-reviewers, now while there are only x extensions, we have a better chance to ensure that everything works together. Look at WP and it's growth. I personally welcome someone looking at my code and advising me on better ways to do things. It can make me a better programmer and make Vanilla better in the long run.