Menu

Max number of clients on Jamulus server

2021-01-04
2021-01-23
  • Marv Zauderer

    Marv Zauderer - 2021-01-04

    Hello -- I'm currently using the -u 20 option to allow 20 singers in my Jamulus-based community song circle. What is the max? I'm running 3.6.2. Thanks.

     
  • DonC

    DonC - 2021-01-04

    Hi Marv,
    According to the documentation the maximum is 50.
    https://jamulus.io/wiki/Command-Line-Options
    It seems to me, however, that more (maybe 100) is possible. The question is if your server has the computing power and bandwidth necessary for so many clients. Be sure to use the -T command line argument on the server to enable multi-threading.
    Have fun !
    Don

     
  • Olof Backing

    Olof Backing - 2021-01-15

    From the source code (global.h):

    // maximum number of connected clients at the server (must not be larger than 256)
    #define MAX_NUM_CHANNELS                 150 // max number channels for server
    

    And this is what you get when trying "to hard":

    obg001@mbp src % /Applications/JamulusServer.app/Contents/MacOS/JamulusServer -u 151
    /Applications/JamulusServer.app/Contents/MacOS/JamulusServer: '--numchannels' needs a numeric argument between 1 and 150