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

Customizable limit for json blobs in *.data fields #1901

Open
miaucl opened this issue Sep 27, 2022 · 0 comments
Open

Customizable limit for json blobs in *.data fields #1901

miaucl opened this issue Sep 27, 2022 · 0 comments

Comments

@miaucl
Copy link

miaucl commented Sep 27, 2022

Customizable limit for json blobs in *.data fields

Problem

This is not a direct bug, but maybe a safety net for other users to not do the same mistake as we did.

We had a prod environment going down due to fusionauth OOM errors which were cause by a bug on one of our services. There is everything fine with the FusionAuth in general, but the problem was that we filled up the users.data field for each user with too much data due to an error (should only have been a list of some bytes). Therefore, after some months we started to have some occasional OOM errors of FusionAuth, as the 0.5GB RAM were not sufficient anymore to load even a single user (which had a users.data text field of 400MB).

Solution

My proposition might be, to put a (maybe configurable) size limit on the json blob *.data fields to prevent such hard to catch runtime errors.

Alternatives/workarounds

I just cleared it manually in a routine and checked the size there.

Additional context

Got the suggestion to post it here in the forum.
https://fusionauth.io/community/forum/topic/2182/unlimited-data-fields?_=1664296262611

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant