Hello I had a weird error on my self
Hello I had a weird error on my self hosted server:
convex-backend | 2025-04-30T12:31:01.849360Z ERROR isolate::client: Restarting Isolate user_timeout: UserTimeout, last request: "UDF: _system/frontend/paginatedDeploymentEvents.js:default"
The error happens when I try to delete in the dashboard a table with the Delete All button. It worked with other tables but with this one (bigger than the others) it appears to completly crash the server.
It does not just crash the docker instance but it manages to crash the machine itself with a behaviour similar to what a fork bomb would do to a PC. The machine completly freeze even the mouse.

3 Replies
how big?
It is an over 1k entries in that table and the entire sql weight 1 gb and about 60% is that table... so I d say that table alone is 600 mb split in 1k entries
the machine is not very powerful I just use it for testing not for prod but still it worries me the behaviour of crashing the machine in a fork bomb style
like if too many threads are created or some resource is completly saturated
using the top command on linux I was able to reproduce this crash I was clearly seeing cpu spikes when interacting with that table
from the dashboard
Hello, do we have news about this behaviour? Were you able to reproduce or verify it?
Haven't had time to look into it. If you (or anyone in the community) would like to look into it - it looks like it's here
https://github.com/get-convex/convex-backend/blob/8c6821e11556eb0cd54f25a22dd4e0fdde213f0a/npm-packages/dashboard-common/src/features/data/components/DataToolbar/ClearTableConfirmation.tsx#L112
which calls into clearTable
https://github.com/get-convex/convex-backend/blob/8c6821e11556eb0cd54f25a22dd4e0fdde213f0a/npm-packages/dashboard-common/src/features/data/lib/useDataToolbarActions.ts#L93
which calls to this system convex function
https://github.com/get-convex/convex-backend/blob/8c6821e11556eb0cd54f25a22dd4e0fdde213f0a/npm-packages/system-udfs/convex/_system/frontend/clearTablePage.ts
It doesn't look like it should be doing anything too crazy - running one convex function at a time in a paginated way. The size of your table is totally reasonable, so it should work.
Do you know how much resources your container has allocated? Perhaps you have to up it and give it more memory?
GitHub
convex-backend/npm-packages/dashboard-common/src/features/data/comp...
The open-source reactive database for app developers - get-convex/convex-backend
GitHub
convex-backend/npm-packages/dashboard-common/src/features/data/lib/...
The open-source reactive database for app developers - get-convex/convex-backend