-
rom1dep
https://www.notebookcheck.net/WhatsApp-s-new-feature-allows-users-to-organize-chats-with-ease.911968.0.html
-
rom1dep
to add to the spaces/workspaces/… discussions :)
-
Zash
Wow! XMPP Simply isn't a competitor without having ... is that roster groups?
-
rom1dep
I read that as 1:N roster groups. Also, I'm merely bringing that it up to show what's going on elsewhere, no need to put dramatic words in my mouth ;)✎ -
rom1dep
I read that as being 1:N roster groups. Also, I'm merely bringing that it up to show what's going on elsewhere, no need to put dramatic words in my mouth ;) ✏
-
Kev
Roster groups *are* 1:N?
-
rom1dep
> Roster groups *are* 1:N? always? Isn't that a UX thing? ↺
-
Kev
Protocol-wise.
-
singpolyma
> Wow! XMPP Simply isn't a competitor without having ... is that roster groups? Indeed it is. It's funny to me that I just put a UI like this in my last release ↺
-
rom1dep
WhatsApp feeling the heat from Cheogram :)
😂 1 -
singpolyma
> WhatsApp feeling the heat from Cheogram :) 😂 ↺
-
rom1dep
singpolyma: totally unrelated, is it only for me or does https://blog.jmp.chat/ comes up empty?
-
singpolyma
rom1dep: try now?
-
rom1dep
and it's back :)
-
Ansh
Hi
-
singpolyma
With ejabberd max_fsm_queue does anyone know what triggers that to be an issue? It says if client reads slow? But I'm wondering why the server has the stanzas in a queue if they've already been written to the socket? There's a seperate setting for ack queue so it doesn't appear sm related but maybe it is, not sure?
-
lovetox
Is your stream ended with policy violation?
-
lovetox
I think they implemented this not correct. Gajim had constant policy violations if you joined many much at start
-
lovetox
Ejabberd Puts 1000 presence stanzas in a second into the queue and then ends your connection
-
lovetox
When we complained the default was raised to 5000 which mostly works now
-
singpolyma
> Is your stream ended with policy violation? Users are reporting this yes which I'm investigating ↺
-
singpolyma
So the default used to be 1000?
-
singpolyma
For ack queue
-
ukko
singpolyma, maybe unrelated but I found the biggest cause of the fsm queue growing excessively was bifrost
-
Zash
As in the queue of stanzas the server sends the client and needs to keep track of until the client has acked them?
-
singpolyma
There are two queues here
-
singpolyma
The ack one I didn't ask about, and an fsm one I don't know what it is
-
Zash
Acronyms... What's fsm?
-
ukko
the event state machine
-
singpolyma
I don't know. That's the question
-
lovetox
It's normally the sm ack queue
-
lovetox
Simply raise it and everything is fine
-
ukko
mucs will start to deadlock if the queue gets too big
-
singpolyma
lovetox: right I suspect it is the sm ack queue and I'm trying some workarounds in the client for this. But I don't know what this second fsm queue is
-
lovetox
singpolyma: dont
-
lovetox
It's a ejabberd problem. Gajim acks on every stanza this does not change a thing
-
singpolyma
Acks on every stanza even with no r?
-
lovetox
Ejabberd will fill the queue always faster he you can read it
-
lovetox
my findings where that it never asks for r
-
lovetox
maybe it puts sm stanzas into the same queue then the rest
-
singpolyma
...it never asks for a but still says you have too many unacked? Wut
-
lovetox
and not in front
-
singpolyma
I can send a with no r though. Maybe
-
singpolyma
But maybe not fast enough you're saying
-
lovetox
i came to the conclusion that this is nothing i can solve
-
lovetox
some users may have still the old value 1000 in their config
-
lovetox
even 5000 can be a problem, i mean there are irc channels with 4000 people, if you join a few mucs of that kind ...
-
singpolyma
Some have reporting raising it to 15000 to bypass this issue
-
Zash
It is a tricky problem.
-
Zash
How much memory does 15000 stanzas take up?
-
lovetox
not much, and the queue will not stay there ..
-
lovetox
this is a burst kind of problem
-
singpolyma
Will be acked in a second or two if done well
-
singpolyma
But if even two seconds can't be granted me obviously I can't ack in time
-
lovetox
if the server does not want to have these big of queues, then it should also stop reading data from other servers
-
lovetox
it cannot read continously, and tell the client, read faster or i kill you
-
singpolyma
Or spool to disk
-
singpolyma
Or truncate the queue is what I hear prosody does
-
Zash
Our queue is virtually infinite, until you try to do a resumption, which just fails if there's too many items in it.
-
Zash
As you said earlier, the stanzas went in the socket already.
-
lovetox
but yeah, this problem is made worse with xmpp design choices of spamming presense on join
-
lovetox
singpolyma, what you can do is, join mucs slowly ..
-
lovetox
but i always rejected that solution
-
Zash
You know presence is optional in MUC already? :)
-
singpolyma
I'm happy to say it's an ejabberd bug if there's really nothing I could by by rocking faster etc
-
singpolyma
Meh the MUC thing is a symptom. Someone can always send stanzas fast for any reason
-
singpolyma
This is a DoS vector
-
Zash
Large MAM pages can trigger problems like this too.
-
wgreenhouse
singpolyma: yeah I think that may have been part of ben's fix now that you mention it (event queue to 15k)
-
singpolyma
wgreenhouse: Ben's changes are ack queue to 15k and fsm queue to 100k. What I want to know is what effect does that second change even have?
-
wgreenhouse
ah interesting.
-
wgreenhouse
glad he could connect woth you on that--do you have a pet ejabberd under examination now?
-
singpolyma
Not yet. I haven't run ejabberd since circa 2007. But if it is unfixable client side as lovetox says then maybe not worth it for me to do that. I'm still just curious what the fsm number means at this point
-
wgreenhouse
I don't see this at all after those changes
-
wgreenhouse
(the serverside ones I mean)
-
singpolyma
Right, but those changes may not be practical on a public server. Especially if we don't know what effect they both have
-
wgreenhouse
hmm.st is public, just not super large. I guess you could ask ben if he's seen ill effects
-
wgreenhouse
it was on a thinkpad for some years
-
singpolyma
Right, public isn't the main factor size is when we're talking about increased ram usage. But yeah if 15k isn't insane then maybe "just" a higher default. Though it feels like so long as the queue can be filled without exceeding s2s rate limit you've got a DoS vector
-
wgreenhouse
yeah. I don't understand how the two interrelate
-
wgreenhouse
what are the big public ejabberd-using sites? conversations.im?
-
singpolyma
That would be the one I would be most curious to know their settings and the impact
-
lovetox
singpolyma, there is always a DoS vector or?
-
lovetox
you cannot design a server software or hardware that i cannot spam with so much data that it does not function anymore
-
singpolyma
I mean to dos a particular user in a way the server admin may not notice
-
wgreenhouse
by making their incoming queue too long?
-
lovetox
this seems so far fetched, it feels stupid to even discuss it
-
singpolyma
wgreenhouse: yes. would be trivial to do