| # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| # use this file except in compliance with the License. You may obtain a copy of |
| # the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| # License for the specific language governing permissions and limitations under |
| # the License. |
| |
| # Ensure that the Erlang VM listens on a known port |
| -kernel inet_dist_listen_min 9100 |
| -kernel inet_dist_listen_max 9100 |
| |
| # Tell kernel and SASL not to log anything |
| -kernel error_logger silent |
| -sasl sasl_error_logger false |
| |
| # This will toggle to true in Erlang 25+. However since we don't use global |
| # any longer, and have our own auto-connection module, we can keep the |
| # existing global behavior to avoid surprises. See |
| # https://github.com/erlang/otp/issues/6470#issuecomment-1337421210 for more |
| # information about possible increased coordination and messages being sent on |
| # disconnections when this setting is enabled. |
| # |
| -kernel prevent_overlapping_partitions false |
| |
| # Increase the pool of dirty IO schedulers from 10 to 16 |
| # Dirty IO schedulers are used for file IO. |
| +SDio 16 |
| |
| # Increase distribution buffer size from default of 1MB to 32MB. The default is |
| # usually a bit low on busy clusters. Has no effect for single-node setups. |
| # The unit is in kilobytes. |
| +zdbbl 32768 |
| |
| # When running on Docker, Kubernetes or an OS using CFS (Completely Fair |
| # Scheduler) with CPU quota limits set, disable busy waiting for schedulers to |
| # avoid busy waiting consuming too much of Erlang VM's CPU time-slice shares. |
| +sbwt none |
| +sbwtdcpu none |
| +sbwtdio none |
| |
| # Comment this line out to enable the interactive Erlang shell on startup |
| +Bd -noinput |