<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Open_files_limit on FromDual GmbH</title><link>https://www.fromdual.com/tags/open_files_limit/</link><description>Recent content in Open_files_limit on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Sat, 28 Feb 2026 18:19:00 +0100</lastBuildDate><atom:link href="https://www.fromdual.com/tags/open_files_limit/index.xml" rel="self" type="application/rss+xml"/><item><title>Increase file limit of a running process</title><link>https://www.fromdual.com/blog/increase-file-limit-of-a-running-process/</link><pubDate>Fri, 19 Jun 2020 18:53:03 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/increase-file-limit-of-a-running-process/</guid><description>&lt;p>Asking stupid questions and googling for them is fun some times&amp;hellip;&lt;/p></description></item><item><title>Linux system calls of MySQL process</title><link>https://www.fromdual.com/blog/linux-system-calls-of-mysql-process/</link><pubDate>Fri, 15 Mar 2019 17:06:24 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/linux-system-calls-of-mysql-process/</guid><description>&lt;p>We had the problem today that a MySQL Galera Cluster node with the &lt;a href="https://whatis.techtarget.com/definition/multi-tenancy" target="_blank" title="multi-tenancy">multi-tenancy&lt;/a> pattern caused a lot of &lt;a href="https://en.wikipedia.org/wiki/Time_%28Unix%29#User_time_vs_system_time" target="_blank" title="User time vs system time">system time&lt;/a> (sy 75%, &lt;a href="http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html" target="_blank" title="Linux Load Averages: Solving the Mystery">load average&lt;/a> about 30 (you really must read this article by Brendan Gregg, it is worth it!)) so we wanted to find what &lt;a href="https://en.wikipedia.org/wiki/System_call" target="_blank" title="System call">system calls&lt;/a> are being used to see what could cause this issue (to verify if it is a &lt;a href="https://www.fromdual.com/node/1306" title="Table open cache too small">TOC&lt;/a> or a &lt;a href="https://www.fromdual.com/node/1305" title="Table definition cache too small">TDC&lt;/a> problem:&lt;/p></description></item><item><title>Table open cache too small</title><link>https://www.fromdual.com/blog/table-open-cache-too-small/</link><pubDate>Wed, 15 Jul 2015 06:04:36 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/table-open-cache-too-small/</guid><description>&lt;p>The Table Open Cache (&lt;code>table_open_cache&lt;/code> or old name &lt;code>table_cache&lt;/code>) is a cache to store file handles for all threads. The actual value of cache entries can be seen with the global status of open tables (&lt;code>Open_tables&lt;/code>).&lt;br>
Increasing &lt;code>table_open_cache&lt;/code> increases the number of file descriptors (&lt;code>open_files_limit&lt;/code>) that MySQL requires.&lt;br>
You can check whether you need to increase the Table Open Cache by checking &lt;code>Open_tables&lt;/code> and &lt;code>Opened_tables&lt;/code>. If the value of &lt;code>Opened_tables&lt;/code> is large and you do not use &lt;code>FLUSH TABLES&lt;/code> often (which just forces all tables to be closed and reopened), then you should increase the value of the &lt;code>table_open_cache&lt;/code> variable.&lt;/p></description></item><item><title>Could not increase number of max_open_files</title><link>https://www.fromdual.com/blog/could-not-increase-number-of-max-open-files/</link><pubDate>Sun, 28 Dec 2014 15:37:36 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/could-not-increase-number-of-max-open-files/</guid><description>&lt;p>Hello all, on some Linux systems I get the following warning during my MySQL database start-up:&lt;/p></description></item><item><title>How MySQL behaves with many schemata, tables and partitions</title><link>https://www.fromdual.com/blog/how-mysql-behaves-with-many-schemata-tables-and-partitions/</link><pubDate>Wed, 30 Nov 2011 15:35:28 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/how-mysql-behaves-with-many-schemata-tables-and-partitions/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Recently a customer claimed that his queries were slow some times and sometimes they were fast.&lt;/p></description></item><item><title>Configuration of MySQL for Shared Hosting</title><link>https://www.fromdual.com/blog/mysql-shared-hosting-configuration/</link><pubDate>Fri, 22 Apr 2011 13:03:31 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/mysql-shared-hosting-configuration/</guid><description>&lt;p>If you ask around about shared hosting setups with MySQL everybody is frightened. In fact it looks like shared hosting is one of the most difficult setups you can get.&lt;/p></description></item><item><title>MySQL trouble shooting</title><link>https://www.fromdual.com/blog/mysql-trouble-shooting/</link><pubDate>Mon, 15 Mar 2010 11:46:39 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/mysql-trouble-shooting/</guid><description>&lt;h2 id="table-of-contents">Table of Contents&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#max_open_files">&lt;code>max_open_files&lt;/code> warning during &lt;code>mysqld&lt;/code> startup&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#upgrade">Troubles after NON recommended upgrade path&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#top">&lt;code>Com_*&lt;/code> counters not updated&lt;/a> in &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/show-status.html" target="_blank">&lt;code>SHOW STATUS&lt;/code>&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#backup_restore">&lt;code>ERROR 1300 (HY000): Invalid utf8 character string&lt;/code>&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#mysql">MySQL crashes during import&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/mysql-trouble-shooting/#openGL_error">MySQL workbench gives an openGL error&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>&lt;span id="max_open_files">&lt;/span>&lt;/p></description></item><item><title>Systemd related stuff for MariaDB and MySQL</title><link>https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/</link><pubDate>Fri, 06 Jan 2023 19:05:06 +0100</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/</guid><description>&lt;h2 id="table-of-contents">Table of Contents&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#systemd">Systemd Notizen&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#innodb-numa-interleave-with-mariadb">InnoDB NUMA interleave with MariaDB&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#checking-galera-cluster-sst-timeout-with-systemd">Checking Galera Cluster SST timeout with Systemd&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#kill-mariadb-galera-node-under-systemd">Kill MariaDB Galera node under Systemd&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#mariadb-memlock-with-systemd">MariaDB Memory locking (&lt;code>--memlock&lt;/code>) with Systemd&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#who-is-restarting-my-mariadbd">Who is restarting my &lt;code>mariadbd&lt;/code>?&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.fromdual.com/blog/systemd-related-stuff-for-mariadb-and-mysql/#location-of-unit-files">Location of Systemd unit files&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="systemd-notizen">Systemd Notizen&lt;/h2>
&lt;p>Systemd paged per default nach &lt;code>less&lt;/code>. Das ist ungewohnt und doof, weil es gegen allgemeines Linux-Verhalten verstösst. Abhilfe schafft:&lt;/p></description></item></channel></rss>