Memory needs: a few megabytes
Yes, NNGS uses (one socket per TCP-connection, and) one connection per connected used.
Filedescriptors: add a few more for disk I/O etc. (say: 110 for 100 users)
Typical top-output (for 92 connected users) ::
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2916 nngs 20 0 4428 3204 880 S 0.3 0.2 0:01.16 nngssrv
2817 nngs 20 0 5852 1552 1260 S 0.0 0.1 0:00.04 bash
2915 nngs 20 0 8568 2848 1964 S 0.0 0.1 0:00.00 sendmail
HTH,
AvK
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How much memory does nngs need when supporting, say, 100 users?
Does nngs maintain an open TCP connection with every player connected to it?
Thanks!
Memory needs: a few megabytes
Yes, NNGS uses (one socket per TCP-connection, and) one connection per connected used.
Filedescriptors: add a few more for disk I/O etc. (say: 110 for 100 users)
Typical top-output (for 92 connected users) ::
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2916 nngs 20 0 4428 3204 880 S 0.3 0.2 0:01.16 nngssrv
2817 nngs 20 0 5852 1552 1260 S 0.0 0.1 0:00.04 bash
2915 nngs 20 0 8568 2848 1964 S 0.0 0.1 0:00.00 sendmail
HTH,
AvK