Closed mattes3 closed 7 months ago
The table contains only 22,140 events. I tried to run the select statement inside the mysql CLI, and it works fine when I omit the data
column. When I select the data
column, it crashes with out of memory again.
The particular user has only 18 events so far.
That's a super odd one since it's only trying to sort based on the ID column which is indexed and shouldn't cause any problems. Any chance you could provide the following:
Thanks!
Docker runs on an 8GB Ubuntu machine that still has 3.6GB of free memory. A quick docker stats
shows this:
NAME CPU % MEM USAGE / LIMIT MEM %
parcelvoy_parcelvoy-ui_1 0.00% 3.457MiB / 7.574GiB 0.04%
parcelvoy_worker_1 0.02% 89.43MiB / 7.574GiB 1.15%
parcelvoy_api_1 0.03% 88.67MiB / 7.574GiB 1.14%
parcelvoy_redis_1 0.42% 8.074MiB / 7.574GiB 0.10%
parcelvoy_mysql_1 0.60% 426.3MiB / 7.574GiB 5.50%
Pretty relaxed situation.
I am running MySQL 8.0.27
I dropped the second sort order, and it did not help. I removed the order completely, and it worked.
The result of the select looks weird, especially for the email_sent
events. The data
column of the table contains a huge piece of JSON with long lists of integers.
@mattes3 try bumping the version of MySQL up to 8.0.28 or higher. The release notes state the exact bug you are running into as addressed https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html so I'm hoping that will do the trick!
The upgrade to 8.0.36 made the problem go away, thanks a lot for digging into this, Chris!
No problem! Apparently all of the ones I had locally for testing had already been upgraded by happenstance and didn't notice it off jump. The latest release also stores less data for SES sends (removes the serialized raw buffer that it returns in the result) so that should help with storage sizes as well.
With the new version 1.5.7, when I click on the events of a particular user, Parcelvoy does not display them. In the log, I found this error message: