<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title># rm-rf.es &#187; LOCK TABLES</title>
	<atom:link href="http://rm-rf.es/sobre/lock-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://rm-rf.es</link>
	<description>Administración de sistemas, Unix, Linux, FreeBSD, Windows, hosting, dominios, servidores...</description>
	<lastBuildDate>Wed, 23 May 2012 19:38:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>mysqldump: Errcode: 24 when using LOCK TABLES</title>
		<link>http://rm-rf.es/mysqldump-errcode-24-when-using-lock-tables/</link>
		<comments>http://rm-rf.es/mysqldump-errcode-24-when-using-lock-tables/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 10:17:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Errcode: 24 when using LOCK TABLES]]></category>
		<category><![CDATA[LOCK TABLES]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://rm-rf.es/?p=192</guid>
		<description><![CDATA[Hoy tenía que dumpear una base de datos con una gran cantidad de tablas (&#62;1000) y al tratar de hacer un mysqldump recibía el siguiente error: # mysqldump xxxx &#62; xxxx.sql mysqldump: Got error: 1105: File './xxxx/wp_comments.MYD' not found (Errcode: 24) when using LOCK TABLES Una de las soluciónes pasa por hacer un skip las [...]]]></description>
			<content:encoded><![CDATA[<p>Hoy tenía que dumpear una base de datos con una gran cantidad de tablas (&gt;1000) y al tratar de hacer un mysqldump recibía el siguiente error:</p>
<pre># mysqldump xxxx &gt; xxxx.sql
mysqldump: Got error: 1105: File './xxxx/wp_comments.MYD' not found (Errcode: 24) when using LOCK TABLES</pre>
<p>Una de las soluciónes pasa por hacer un skip las tablas LOCK, de este modo el dump se realiza correctamente:</p>
<pre># mysqldump --lock-tables=false xxxx_xxx &gt; xxxx.sql</pre>
<p>El error es debido a lo siguiente:</p>
<pre>$ perror 24
OS error code 24: Too many open files</pre>
<p>Demasiados ficheros abiertos&#8230;</p>
<p>Otra opción es limitar el nº de ficheros abiertos a una tabla cada vez:</p>
<pre>mysqldump --single-transaction</pre>
<h4  class="related_post_title">También te puede interesar:</h4><ul class="related_post"><li><a href="http://rm-rf.es/mysqldump-error-2013-lost-connection-to-mysql-server-during-query-when-dumping-table/" title="mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table">mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table</a></li><li><a href="http://rm-rf.es/backup-de-todas-las-bases-de-datos-mysql-con-una-sola-linea-de-comandos/" title="Backup de todas las bases de datos MySQL con una sola línea de comandos">Backup de todas las bases de datos MySQL con una sola línea de comandos</a></li><li><a href="http://rm-rf.es/mysqldump-excluir-una-tabla-en-el-backup/" title="Mysqldump: excluir una tabla en el backup">Mysqldump: excluir una tabla en el backup</a></li><li><a href="http://rm-rf.es/backups-mysql-con-mysqldump/" title="Backups MySQL con mysqldump">Backups MySQL con mysqldump</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://rm-rf.es/mysqldump-errcode-24-when-using-lock-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

