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

Receiving mongodb error (appear in st2workflow logs) sending a 2MB content How it reached ~18MB? #5394

Open
DavidMeu opened this issue Oct 17, 2021 · 1 comment
Labels

Comments

@DavidMeu
Copy link

DavidMeu commented Oct 17, 2021

Receiving mongodb error (appear in st2workflow logs) sending a 2MB file How it reached ~18MB?

Workflow execution completed with errors. (type='error',message="OperationError: Could not save document (BSONObj size: 18680128 (0x11D0940) is invalid. Size must be between 0 and 16793600(16MB
) First element: _id: ObjectId('616e796a84fc83000116d6c7'))",task_id='parse_email_attachments',route=1)

I assume part of this issue is because ST store also the whole context for each task.

Although I saw my object is ~13MB in mongo:
image

ST 3.1\3.4

@stale
Copy link

stale bot commented Apr 16, 2022

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant