Project

General

Profile

Actions

Bug #2414

open

database goes away during stack making

Added by Scott Stagg about 11 years ago. Updated about 7 years ago.

Status:
In Test
Priority:
Normal
Assignee:
Sargis Dallakyan
Category:
-
Target version:
-
Start date:
07/11/2013
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
Workaround:

Description

Hi all,

We're getting some strange Appion behavior at FSU, and I'm wondering if y'all have ever seen this or have a suggestion on how to fix it. During long stack making jobs, our jobs always crash now with this error:

sinedon.dbdatakeeper.DatabaseError: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Exception mysql_exceptions.OperationalError: (2006, 'MySQL server has gone away') in <bound method Makestack2Loop._del__ of <__main__.Makestack2Loop object at 0x19a63d0>> ignored

The amount of time it will run before crashing is random, but jobs will usually run between 4 and 8 hours. I've tried checking the network connection between the processing node and the database, and it is not the problem. I tried setting the MySQL connection timeouts in my.cnf to:

interactive_timeout = 432000
wait_timeout = 28800

but that didn't make any difference. I am using the truck version of myami. Have y'all seen this error, and do you have any ideas how I can fix it?

Thanks,
Scott

Actions

Also available in: Atom PDF