Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element-R: spinning 100% cpu decrypting things #26311

Closed
richvdh opened this issue Oct 5, 2023 · 2 comments
Closed

Element-R: spinning 100% cpu decrypting things #26311

richvdh opened this issue Oct 5, 2023 · 2 comments
Assignees
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Element-R-Blocker A blocker for enabling Element R by default Z-Labs

Comments

@richvdh
Copy link
Member

richvdh commented Oct 5, 2023

it seems to be decrypting to-device messages very, very slowly

@richvdh richvdh added T-Defect A-Element-R Issues affecting the port of Element's crypto layer to Rust labels Oct 5, 2023
@richvdh
Copy link
Member Author

richvdh commented Oct 5, 2023

This is particularly troubling logging:

Failed to decrypt a non-pre-key message with all available sessions
session_ids = ["g56FUlNbSg6pYJ9HtaAa2Kg2y99Ni7FLUw7b4sFwJc8", "WZR2Ga+vpseZZSBcJ/AZnLodmNZPjkJWNGSTQ+Ts7RA", "7io2AVcR2xCXWcCnHpO6vnnKwKP/89sixhwjUy9ANt4", "tOOivKsibYGX20IYemNTcw6MNDEydbXX7lbXYIuMjIo", "InL5BBXwiyf7CyMWrt5DM0a+Zd6oxii9W2VAB6h1iU4", "485xtiPh8twK/6n/LKRJKd2rvKMjj+IDbExhlf0E2rY", "eU+AB+H7B5hIavevJxusoR3S97f1bJ5u+7OoY3ufB6U", "TgxuANZTz4LHzUI7wMcw5TZ2Sg0LB0iEEm6lUXG/dyk", "/fADM3BMRfXmmbDHz7FCqSzlFKSaNhkJbECE32N2ZtE", "d93tYC/WFF4n7fDli0A8BmPmt0ZlxE3nWwW+Tjf4qLE", "JJdN1aD2iaeM/+fuqGh21Db+M8RDh2nIehk2AzGjH7o", "92DWvUk2UXEk8Uj3p7G9LHIAFZHvZmQ/gKlzlhSpSBw", "Nz679utl6xAmk3yRWhW551iGFbvnl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xtri1QUrbuM", "Pdz1Q1zDO1mh2K160U4ajTYDaYZjV4UObtMx9UzL+F0", "4AyctPUJBlxi+oiNE47vOQEGsnRM0pnM+KVOpPqjp4M", "BNI3etvVYD8YTv1vLXm08UODgzSzDwEDR26evXzdAgc", "FDVwPeKouK/7mVJXqGxJceP+1XqQiS1NfKK3mOqlzgE", "quNqSQCuoMl/dPi3lZSrORn133xde+ICBnp5FjxZGLg", "9RLYKcz93QoXV+pZKbmhzXDC4j1CsmnFiJRIclMaJPs", "GC3d55M9lawk6PEicylw51Tml7OIMxQDsbpcts6yevY", "oNZgaHCDT5yVlOhzKq3Ar6TbxKukCekCOf0+x+CzZOo", "YwdKXbSi11XIh2YmTG69wZMpKFDAXJGkWh3aCSpKRPE", "vbhRfCbiXUZS+Xj0pZzvFEzx79KOdCbRooZAGLLqBEk", "31vF6Jo4fvhiJSZCikfI8GaCOkT7RDOU+ujwAwz2Yng", "WMrbGNR9Xnx174eXfCiyqdZxyIgjOwnginaUt6NyjnY", "JdXYb1FjfZs3QtW2T+U8ftKS5TJXdXDcHw1pVwIUXjQ", "ZR4smW0rTFxw4WHDQ87zAmqAJzE4K+tFvHQIUVzS+8M", "XPJObhWkA/6u+/HCdhEVeaVL5V0tQQvTnMJNcg26ssY", "AQ5D0oZh2itJsL6EWDiV9M0d/51Q32K/bigUBRG95MY", "IscZpZzhWvEDVH3/zFVULExP6FyXksaaWAh4fqbqdMA", "vOe6w5NIQogvVOwtHQpAAl1ezbZJbID1/hEBHqLbeaA", "kiQg6fap/ZZIHj56PRFnZVdfdVdQG/E3WK5zBgahmFY", "KZa7tDawhf0ZHAdwnjLZpfulcER3fz97hQOZGcIhFMw", "eHJuZZk7ca18rMSlN3ZPtUm4DDUeWSgukFEUV9z5nUA", "JG89wcg7X/52WLqQoXJjidr31pbmfokU8dlxdOC+TXo", "6oSN+baov0lnh6N6zHkGxkZUL3fCaaQSmxfrIDsACXM", "bdL1u9lhHgFw1BcOzXw1slCDhXXw1RPBNs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YkWR95o", "wUJkkd0RpigAbpXR5SdIHQAfgTYpzWHsFVY9oYJ8WaE", "QLvObEixGUv9dhZGHpDEej42EgOIAgsvX6t7rnxok8E", "MMJEVdEi1QaOTc0fZ3mM/b5LVGcxs73p4U5s13LlrGU", "BBtvGMnwLDIlgF2jCl2AK4W01E6/3+0NGCSXmDM6V0Q", "xP7qj+u3Op7XqyU0q2qMzutZ8v6mTCwePK1pH7YwZ8c", "YypBfJt3OqYq96fksSs/f8LEpxBk0YzWTkcTz/YXWgw", "M6032fH89gMokSmNH749pNsMt713trBUDeMuCI9WKKU", "WuSyJH5LJcr3en2JrM9+1YQ2Dos6eapY8/65GTpHwQs", "GVdmmymiAq+D+s0YimXO5U9ofNwn3tSKVvVSDzeF0sI", "ACpHh2lTkiPnftkbpCUA4S7FovpiFw0ArJj7zdQGa+k", "FUsilIbcrwoRxY78yhQxdaGro1EbgrggP9QDxanJCGc", "KCbxoJhbmc/B1TI6hqCASMKA2MVD0DsCwAzmnqHQ0x8", "fEKh0EK6epWB1OnpH2ewJRoVdMW0kCCMsxGAWdDv1Dw", "qKNAeuEHUrYBiXc/BAb/Xfkv9yCjgGvPezRy5418wJE", "biL2YapSDo6BaeSQUkkicvudR+kZkAmz2B1pIAo2oWc", "zBpQ0uusFV/FT/sfsUl5kDpczygzoOig21qU4FTk0pE", "nprTcqm4AsjsMBYQ4mB6+DtQDBBviAhPiVaYGjv/8sE", "exlcxh677awLCZibL0k7Rd2nwL5FATvyGwrJdwbEATE", "tPrzLjZWPIJMGqxlvR9Vov3rpxFesZ6BBttKf17Ani0", "jxvPvumznRAQE5ahd8c8WDV8CyVldblLa2V2NOFHBJA", "YvShlkO/IIcWE13ygSiQ5TsMaFfRrxC4v9aKBvkSDJA", "5Vl0f2WEwcBzaT6x6IjutKy6mcYakV8pgPz3dhL4sR4", "7Vxxh/FBs6cmG9emSm6EWmv4PTKzB1fQa/7EyRtPhGA", "yf8JDEB3KCU8BSFi5xvL+hZYfUyXypjhRJoq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3YryxOH1TfRVDrWUU", "2byJXO2azwsFvBtfEZXwlaALCnJOdGGU4CUj1t9DgLQ", "ME9mXjTj81QhWR+FKRo6G9OojLT1shcVXQMtrlEPO9s", "uoRuBXWrJXMoc2NPlIISfHe19GhcKHOjoGaSSNO64Fk", "r8r5U3KtUisWESrYtOGxYnNdBxmjKC6PJXnYyW/iD1Y", "MazPrqwvVjfOkpF94vSR0d4wW6F0QX080YUft9FJ6ME", "zzvb0B8XzqZgVsOmtq7gFmTFWIajLugv8opFkO1FwnY", "vAFI17EsrbyWE4/ZxGIuZyIn/6QAbjMJgCJ4MnpnHmA", "HCW/+GGWO9XRyxMSzdg5vOEETU9fPyCCaa3g7q/WOtY", "7pcLbccj/fxVcmnk/Beja2zgOEk5K6uW2tEEUUE/Q0g", "NBJEjas/+ruMr7J0hcv0IPD3BBy9VGy/grGfCqBa9bc", "t6ve7i1jqpYbbp/wVsnq9nQ45eqrSNk799tKNHPZ7zs", "3p0L16qKh4Sif+aHjwtvjrvja12EN20rgcKKT3OVpIs", "hbULQerRlsmL71qM86XPhhiA4xCjzjOZLpaJkJsfe0o", "5ivSfTQULVBH4pnJWGHyEbTopVZIq73o4ZGKCLDvkRM"]

Have we somehow ended up with hundreds of Olm sessions?

@BillCarsonFr BillCarsonFr added the Z-Element-R-Blocker A blocker for enabling Element R by default label Oct 5, 2023
@richvdh richvdh self-assigned this Oct 10, 2023
@richvdh
Copy link
Member Author

richvdh commented Oct 10, 2023

I think this is a combination of element-hq/element-desktop#1571 and #26351, so I'm going to close it in favour of those two

@richvdh richvdh closed this as completed Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Element-R-Blocker A blocker for enabling Element R by default Z-Labs
Projects
None yet
Development

No branches or pull requests

3 participants