<?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>max_connections &#8211; SMsoft &#8211; informatica e dintorni</title>
	<atom:link href="https://blog.smsoft.it/tag/max_connections/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.smsoft.it</link>
	<description>consigli settimanali su MacOS, GNU/Linux ed Open Source</description>
	<lastBuildDate>Tue, 16 Aug 2016 09:30:34 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=72377</generator>
	<item>
		<title>Debian: MySQL max_connections non viene impostato a più di 214</title>
		<link>https://blog.smsoft.it/2016/08/16/debian-mysql-max_connections-non-viene-impostato-piu-214/</link>
					<comments>https://blog.smsoft.it/2016/08/16/debian-mysql-max_connections-non-viene-impostato-piu-214/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 16 Aug 2016 09:30:34 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[max_connections]]></category>
		<category><![CDATA[MySQL]]></category>
		<guid isPermaLink="false">http://blog.smsoft.it/?p=3478</guid>

					<description><![CDATA[Se avete provato a modificare il parametro max_connections nel file /etc/mysql/my.cnf e non viene impostato a più di 214, significa che il problema è nel numero di files che mysql può aprire. Per far caricare correttamente tale parametro a mysql, bisogna procedere come segue: modificare il file systemd relativo a mysql: [crayon-6a85e4e9aa652255246666/] Aggiungere la riga: ... <a title="Debian: MySQL max_connections non viene impostato a più di 214" class="read-more" href="https://blog.smsoft.it/2016/08/16/debian-mysql-max_connections-non-viene-impostato-piu-214/" aria-label="Per saperne di più su Debian: MySQL max_connections non viene impostato a più di 214">Leggi tutto</a>]]></description>
										<content:encoded><![CDATA[<p>Se avete provato a modificare il parametro max_connections nel file /etc/mysql/my.cnf e non viene impostato a più di 214, significa che il problema è nel numero di files che mysql può aprire.</p>
<p>Per far caricare correttamente tale parametro a mysql, bisogna procedere come segue:</p>
<p>modificare il file systemd relativo a mysql:</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">vi /lib/systemd/system/mysql.service</pre><p></p>
<p>Aggiungere la riga:</p><pre class="urvanov-syntax-highlighter-plain-tag">LimitNOFILE=8192</pre><p></p>
<p>Ricaricare systemd</p><pre class="urvanov-syntax-highlighter-plain-tag">systemctl daemon-reload</pre><p></p>
<p>Riavviare mysql:</p><pre class="urvanov-syntax-highlighter-plain-tag">systemctl restart mysql.service</pre><p></p>
<p>Per verificare, recuperare il PID di MySQL:</p><pre class="urvanov-syntax-highlighter-plain-tag">cat /var/run/mysqld/mysqld.pid</pre><p></p>
<p>ipotizziamo sia 20203, digitare e verificare che la riga &#8220;Max open files&#8221; contenga <strong>8192</strong>:</p><pre class="urvanov-syntax-highlighter-plain-tag">cat /proc/20203/limits</pre><p></p>
<p>enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.smsoft.it/2016/08/16/debian-mysql-max_connections-non-viene-impostato-piu-214/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
