Skip to:
Content
Pages
Categories
Search
Top
Bottom

How many Users can bbpress handle


  • gbxdigital
    Participant

    @gbxdigital

    Hello BBpress

    When we have 50+ users online at any one time the forum crashes, what can be done?
    How many users can bbpress handle at once?

Viewing 9 replies - 1 through 9 (of 9 total)

  • Robin W
    Moderator

    @robin-w

    given that wordpress uses bbpress, suspect loads more than 50 !

    care to define what ‘the forum crashes’ actually means ?


    gbxdigital
    Participant

    @gbxdigital

    Hi, we are having problems with 150-500
    Can you help?

    System works up to first 50 then locks up.


    Pascal Casier
    Moderator

    @casiepa

    Hi,
    the ‘locks up’ makes it still extremely difficult for us to troubleshoot…
    What version of WP and bbPress ?
    What errors do you get ?
    If you run with a provider, did you ask statistics about network, database usage ? Or you have a backend where you can see that for yourself ?


    bentennysonblog
    Participant

    @bentennysonblog

    Yea me too having the same problem. It crashes because of overloading.


    gbxdigital
    Participant

    @gbxdigital

    Hi
    Thank you for the feedback!

    bbPress 2.5.12
    WP Version: 4.7.3

    We got this error….ERROR: admin-ajax.php: 502 Bad Gateway
    Since the forum is checking for new replies every minute per user
    we had to adjust some settings on nginx configuration.

    We added this config to reduce the amount of queries:
    nginx_fastcgi_buffers: 8 8k
    nginx_fastcgi_buffer_size: 4k

    We found this but cannot figure out what to do: http://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage

    We do not often get error messages but rather what we get are the following as more users come on the site.
    -Site slows down to a crawl
    -site locks up, freezes
    -When it regains questions duplicate or triplicate.

    Could I give you WP access?

    Our web site is dfiuniversity.com and while want to use bbpress for our forum it seems we are not setting it up properly or bbpress cannot manage 150 – 500+++ users at one time. Maybe we should try firebase for such an intense forum? We expect our users to increase to 1k plus soon.

    Regards


    gbxdigital
    Participant

    @gbxdigital

    Regarding these questions….
    If you run with a provider, did you ask statistics about network, database usage ? Or you have a backend where you can see that for yourself ?

    We use Liquidweb. LW noticed surges on the server but nothing that the server cannot handle. The server has 8 cores.


    Pascal Casier
    Moderator

    @casiepa

    You might have a great server, but what is the load on the database itself, and how about network stats ?


    gbxdigital
    Participant

    @gbxdigital

    Hi Pascal
    The forum is programmed to automatically check for new replies every minute. BUT as more and more people go into the forum the server jams. This is not your typical forum and people are typing, clicking, sending, voting and replying with a furious pace because they need to lock in bets. It seems that NGINX and WP can not handle the amount of new replies and other requests from admin-ajax.php and jams up. Do you have another solution for checking for new replies and managing the heavy load of request? For now we are turning off the automatic reply check and the forum may work better but people still have an option to manually check for replies and that could jam if everyone clicks too many times.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    This is a classic question/problem, that has many-many possible answers.

    Your first resource for improving anything should be what’s available on this codex page:

    Improving Performance

    Everything that’s on that page should be considered, implemented, and tuned. Most of that isn’t specific to bbPress (and is appropriate even just for most WordPress installs) but plugins like bbPress will show huge improvements with adequate caching available.

    * Concurrent users
    * Database slowness
    * Page load times
    * Excessive database queries

    Improving each of those 4 things requires tweaking & tuning specific things for your specific hardware setup. And if you’re on shared hosting, you might not be able to change any of that configuration at all.

    The “concurrent users” problem that BuddyPress & bbPress sites have is actually a good problem to have – it means people are using your site and participating in your community. Server configuration is critical here, as is having adequate hardware that will be ready to serve those requests to your users.

    The reason most WordPress installations don’t have the same problem, is because there are fewer (if any) logged in users interacting with a traditional blog, news, or website without participation. Comments are the only database interaction, and most people disable them these days anyways.

    There are companies (such as WeFoster) whose primary focus is on optimizing their hosting environments for active communities. They’ll offer all of the above and more to help you tune specific things.

    In my experience, it’s easier to identify a specific performance concern, and improve that one thing until you’re happy enough to move onto the next concern.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar