HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla forum take high CPU usage

I've been using vanilla forum and has observed, that the CPU load of php container is very high during http calls.

I've done load testing on the forum and found to load homepage, categories page and discussion page the load goes upto 100% for 20 user for each call. It goes upto 300% when the number of users increase to 100 with 10 requests each. In my docker container it always goes upto 200-300% for 10 users 10 requests.

We have enabled OpCache and memcached on our forum, but still the CPU usage is very high. When there is no calls the idle is at ~1%.

Using vanilla v3.3.

PHP 7.3.13 (cli) (built: Dec 28 2019 21:16:17) ( NTS )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.3.13, Copyright (c) 1998-2018 Zend Technologies

  with Zend OPcache v7.3.13, Copyright (c) 1999-2018, by Zend Technologies

  with Xdebug v2.9.4, Copyright (c) 2002-2020, by Derick Rethans

Could anyone please help with any information, advice and suggestion on cause of this high usage and for decreasing the usage?

Thanks in advance!

Sign In or Register to comment.