-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
"MySQL server has gone away" on queue run #597
Comments
Can you share some details on your server setup (software, provider, specs), and MySQL version? It does sound like MySQL has fallen over, even briefly. |
Yep! Server is provisioned through CloudWays on a DO droplet.
It’s a 1GB RAM, 1vCPU server.
Looks like we’re on MySQL 5.5.5 and PHP 7.4
Tim
… On 7 Oct 2021, at 23:03, Josh Crawford ***@***.***> wrote:
Can you share some details on your server setup (software, provider, specs), and MySQL version? It does sound like MySQL has fallen over, even briefly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
How's the general traffic to the site, is it under load? Not using anything like Blitz for static caching? This is a low-level Craft error, so will need to investigate it further, but this would be the first report of this sort of error. |
@engram-design Really low traffic.. Average load is close to 0.2 on the server. |
@engram-design Hey Josh, also looks like this problem is only happening with one specific form.. This is the queue info: |
Hmmm, how large is the form? Judging from the fields in your initial log output, it doesn't seem like much. Really difficult to tell, without seeing your form setup I think. Something is clearly taking up resources, but unsure as to what, or how best to pinpoint that without getting my hands on the project. Will keep tinkering. |
Closing due to inactivity |
@engram-design - I'm still getting this issue. I left it, as I thought it might be a server issue. But it does seem to only apply to formie submissions. This is another extract from logs of last night:
The site never has any downtime, and server load is always low. |
It must have something to do with the serialization of the submission when saving a sent notification I think, or potentially an infinite loop. We might need to wait for #465 and #331 to get a copy of your form setup to see if I can replicate from that. Or, if you're able to sent through your |
@engram-design - I only have one stuck item in the queue at the moment, but the same error is in the log. : |
Yep, so Formie will try and create a serialization of the payload in the Job Data, but looks like it's not getting that far. I would really need a copy of:
With that, I could hopefully replicate it, but I might still need your fields, which is tricky. If you can hold on, we might try the export feature in Formie 1.5.0 due in the next few weeks, which should be able to provide me everything I need to troubleshoot this one. |
Hey @engram-design - hopefully these work, but let me know if it's easier for me to send you over a DB dump of the whole site?
|
Thanks! I'll give that a shot and we'll see how we go... |
@engram-design - Thanks! Have you got any updates on this? |
Sorry @Coysh I've been preoccupied with the 1.5.0 release, I'll do my best to look at this today. |
@Coysh Okay, so it might be easier if you're up for sending your database in its entirety to |
Hi @engram-design - any update on this? |
Hey @engram-design - just as an update, this issue looks similar: yiisoft/yii2-queue#439
|
I just can't seem to replicate it which is frustrating. I think from memory I even got your database, spun it up, and couldn't replicate it? I think my last email back to you was |
Hey Josh, So I'm using the AsyncQueue plugin to run the queue Tim |
I've not used AsyncQueue extensively, but will check to see if there's anything that might be different. |
So after extensively testing with So that really leaves this as an environmental issue. Does this happen locally? Is there any chance of getting control panel and file-level access to your production site? |
Going to close this as I really, really can't reproduce this, and no other reports have come in for this issue in the 6 months since this was opened. If we want to get to the bottom of it, reach out via Discord |
Description
When some of my forms are submitted, they are added to the queue succesfully. But the problem is they are then stuck in the queue as "Reserved".
Looking at the log file, the error is to do with the MySQL server. But there are no other indications or reports across the site that the MySQL server has crashed.
Steps to reproduce
1.
2.
Form settings
Please pick from the options below.
Additional info
The text was updated successfully, but these errors were encountered: