jdev - 2024-11-01


  1. rom1dep

    https://www.notebookcheck.net/WhatsApp-s-new-feature-allows-users-to-organize-chats-with-ease.911968.0.html

  2. rom1dep

    to add to the spaces/workspaces/… discussions :)

  3. Zash

    Wow! XMPP Simply isn't a competitor without having ... is that roster groups?

  4. 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 ;)

  5. 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 ;)

  6. Kev

    Roster groups *are* 1:N?

  7. rom1dep

    > Roster groups *are* 1:N? always? Isn't that a UX thing?

  8. Kev

    Protocol-wise.

  9. 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

  10. rom1dep

    WhatsApp feeling the heat from Cheogram :)

    😂 1
  11. singpolyma

    > WhatsApp feeling the heat from Cheogram :) 😂

  12. rom1dep

    singpolyma: totally unrelated, is it only for me or does https://blog.jmp.chat/ comes up empty?

  13. singpolyma

    rom1dep: try now?

  14. rom1dep

    and it's back :)

  15. Ansh

    Hi

  16. 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?

  17. lovetox

    Is your stream ended with policy violation?

  18. lovetox

    I think they implemented this not correct. Gajim had constant policy violations if you joined many much at start

  19. lovetox

    Ejabberd Puts 1000 presence stanzas in a second into the queue and then ends your connection

  20. lovetox

    When we complained the default was raised to 5000 which mostly works now

  21. singpolyma

    > Is your stream ended with policy violation? Users are reporting this yes which I'm investigating

  22. singpolyma

    So the default used to be 1000?

  23. singpolyma

    For ack queue

  24. ukko

    singpolyma, maybe unrelated but I found the biggest cause of the fsm queue growing excessively was bifrost

  25. Zash

    As in the queue of stanzas the server sends the client and needs to keep track of until the client has acked them?

  26. singpolyma

    There are two queues here

  27. singpolyma

    The ack one I didn't ask about, and an fsm one I don't know what it is

  28. Zash

    Acronyms... What's fsm?

  29. ukko

    the event state machine

  30. singpolyma

    I don't know. That's the question

  31. lovetox

    It's normally the sm ack queue

  32. lovetox

    Simply raise it and everything is fine

  33. ukko

    mucs will start to deadlock if the queue gets too big

  34. 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

  35. lovetox

    singpolyma: dont

  36. lovetox

    It's a ejabberd problem. Gajim acks on every stanza this does not change a thing

  37. singpolyma

    Acks on every stanza even with no r?

  38. lovetox

    Ejabberd will fill the queue always faster he you can read it

  39. lovetox

    my findings where that it never asks for r

  40. lovetox

    maybe it puts sm stanzas into the same queue then the rest

  41. singpolyma

    ...it never asks for a but still says you have too many unacked? Wut

  42. lovetox

    and not in front

  43. singpolyma

    I can send a with no r though. Maybe

  44. singpolyma

    But maybe not fast enough you're saying

  45. lovetox

    i came to the conclusion that this is nothing i can solve

  46. lovetox

    some users may have still the old value 1000 in their config

  47. 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 ...

  48. singpolyma

    Some have reporting raising it to 15000 to bypass this issue

  49. Zash

    It is a tricky problem.

  50. Zash

    How much memory does 15000 stanzas take up?

  51. lovetox

    not much, and the queue will not stay there ..

  52. lovetox

    this is a burst kind of problem

  53. singpolyma

    Will be acked in a second or two if done well

  54. singpolyma

    But if even two seconds can't be granted me obviously I can't ack in time

  55. lovetox

    if the server does not want to have these big of queues, then it should also stop reading data from other servers

  56. lovetox

    it cannot read continously, and tell the client, read faster or i kill you

  57. singpolyma

    Or spool to disk

  58. singpolyma

    Or truncate the queue is what I hear prosody does

  59. Zash

    Our queue is virtually infinite, until you try to do a resumption, which just fails if there's too many items in it.

  60. Zash

    As you said earlier, the stanzas went in the socket already.

  61. lovetox

    but yeah, this problem is made worse with xmpp design choices of spamming presense on join

  62. lovetox

    singpolyma, what you can do is, join mucs slowly ..

  63. lovetox

    but i always rejected that solution

  64. Zash

    You know presence is optional in MUC already? :)

  65. singpolyma

    I'm happy to say it's an ejabberd bug if there's really nothing I could by by rocking faster etc

  66. singpolyma

    Meh the MUC thing is a symptom. Someone can always send stanzas fast for any reason

  67. singpolyma

    This is a DoS vector

  68. Zash

    Large MAM pages can trigger problems like this too.

  69. wgreenhouse

    singpolyma: yeah I think that may have been part of ben's fix now that you mention it (event queue to 15k)

  70. 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?

  71. wgreenhouse

    ah interesting.

  72. wgreenhouse

    glad he could connect woth you on that--do you have a pet ejabberd under examination now?

  73. 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

  74. wgreenhouse

    I don't see this at all after those changes

  75. wgreenhouse

    (the serverside ones I mean)

  76. singpolyma

    Right, but those changes may not be practical on a public server. Especially if we don't know what effect they both have

  77. wgreenhouse

    hmm.st is public, just not super large. I guess you could ask ben if he's seen ill effects

  78. wgreenhouse

    it was on a thinkpad for some years

  79. 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

  80. wgreenhouse

    yeah. I don't understand how the two interrelate

  81. wgreenhouse

    what are the big public ejabberd-using sites? conversations.im?

  82. singpolyma

    That would be the one I would be most curious to know their settings and the impact

  83. lovetox

    singpolyma, there is always a DoS vector or?

  84. lovetox

    you cannot design a server software or hardware that i cannot spam with so much data that it does not function anymore

  85. singpolyma

    I mean to dos a particular user in a way the server admin may not notice

  86. wgreenhouse

    by making their incoming queue too long?

  87. lovetox

    this seems so far fetched, it feels stupid to even discuss it

  88. singpolyma

    wgreenhouse: yes. would be trivial to do