syncthing
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
syncthing [2020/04/09 18:32] – created francesco | syncthing [2020/05/18 16:40] (current) – francesco | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Per farlo partire al boot: | ||
+ | |||
+ | sul server ks: | ||
+ | |||
+ | $crontab -e | ||
+ | |||
+ | < | ||
+ | @reboot / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
Per collegarsi ad un PC distante: | Per collegarsi ad un PC distante: | ||
Line 17: | Line 29: | ||
* | * | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In FreeBSD è necessario modificare il numero massimo di open files aperti, per passare da questa situazione | ||
+ | |||
+ | < | ||
+ | # sysctl kern.maxfiles kern.maxfilesperproc kern.openfiles | ||
+ | kern.maxfiles: | ||
+ | kern.maxfilesperproc: | ||
+ | kern.openfiles: | ||
+ | </ | ||
+ | |||
+ | a quest' | ||
+ | |||
+ | < | ||
+ | # sysctl kern.maxfiles kern.maxfilesperproc kern.openfiles | ||
+ | kern.maxfiles: | ||
+ | kern.maxfilesperproc: | ||
+ | kern.openfiles: | ||
+ | </ | ||
+ | |||
+ | Si devono aggiungere questi parametri: | ||
+ | |||
+ | in / | ||
+ | |||
+ | < | ||
+ | kern.maxfilesperproc=1048576 | ||
+ | kern.maxvnodes=1048576 | ||
+ | kern.maxfiles=1048576 | ||
+ | kern.sched.preempt_thresh=224 | ||
+ | kern.sched.slice=3 | ||
+ | kern.sched.interact=5 | ||
+ | </ | ||
+ | |||
+ | io ho inserito solo le prime tre righe. |
syncthing.1586449921.txt.gz · Last modified: 2020/04/09 18:32 by francesco