Good Day! Ihave server:
Debian 11
Openfire 4.7.3
mysql Ver 14.14 Distrib 5.7.42
max 500users
16xIntel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz
64GB RAM - 32GB for Mysql, 24GB for OPenfire (openfire get 17GB of swap)
But I have the saw on graph online session: openfire cant connect all 500 users in one time.
Why??? What it need??
Uff - the logs are full of errors, but Iβm not sure if any of these cause the problem. All of these errors might hide the actual problem. It would be a good thing to resolve the most apparent errors. This might help expose the actual problem.
Two problems stand out immediately:
Groups are defined in Openfire. Some of these groups contain users that do not exist (maybe the users got deleted at some point in time). Please remove all non-existing users from the group definitions.
Software clients that connect to the server send invalid data. Specifically, they seem to send presence stanzas that have a type named βgroupchatβ. That is not a valid type.
We get groups and users from LDAP server via php script. Error in DB of LDAP made error in Opefire.
How critical are these errors that users disconnect over time?
I use Pidgin. It still in connect and all nothing.If the problem is in the client, then why doesnβt Pidgin connect?
I do not think that any of these issues are critical, but they generate so much noise that it becomes hard to see what the actual issue is. That is why I suggest that you fix them.
Pidginβs XMPP support is pretty bad, especially in older versions of Pidgin. If you can, consider using a different client. A lot of clients are listed on XMPP | XMPP Software
The logs rotate over time and size. Parsing the log file will help, but when there is lots of data in it, it might have rotated out the imporant bits.
Instead of having to spend time on cleaning up log files, you can better spend that time in fixing the problem. Removing non-existing users from groups is a good place to start.
I did cut errors of users\group from all logs file. Result: rez.log.gz (1,5 ΠΠ)
Maybe this will help
And this is what happened: after the last launch of the service, a few hours later, the service connected all users and everything is still working.
Overall: the service cannot connect all users at once, but connects everyone later.
What is happening inside the service at this time is unknown.
It appears that stanzas are being processed for a session that does not exist - which should be impossible. I believe that weβve fixed an issue related to this (in context of websockets) in a recent release.
Do you have the same problem if you use Openfire 4.7.5?
tcp6 0 0 10.75.10.30:5222 10.18.38.6:52400 ESTABLISHED 13343/java
tcp6 0 0 10.75.10.30:5222 10.18.44.63:50694 ESTABLISHED 13343/java
and moreβ¦
No apacheβ¦
I not use Openfire 4.7.5β¦