Project

General

Profile

max number of vhost and default log

Andrew Beni
Added 20 days ago

Hi,
there is any kind of limit for the number ho vhost allowed?

At the moment I have about 1k virtual host and the initial log line is standard log is quite long

2018-04-04 19:22:50.111 [main] VHostManager.setProperties() WARNING: {first.domain.com=Domain: first.domain.com,
enabled: true,
anonym: false,
anonym: false,
register: false,
maxusers: 0,
tls: true,
s2sSecret: XXXX-XXX-XXX-xxx-xxxxxx,
domainFilter: LIST,
domainFilterDomains: xmpp.domain.com;first.domain.com,
c2sPortsAllowed: null,
saslAllowedMechanisms: null,

....

only this line is about 400k! is possible to disable this log?

Thanks


Replies (1)

Added by Wojciech Kapcia Tigase team member 13 days ago

Andrew Beni wrote:

Hi,
there is any kind of limit for the number ho vhost allowed?

At the moment I have about 1k virtual host and the initial log line is standard log is quite long

2018-04-04 19:22:50.111 [main] VHostManager.setProperties() WARNING: {first.domain.com=Domain: first.domain.com,
enabled: true,
anonym: false,
anonym: false,
register: false,
maxusers: 0,
tls: true,
s2sSecret: XXXX-XXX-XXX-xxx-xxxxxx,
domainFilter: LIST,
domainFilterDomains: xmpp.domain.com;first.domain.com,
c2sPortsAllowed: null,
saslAllowedMechanisms: null,

....

Entered #7304

only this line is about 400k! is possible to disable this log?

There is a configuration option to limit VHosts per owner JID:

vhost-man/domains-per-user-limit[I]=10

    (1-1/1)