PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > How to debug a mysqldump dropped connection error?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How to debug a mysqldump dropped connection error?

Réponse
 
LinkBack Outils de la discussion
Vieux 04/09/2007, 22h14   #1
Aiton Goldman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to debug a mysqldump dropped connection error?

I am having debugging a problem I am seeing with mysqldump.

While using mysqldump to make backups of my database, I will
intermitently get the following error :

mysqldump: Error 2013: Lost connection to MySQL server during query
when dumping table....

I am running the pre-compiled 64 bit linux 5.1.20 mysql binaries (
specifically, the Linux non RPM packages ) on a machine with 2 gigs of
memory.

The error has been seen (so far) in two tables. The first table is a
myisam table, which takes up 15 gigs on disk, and has 534858129 rows.
The second table is innodb, takes up 1.3 gigs on disk, and has 2055624
rows. The row the timeout error occurs on is always different.

The error seems to show up regardless of database usage (sometimes it
will show up when we are running intensive queries, other times it
will show up when no queries are being run).

The log-warnings option is enabled with a value of 2, but nothing
shows up in the error log when the timeout occurs.

I have set the interactive_timeout setting to a ridiculously high
number (172800), but the timeouts still occur.

I was experiencing this problem in version 5.1.18, and the upgrade to
5.1.20 has not eliminated the problem.

How should I go about debugging this problem?

I've created a bug for this problem (where there is more information
on the table schema, command line options used with mysqldump, etc) -
http://bugs.mysql.com/bug.php?id=30809

--
Aiton
  Réponse avec citation
Vieux 05/09/2007, 17h25   #2
Aiton Goldman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to debug a mysqldump dropped connection error?

The wait_timeout and interactive_timeout global variables are set to
172800, and max_allowed_packet is set to 30M, and I am still getting
the problem

> I am having debugging a problem I am seeing with mysqldump.
>
> While using mysqldump to make backups of my database, I will
> intermitently get the following error :
>
> mysqldump: Error 2013: Lost connection to MySQL server during query
> when dumping table....
>
> I am running the pre-compiled 64 bit linux 5.1.20 mysql binaries (
> specifically, the Linux non RPM packages ) on a machine with 2 gigs of
> memory.
>
> The error has been seen (so far) in two tables. The first table is a
> myisam table, which takes up 15 gigs on disk, and has 534858129 rows.
> The second table is innodb, takes up 1.3 gigs on disk, and has 2055624
> rows. The row the timeout error occurs on is always different.
>
> The error seems to show up regardless of database usage (sometimes it
> will show up when we are running intensive queries, other times it
> will show up when no queries are being run).
>
> The log-warnings option is enabled with a value of 2, but nothing
> shows up in the error log when the timeout occurs.
>
> I have set the interactive_timeout setting to a ridiculously high
> number (172800), but the timeouts still occur.
>
> I was experiencing this problem in version 5.1.18, and the upgrade to
> 5.1.20 has not eliminated the problem.
>
> How should I go about debugging this problem?
>
> I've created a bug for this problem (where there is more information
> on the table schema, command line options used with mysqldump, etc) -
> http://bugs.mysql.com/bug.php?id=30809
>
> --
> Aiton
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=xiaozhiwen@gmail.com
>
>
>



--
Aiton
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10558 seconds with 10 queries