For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System. Now we will see the commands for uninstalling the ejabberd from Ubuntu 12.04 LTS. How to uninstall/remove ejabberd from Ubuntu 12.04 LTS? If yours is not shown, get more details on the installing snapd documentation. Choose your Linux distribution to get detailed installation instructions. After completion of the installation you can use the package on your system. Install ejabberd on your Linux distribution. If you are not already logged in as su, installer will ask you the root password. Use dpkg -info (= dpkg-deb -info) to examine archive files,Īnd dpkg -contents (= dpkg-deb -contents) to list their ejabberd:Īfter system update use the following command to install ejabberd:Ībove command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If ejabberd is not installed on your compter then the command 'dpkg -L ejabberd' will give followin dpkg -L ejabberd This will update the list of newest versions of packages and its dependencies on your system.Īfter downloading the latest package list with the help of above you can run the installation process. But with ejabberd this option usually is not worth to experiment ( thread on mailing list).Above command will download the package lists for Ubuntu 12.04 LTS on your system. The experimental option -shared tries to reduce memory consumption. It impacts memory consumption but the difference will be quite small.Įrl -s ejabberd -env ERL_MAX_ETS_TABLES 20000. You can safely increase this limit when starting ejabberd. When the limit is reached, errors will appear in the logs: The number of concurrent ETS and Mnesia tables is limited. Number of Concurrent ETS and Mnesia Tables: ERL_MAX_ETS_TABLES Modification of this option will consume some memory and CPU time. You can configure this in the web interface: Nodes -> 'mynode' -> DB Management. In Mnesia you can configure each table in the database to be stored on RAM, on RAM and on disk, or only on disk. Mnesia Tables to Diskīy default, ejabberd uses Mnesia as its database. If you meet all requirements, you can enable it in this way: erl -s ejabberd +K true. Passed to the emulator, a warning is issued at startup. The file filepath must be readable by the user ejabberd. If the emulatorĭoesn't have kernel poll support and the +K flag is restore filepath Restore user database of the ejabberd server from backup file filepath. The kernel poll functionality is disabled. Additionaly, you need to enable this feature while compiling Erlang.įrom Erlang documentation -> Basic Applications -> erts -> erl -> System Flags:Įnables or disables the kernel poll functionality By default, Erlang currently supports kernel polling under FreeBSD, Mac OS X, and Solaris. The kernel polling option requires that you have support for it in your kernel. Hence this option is only interesting on machines that host other services (webserver, mail) on which ejabberd does not receive constant load.Įrl -s ejabberd -env ERL_FULLSWEEP_AFTER 0. Note that this option may downgrade performance. The ERL_FULLSWEEP_AFTER option shrinks the size of the Erlang process after RAM intensive events. ERL_FULLSWEEP_AFTER: Maximum number of collections before a forced fullsweep As these processes are implemented in Erlang, and therefore not related to the operating system processes, you do not have to worry about allowing a huge number of them.Įrl -s ejabberd +P 250000. If there is a lot of activity on ejabberd so that the maximum number of proccesses is reached, people will experiment greater latency times. Maximum Number of Erlang Processes: +PĮrlang consumes a lot of lightweight processes. The option ERL_MAX_PORTS limits the number of concurrent connections and can be specified when starting ejabberd:Įrl -s ejabberd -env ERL_MAX_PORTS 5000. Erlang Ports Limit: ERL_MAX_PORTSĮrlang consumes one port for every connection, either from a client or from another Jabber server. Remark that some of the described options are experimental. This page lists several tricks to tune your ejabberd and Erlang installation for maximum performance gains.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |