Pārlūkot izejas kodu

Updates quick-install with instructions for systemd config. (#3488)

Fixes too many open files.
master
Дамян Минков 7 gadus atpakaļ
vecāks
revīzija
9a1e9fff98
1 mainītis faili ar 18 papildinājumiem un 0 dzēšanām
  1. 18
    0
      doc/quick-install.md

+ 18
- 0
doc/quick-install.md Parādīt failu

@@ -65,6 +65,15 @@ org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>
65 65
 See [the documenation of ice4j](https://github.com/jitsi/ice4j/blob/master/doc/configuration.md)
66 66
 for details.
67 67
 
68
+Default deployments on systems using systemd will have low default values for maximum processes and open files. If the used bridge will expect higher number of participants the default values need to be adjusted (the default values are good for less than 100 participants).
69
+To update the values edit `/etc/systemd/system.conf` and make sure you have the following values:
70
+```
71
+DefaultLimitNOFILE=65000
72
+DefaultLimitNPROC=65000
73
+DefaultTasksMax=65000
74
+```
75
+To load the values and check them look [here](#systemd-details) for details.
76
+
68 77
 By default, anyone who has access to your jitsi instance will be able to start a conferencee: if your server is open to the world, anyone can have a chat with anyone else. If you want to limit the ability to start a conference to registered users, set up a "secure domain". Follow the instructions at https://github.com/jitsi/jicofo#secure-domain.
69 78
 
70 79
 ### Open a conference
@@ -111,3 +120,12 @@ Sometimes the following packages will fail to uninstall properly:
111 120
 When this happens, just run the uninstall command a second time and it should be ok.
112 121
 
113 122
 The reason for failure is that sometimes, the uninstall script is faster than the process that stops the daemons. The second run of the uninstall command fixes this, as by then the jigasi or jvb daemons are already stopped.
123
+
124
+#### Systemd details
125
+To reload the systemd changes on a running system execute `systemctl daemon-reload` and `service jitsi-videobridge restart`.
126
+To check the tasks part execute `service jitsi-videobridge status` and you should see `Tasks: XX (limit: 65000)`.
127
+To check the files and process part execute ```cat /proc/`cat /var/run/jitsi-videobridge.pid`/limits``` and you should see:
128
+```
129
+Max processes             65000                65000                processes
130
+Max open files            65000                65000                files
131
+```

Notiek ielāde…
Atcelt
Saglabāt