Closed geekygirldawn closed 8 years ago
In my experience, MySQL server has gone away
error is caused by two things:
wait_timeout
, but in your case this is not possible because you said that it fails before reaching that timemax_allowed_packet
, that might be a problem when the bodies of the messages you are trying to store are big enough to surpass this value.Try to change the value of max_allowed_packet
to something bigger. I think that by default is set to 4 or 8 MB. Put something like 128MB to be sure.
Ah, good point, thanks!
It was set to 16MB. I upped it to 128MB. I kicked it off again, so I should know by tomorrow morning whether it's working or not :)
OK, this seemed to work to solve the problem in this issue. And then I ran into another one of those strftime date not valid errors on the third file. :(
While trying to download the Linux Kernel mailing list, I'm getting a MySQL timeout error (see below). It timed out after about 12-16 hours, I think. I didn't note exactly when I started it, but it was sometime in the early morning and I noticed the timeout before I went to bed.
This happened before, and I increased the wait_timeout on the mysql server thinking that would solve the issue, but it didn't. It still failed before the wait_timeout was reached. I was tired last night and forgot to check to see if the db connection was still live. I checked this morning and it hadn't timed out in the screen where I left it running from the work I was doing yesterday afternoon. Usually I find it timed out in the morning.
Details:
Command: