ejabberd - Comments for "Падает ejabberd почти каждый день" https://www.ejabberd.im/node/4411 en Разобрался!!! Была причина не https://www.ejabberd.im/node/4411#comment-57002 <p>Разобрался!!! Была причина не в ejabberd. В /etc/pam.d/su был закоментированн параметр:<br /> session required pam_limits.so</p> Wed, 26 Jan 2011 06:24:05 +0000 Nean comment 57002 at https://www.ejabberd.im Авторизация пользователей из https://www.ejabberd.im/node/4411#comment-56976 <p>Авторизация пользователей из LDAP и vcard из LDAP.<br /> КОНФИГ!!!:</p> <p>%%%<br /> %%% Debian ejabberd configuration file<br /> %%% This config must be in UTF-8 encoding<br /> %%%<br /> %%% The parameters used in this configuration file are explained in more detail<br /> %%% in the ejabberd Installation and Operation Guide.<br /> %%% Please consult the Guide in case of doubts, it is available at<br /> %%% /usr/share/doc/ejabberd/guide.html</p> <p>%%% This configuration file contains Erlang terms.<br /> %%% In case you want to understand the syntax, here are the concepts:<br /> %%%<br /> %%% - The character to comment a line is %<br /> %%%<br /> %%% - Each term ends in a dot, for example:<br /> %%% override_global.<br /> %%%<br /> %%% - A tuple has a fixed definition, its elements are<br /> %%% enclosed in {}, and separated with commas:<br /> %%% {loglevel, 4}.<br /> %%%<br /> %%% - A list can have as many elements as you want,<br /> %%% and is enclosed in [], for example:<br /> %%% [http_poll, web_admin, tls]<br /> %%%<br /> %%% - A keyword of ejabberd is a word in lowercase.<br /> %%% The strings are enclosed in "" and can have spaces, dots...<br /> %%% {language, "en"}.<br /> %%% {ldap_rootdn, "dc=example,dc=com"}.<br /> %%%<br /> %%% - This term includes a tuple, a keyword, a list and two strings:<br /> %%% {hosts, ["jabber.example.net", "im.example.com"]}.<br /> %%%</p> <p>%%% ===================================<br /> %%% OVERRIDE OPTIONS STORED IN DATABASE</p> <p>%%<br /> %% Override global options (shared by all ejabberd nodes in a cluster).<br /> %%<br /> %%override_global.</p> <p>%%<br /> %% Override local options (specific for this particular ejabberd node).<br /> %%<br /> %%override_local.</p> <p>%%<br /> %% Remove the Access Control Lists before new ones are added.<br /> %%<br /> %%override_acls.</p> <p>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br /> %% Options which are set by Debconf and managed by ucf</p> <p>%% Admin user<br /> %% {acl, admin, {user, "admin", "example.ru"}}.<br /> {acl, admin, {user, "user1", "example.ru"}}.</p> <p>%% Hostname<br /> {hosts, ["example.ru"]}.</p> <p>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</p> <p>%%% =========<br /> %%% DEBUGGING</p> <p>%%<br /> %% loglevel: Verbosity of log files generated by ejabberd.<br /> %% 0: No ejabberd log at all (not recommended)<br /> %% 1: Critical<br /> %% 2: Error<br /> %% 3: Warning<br /> %% 4: Info<br /> %% 5: Debug<br /> %%<br /> {loglevel, 2}.</p> <p>%%<br /> %% watchdog_admins: If an ejabberd process consumes too much memory,<br /> %% send live notifications to those Jabber accounts.<br /> %%<br /> %%{watchdog_admins, ["bob@example.com"]}.</p> <p>%%% ================<br /> %%% SERVED HOSTNAMES</p> <p>%%<br /> %% hosts: Domains served by ejabberd.<br /> %% You can define one or several, for example:<br /> %% {hosts, ["example.net", "example.com", "example.org"]}.<br /> %%<br /> %% (This option is defined by debconf earlier)<br /> %% {hosts, ["localhost"]}.</p> <p>%%<br /> %% route_subdomains: Delegate subdomains to other Jabber server.<br /> %% For example, if this ejabberd serves example.org and you want<br /> %% to allow communication with a Jabber server called im.example.org.<br /> %%<br /> %%{route_subdomains, s2s}.</p> <p>%%% ===============<br /> %%% LISTENING PORTS</p> <p>%%<br /> %% listen: Which ports will ejabberd listen, which service handles it<br /> %% and what options to start it with.<br /> %%<br /> {listen,<br /> [<br /> {5222, ejabberd_c2s, [<br /> {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536}<br /> %%zlib,<br /> %%starttls, {certfile, "/etc/ejabberd/ejabberd.pem"}<br /> ]},</p> <p> %%<br /> %% To enable the old SSL connection method (deprecated) in port 5223:<br /> %%<br /> %%{5223, ejabberd_c2s, [<br /> %% {access, c2s},<br /> %% {shaper, c2s_shaper},<br /> %% {max_stanza_size, 65536},<br /> %% zlib,<br /> %% tls, {certfile, "/etc/ejabberd/ejabberd.pem"}<br /> %% ]},</p> <p> {5269, ejabberd_s2s_in, [<br /> {shaper, s2s_shaper},<br /> {max_stanza_size, 131072}<br /> ]},</p> <p> %% External MUC jabber-muc<br /> %%{5554, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {host, "muc.localhost", [{password, "secret"}]}<br /> %% ]},</p> <p> %% Jabber ICQ Transport<br /> %%{5555, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {hosts, ["icq.localhost", "sms.localhost"],<br /> %% [{password, "secret"}]}<br /> %% ]},</p> <p> %% AIM Transport<br /> %%{5556, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {host, "aim.localhost", [{password, "secret"}]}<br /> %% ]},</p> <p> %% MSN Transport<br /> %%{5557, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {host, "msn.localhost", [{password, "secret"}]}<br /> %% ]},</p> <p> %% Yahoo! Transport<br /> %%{5558, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {host, "yahoo.localhost", [{password, "secret"}]}<br /> %% ]},</p> <p> %% External JUD (internal is more powerful,<br /> %% but doesn't allow to register users from other servers)<br /> %%{5559, ejabberd_service, [<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {host, "jud.localhost", [{password, "secret"}]}<br /> %% ]},</p> <p> {5280, ejabberd_http, [<br /> %%{request_handlers,<br /> %% [<br /> %% {["pub", "archive"], mod_http_fileserver}<br /> %% ]},<br /> %%captcha,<br /> http_bind,<br /> http_poll,<br /> web_admin<br /> ]}</p> <p> ]}.</p> <p>%%<br /> %% max_fsm_queue: Enable limiting of lengths of "message queues"<br /> %% for outgoing connections. Roughly speaking, each message in such<br /> %% queues represents one XML stanza queued to be sent into<br /> %% an output stream it is serving.<br /> %% The default value is an atom 'undefined' which specifies no limiting.<br /> %%<br /> %% When specified globally, this option limits the message queue lengths<br /> %% for all ejabberd_c2s_in and ejabberd_service listeners,<br /> %% as well as for outgoing s2s connections.<br /> %%<br /> %% This option can also be specified as an option for ejabberd_c2s_in<br /> %% and ejabberd_service listeners, in wich case it will override<br /> %% the value of the global option.<br /> %%<br /> %%{max_fsm_queue, 1000}.</p> <p>%%<br /> %% s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.<br /> %% Allowed values are: true or false.<br /> %% You must specify a certificate file.<br /> %%<br /> {s2s_use_starttls, true}.</p> <p>%%<br /> %% s2s_certfile: Specify a certificate file.<br /> %%<br /> {s2s_certfile, "/etc/ejabberd/ejabberd.pem"}.</p> <p>%%<br /> %% domain_certfile: Specify a different certificate for each served hostname.<br /> %%<br /> %%{domain_certfile, "example.org", "/path/to/example_org.pem"}.<br /> %%{domain_certfile, "example.com", "/path/to/example_com.pem"}.</p> <p>%%<br /> %% S2S whitelist or blacklist<br /> %%<br /> %% Default s2s policy for undefined hosts.<br /> %%<br /> %%{s2s_default_policy, allow}.</p> <p>%%<br /> %% Allow or deny communication with specific servers.<br /> %%<br /> %%{{s2s_host, "goodhost.org"}, allow}.<br /> %%{{s2s_host, "badhost.org"}, deny}.</p> <p>%%<br /> %% The maximum allowed delay for retry to connect<br /> %% after a failed connection attempt to a remote server, in seconds.<br /> %% The default value is 300 seconds (5 minutes).<br /> %%<br /> %% The reconnection algorythm works like this: if connection fails,<br /> %% ejabberd makes an initial random delay between 1 and 15 seconds,<br /> %% then retries, and if this attempt fails, makes another delay,<br /> %% twice as long as previous. These attempts are performed either<br /> %% until a successful connection is made or until the next calculated<br /> %% delay is greated or equal than the value of s2s_max_retry_delay.<br /> %%<br /> %%{s2s_max_retry_delay, 300}.</p> <p>%%<br /> %% Outgoing S2S options<br /> %%<br /> %% Preferred address families (which to try first) and connect timeout<br /> %% in milliseconds.<br /> %%<br /> %%{outgoing_s2s_options, [ipv4, ipv6], 10000}.</p> <p>%%% ==============<br /> %%% AUTHENTICATION</p> <p>%%<br /> %% auth_method: Method used to authenticate the users.<br /> %% The default method is the internal.<br /> %% If you want to use a different method,<br /> %% comment this line and enable the correct ones.<br /> %%<br /> %{auth_method, internal}.</p> <p>%%<br /> %% Authentication using external script<br /> %% Make sure the script is executable by ejabberd.<br /> %%<br /> %%{auth_method, external}.<br /> %%{extauth_program, "/path/to/authentication/script"}.</p> <p>%%<br /> %% Authentication using ODBC<br /> %% Remember to setup a database in the next section.<br /> %%<br /> %%{auth_method, odbc}.</p> <p>%%<br /> %% Authentication using PAM<br /> %%<br /> %%{auth_method, pam}.<br /> %%{pam_service, "pamservicename"}.</p> <p>%%<br /> %% Authentication using LDAP<br /> %%<br /> {auth_method, ldap}.<br /> %%<br /> %% List of LDAP servers:<br /> {ldap_servers, ["127.0.0.1"]}.<br /> %%<br /> %% Encryption of connection to LDAP servers (LDAPS):<br /> %%{ldap_encrypt, none}.<br /> %%{ldap_encrypt, tls}.<br /> %%<br /> %% Port connect to LDAP server:<br /> {ldap_port, 389}.<br /> %%{ldap_port, 636}.<br /> %%<br /> %% LDAP manager:<br /> {ldap_rootdn, "cn=admin,dc=example,dc=ru"}.<br /> %%<br /> %% Password to LDAP manager:<br /> {ldap_password, "admin"}.<br /> %%<br /> %% Search base of LDAP directory:<br /> {ldap_base, "dc=example,dc=ru"}.<br /> %%<br /> %% LDAP attribute that holds user ID:<br /> {ldap_uids, [{"uid", "%u"}]}.<br /> %%<br /> %% LDAP filter:<br /> {ldap_filter, "(objectClass=shadowAccount)"}.</p> <p>%%<br /> %% Anonymous login support:<br /> %% auth_method: anonymous<br /> %% anonymous_protocol: sasl_anon | login_anon | both<br /> %% allow_multiple_connections: true | false<br /> %%<br /> %%{host_config, "public.example.org", [{auth_method, anonymous},<br /> %% {allow_multiple_connections, false},<br /> %% {anonymous_protocol, sasl_anon}]}.<br /> %%<br /> %% To use both anonymous and internal authentication:<br /> %%<br /> %%{host_config, "public.example.org", [{auth_method, [internal, anonymous]}]}.</p> <p>%%% ==============<br /> %%% DATABASE SETUP</p> <p>%% ejabberd uses by default the internal Mnesia database,<br /> %% so you can avoid this section.<br /> %% This section provides configuration examples in case<br /> %% you want to use other database backends.<br /> %% Please consult the ejabberd Guide for details about database creation.</p> <p>%% NOTE that ejabberd in Debian supports "out of the box"<br /> %% only mnesia (default) and ODBC storage backends.<br /> %% Working with MySQL and PostgreSQL DB backends requires<br /> %% building and installation of the corresponding Erlang modules,<br /> %% not distributed as a part of ejabberd.<br /> %% Refer to /usr/share/doc/ejabberd/README.Debian for details.</p> <p>%%<br /> %% MySQL server:<br /> %%<br /> %%{odbc_server, {mysql, "server", "database", "username", "password"}}.<br /> %%<br /> %% If you want to specify the port:<br /> %%{odbc_server, {mysql, "server", 1234, "database", "username", "password"}}.</p> <p>%%<br /> %% PostgreSQL server:<br /> %%<br /> %%{odbc_server, {pgsql, "server", "database", "username", "password"}}.<br /> %%<br /> %% If you want to specify the port:<br /> %%{odbc_server, {pgsql, "server", 1234, "database", "username", "password"}}.<br /> %%<br /> %% If you use PostgreSQL, have a large database, and need a<br /> %% faster but inexact replacement for "select count(*) from users"<br /> %%<br /> %%{pgsql_users_number_estimate, true}.</p> <p>%%<br /> %% ODBC compatible or MSSQL server:<br /> %%<br /> %%{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.</p> <p>%%<br /> %% Number of connections to open to the database for each virtual host<br /> %%<br /> %%{odbc_pool_size, 10}.</p> <p>%%<br /> %% Interval to make a dummy SQL request to keep alive the connections<br /> %% to the database. Specify in seconds: for example 28800 means 8 hours<br /> %%<br /> %%{odbc_keepalive_interval, undefined}.</p> <p>%%% ===============<br /> %%% TRAFFIC SHAPERS</p> <p>%%<br /> %% The "normal" shaper limits traffic speed to 1.000 B/s<br /> %%<br /> {shaper, normal, {maxrate, 1000}}.</p> <p>%%<br /> %% The "fast" shaper limits traffic speed to 50.000 B/s<br /> %%<br /> {shaper, fast, {maxrate, 50000}}.</p> <p>%%% ====================<br /> %%% ACCESS CONTROL LISTS</p> <p>%%<br /> %% The 'admin' ACL grants administrative privileges to Jabber accounts.<br /> %% You can put as many accounts as you want.<br /> %%<br /> %%{acl, admin, {user, "aleksey", "localhost"}}.<br /> %%{acl, admin, {user, "ermine", "example.org"}}.</p> <p>%%<br /> %% Blocked users<br /> %%<br /> %%{acl, blocked, {user, "baduser", "example.org"}}.<br /> %%{acl, blocked, {user, "test"}}.</p> <p>%%<br /> %% Local users: don't modify this line.<br /> %%<br /> {acl, local, {user_regexp, ""}}.</p> <p>%%<br /> %% More examples of ACLs<br /> %%<br /> %%{acl, jabberorg, {server, "jabber.org"}}.<br /> %%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.<br /> %%{acl, test, {user_regexp, "^test"}}.<br /> %%{acl, test, {user_glob, "test*"}}.</p> <p>%%<br /> %% Define specific ACLs in a virtual host.<br /> %%<br /> %%{host_config, "localhost",<br /> %% [<br /> %% {acl, admin, {user, "bob-local", "localhost"}}<br /> %% ]<br /> %%}.</p> <p>%%% ============<br /> %%% ACCESS RULES</p> <p>%% Define the maximum number of time a single user is allowed to connect:<br /> {access, max_user_sessions, [{10, all}]}.</p> <p>%% Maximum number of offline messages that users can have:<br /> {access, max_user_offline_messages, [{5000, admin}, {100, all}]}. </p> <p>%% This rule allows access only for local users:<br /> {access, local, [{allow, local}]}.</p> <p>%% Only non-blocked users can use c2s connections:<br /> {access, c2s, [{deny, blocked},<br /> {allow, all}]}.</p> <p>%% For all users except admins used "normal" shaper<br /> {access, c2s_shaper, [{none, admin},<br /> {normal, all}]}.</p> <p>%% For all S2S connections used "fast" shaper<br /> {access, s2s_shaper, [{fast, all}]}.</p> <p>%% Only admins can send announcement messages:<br /> {access, announce, [{allow, admin}]}.</p> <p>%% Only admins can use configuration interface:<br /> {access, configure, [{allow, admin}]}.</p> <p>%% Admins of this server are also admins of MUC service:<br /> {access, muc_admin, [{allow, admin}]}.</p> <p>%% All users are allowed to use MUC service:<br /> {access, muc, [{allow, all}]}.</p> <p>%% No username can be registered via in-band registration:<br /> %% To enable in-band registration, replace 'deny' with 'allow'<br /> % (note that if you remove mod_register from modules list then users will not<br /> % be able to change their password as well as register).<br /> % This setting is default because it's more safe.<br /> {access, register, [{deny, all}]}.</p> <p>%% By default frequency of account registrations from the same IP<br /> %% is limited to 1 account every 10 minutes. To disable put: infinity<br /> %%{registration_timeout, 600}.</p> <p>%% Everybody can create pubsub nodes<br /> {access, pubsub_createnode, [{allow, all}]}.</p> <p>%%<br /> %% Define specific Access rules in a virtual host.<br /> %%<br /> %%{host_config, "localhost",<br /> %% [<br /> %% {access, c2s, [{allow, admin}, {deny, all}]},<br /> %% {access, register, [{deny, all}]}<br /> %% ]<br /> %%}.</p> <p>%%% ================<br /> %%% DEFAULT LANGUAGE</p> <p>%%<br /> %% language: Default language used for server messages.<br /> %%<br /> {language, "ru"}.</p> <p>%%<br /> %% Set a different default language in a virtual host.<br /> %%<br /> %%{host_config, "localhost",<br /> %% [{language, "ru"}]<br /> %%}.</p> <p>%%% =======<br /> %%% CAPTCHA</p> <p>%%<br /> %% Full path to a script that generates the image.<br /> %% Note that this script must be made executable<br /> %% for the user ejabberd:ejabberd.<br /> %%<br /> %%{captcha_cmd, "/usr/lib/ejabberd/priv/bin/captcha.sh"}.</p> <p>%%<br /> %% Host part of the URL sent to the user.<br /> %% The port specified must be configured as the "ejabberd_http"<br /> %% listener which must have the "captcha" directive included<br /> %% in its configuration (see the "LISTENING PORTS" section above).<br /> %%<br /> %%{captcha_host, "localhost:5280"}.</p> <p>%%% =======<br /> %%% MODULES</p> <p>%%<br /> %% Modules enabled in all ejabberd virtual hosts.<br /> %%<br /> {modules,<br /> [<br /> {mod_adhoc, []},<br /> {mod_announce, [{access, announce}]}, % requires mod_adhoc<br /> {mod_caps, []},<br /> {mod_configure,[]}, % requires mod_adhoc<br /> {mod_admin_extra, []},<br /> {mod_disco, []},<br /> %%{mod_echo, [{host, "echo.localhost"}]},<br /> {mod_irc, []},<br /> %% NOTE that mod_http_fileserver must also be enabled in the<br /> %% "request_handlers" clause of the "ejabberd_http" listener<br /> %% configuration (see the "LISTENING PORTS" section above).<br /> %%{mod_http_fileserver, [<br /> %% {docroot, "/var/www"},<br /> %% {accesslog, "/var/log/ejabberd/access.log"}<br /> %% ]},<br /> {mod_last, []},<br /> {mod_muc, [<br /> %%{host, "conference.@HOST@"},<br /> {access, muc},<br /> {access_create, muc},<br /> {access_persistent, muc},<br /> {access_admin, muc_admin},<br /> {max_users, 500}<br /> ]},<br /> %%{mod_muc_log,[]},<br /> {mod_offline, [{access_max_user_messages, max_user_offline_messages}]},<br /> {mod_privacy, []},<br /> {mod_private, []},<br /> {mod_proxy65, [<br /> {access, local},<br /> {shaper, c2s_shaper}<br /> ]},<br /> % {mod_pubsub, [ % requires mod_caps<br /> % {access_createnode, pubsub_createnode},<br /> % {pep_sendlast_offline, false},<br /> % {last_item_cache, false},<br /> % %%{plugins, ["default", "pep"]}<br /> % {plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps<br /> % ]},<br /> {mod_register, [<br /> %%<br /> %% After successful registration, the user receives<br /> %% a message with this subject and body.<br /> %%<br /> {welcome_message, {"Welcome!",<br /> "Welcome to a Jabber service powered by Debian. "<br /> "For information about Jabber visit "<br /> "http://www.jabber.org"}},<br /> %% Replace it with 'none' if you don't want to send such message:<br /> %%{welcome_message, none},</p> <p> %%<br /> %% When a user registers, send a notification to<br /> %% these Jabber accounts.<br /> %%<br /> %%{registration_watchers, ["admin1@example.org"]},</p> <p> {access, register}<br /> ]},<br /> {mod_roster, []},<br /> %%{mod_service_log,[]},<br /> {mod_shared_roster,[]},<br /> {mod_stats, []},<br /> {mod_time, []},<br /> {mod_vcard_ldap,<br /> [{ldap_vcard_map,<br /> [{"NICKNAME", "%s", ["displayName"]},<br /> {"GIVEN", "%s", ["givenName"]},<br /> {"FN", "%s %s", ["givenName", "initials"]},<br /> {"EMAIL", "%s", ["mail"]},<br /> {"GIVEN", "%s", ["givenName"]},<br /> {"ORGUNIT", "%s", ["title"]},<br /> {"TITLE", "%s", ["employeeType"]},<br /> {"STREET", "%s", ["street"]},<br /> {"GIVEN", "%s", ["givenName"]},<br /> {"TEL", "%s %s", ["telephoneNumber", "mobile"]}]},<br /> {ldap_search_fields,<br /> [{"User", "%u"},<br /> {"Family Name", "givenName"},<br /> {"Nickname", "displayName"}]},<br /> {ldap_search_reported,<br /> [{"Full Name", "FN"},<br /> {"Nickname", "NICKNAME"}]}<br /> ]},<br /> %%{mod_vcard, []},<br /> {mod_version, []}<br /> ]}.</p> <p>%%<br /> %% Enable modules with custom options in a specific virtual host<br /> %%<br /> %%{host_config, "localhost",<br /> %% [{{add, modules},<br /> %% [<br /> %% {mod_echo, [{host, "mirror.localhost"}]}<br /> %% ]<br /> %% }<br /> %% ]}.</p> <p>%%% $Id: ejabberd.cfg.example 2497 2009-08-17 20:27:28Z cromain $</p> <p>%%% Local Variables:<br /> %%% mode: erlang<br /> %%% End:<br /> %%% vim: set filetype=erlang tabstop=8:</p> Tue, 18 Jan 2011 04:12:08 +0000 Nean comment 56976 at https://www.ejabberd.im Авторизация пользователей из https://www.ejabberd.im/node/4411#comment-56975 <p>Авторизация пользователей из LDAP и vcard из LDAP.</p> Tue, 18 Jan 2011 04:08:38 +0000 Nean comment 56975 at https://www.ejabberd.im Пользователи лежат в LDAP, и https://www.ejabberd.im/node/4411#comment-56972 <p>Пользователи лежат в LDAP, и VCARD из LDAP берется. конфиг и логи выложу завтра!</p> Mon, 17 Jan 2011 11:20:54 +0000 Nean comment 56972 at https://www.ejabberd.im LDAP https://www.ejabberd.im/node/4411#comment-56922 <p>1. Связка с LDAP - только авторизация/вкард, или еще msrl ?<br /> 2. ODBC используется? Если нет, то было бы неплохо перевести максимум модулей на ODBC (те которые имеют эту поддержку)<br /> 3. конфиг<br /> 3. логи</p> Thu, 30 Dec 2010 22:22:50 +0000 d.k.brazz comment 56922 at https://www.ejabberd.im У меня если соединений меньше https://www.ejabberd.im/node/4411#comment-56921 <p>У меня если соединений меньше 1 тысячи, то живет сервис нормально:-) не падает! Где то мне попадался на глаза комментарий, что поставив 64-х битную систему - проблема должна исчезнуть! мне кажется это маловероятно! после праздников попробую для чистоты эксперимента!:)) А то начинаю уже смотреть на другие пакеты, но в squeeze на данный момент в репозитарии нет альтернатив с набором опций и сервисов, которые мне необходимы!:-(</p> Thu, 30 Dec 2010 11:00:55 +0000 Nean comment 56921 at https://www.ejabberd.im аналогично https://www.ejabberd.im/node/4411#comment-56900 <p>аналогичная ситуация. 1000 - потолок одновременных соединений при траффике 4Мbit/sec на каждого.<br /> сервис живет в течении часа и падает, когда процесс erl наедает 1GB памяти.<br /> если 250 соединений его хватает на 4-6 часов с таким траффиком.<br /> приходится почти каждый день перегружать. приделали костыль с броадкастами<br /> сообщений используя доп. самодельные сервисы. Но по джабберу ситуацию с 1000<br /> соединений преодолеть не удалось.<br /> версия старая 2.0.2 - используем больше года.<br /> планируем пробовать 2.1.6.</p> Tue, 21 Dec 2010 08:42:52 +0000 shalti comment 56900 at https://www.ejabberd.im