Gajim - 2023-07-21


  1. funnyman

    yes

  2. rom1dep

    lovetox: I noticed a growing "storage" branch, is there some place I can read more about its purpose? 🙂

  3. rom1dep

    I have many MUCs and I've noticed that gajim 1.8.0 has a hard time fetching MAM, I've also noticed that after keeping the client running for a while, it takes a long time to switch from chat to chat, I was wondering if this branch has any intent to improve upon that, and whether it's a good time/idea to start testing it

  4. lovetox

    no, its a new db layout, i dont think it will help with your problems

  5. lovetox

    and no its not ready for testing

  6. lovetox

    Gajim becoming slow on chat switches after long time of running, is also something i notice, but no time to track down what could be the cause

  7. lovetox

    im not aware of any MAM related problems, how do they manifest?

  8. thecast

    I also see that slowdown happen for only an individual muc if someone spams it really hard or sends a really big message that ends up having "show more" or whatever at the bottom

  9. thecast

    I also see that slowdown happen for only an individual chat if someone spams it really hard or sends a really big message that ends up having "show more" or whatever at the bottom

  10. rom1dep

    lovetox: some rooms never actually finish catching up with MAM (the new spinning icon keeps spinning forever). Could be that the server times out/fails to serve a response because the SQL server behind is under some load, I don't know if that's something the client could be made aware of

  11. lovetox

    but then its not Gajim that has a problem with MAM

  12. rom1dep

    I suspect some rooms block others

  13. rom1dep

    if the catch-up is sequential

  14. lovetox

    everything is sequential in xmpp

  15. lovetox

    i doubt that this is the problem, except you are on a very slow connection

  16. rom1dep

    could gajim have a sane timeout and skip/try later a room that fails to respond?

  17. lovetox

    and then it would finish, but just later

  18. rom1dep

    I don't have a slow connection, just a IO-starved server 🙂

  19. lovetox

    soo.. then it just finishes later

  20. lovetox

    why would the server never serve the request

  21. lovetox

    what would it make for a difference if i send the request again 5 minutes later? then im again behind in the queue of whatever the server trys to work

  22. rom1dep

    > why would the server never serve the request because ejabberd cancels the query. I can configure extremely long SQL timeouts, though

  23. rom1dep

    > what would it make for a difference if i send the request again 5 minutes later? then im again behind in the queue of whatever the server trys to work because if the server choses not to respond, the client waits indefinitely for something that will never happen. Trying it again later at least gives it a chance

  24. rom1dep

    but I agree it's dirty

  25. rom1dep

    ideally the server should have a "protocol" to communicate to the client that it won't get a response ATM

  26. lovetox

    sounds weird to me, i responds to a muc join, but not to the iq?

  27. lovetox

    if it thinks it cannot fullfill the request, it can always send a iq back with an error

  28. lovetox

    > ideally the server should have a "protocol" to communicate to the client that it won't get a response ATM

  29. lovetox

    there is

  30. lovetox

    <iq><error type=wait><text>server is busy try later</text></error></iq>

  31. lovetox

    if the server sends this im happy to try again later

  32. rom1dep

    bbl

  33. lovetox

    but there is no IQ timeout cancel from client sid

  34. lovetox

    but there is no IQ timeout cancel from client side

  35. lovetox

    not in the xmpp protocol i mean

  36. lovetox

    so yeah it would be dirty

  37. rom1dep

    so, in fact I should see if the erlang process crash I see as a result of the db not responding results in something like this: `<iq><error type=wait><text>server is busy try later</text></error></iq>` being sent