shadowsocks-libev is available on snapcraft, however, it requires tweaking
fs.file-max to be functioning properly on large servers. Unfortunately, this need is complicated by the fact that snapd employs some sandboxing mechanism.
I did some digging and found two solutions:
- Install the package using
--classicwhich disables sandboxing entirely; (this seems to be not recommended)
snap run --shell shadowsocks-libev.ss-serverand tweak ulimits there. However, this seems to be quite complicated for an end user to perform. Furthermore, it is unclear how to write an automated script that tweaks the parameters upon server reboot.