<?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>Control WebPanel Wiki &#187; Error: Too many connections</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/error-too-many-connections/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>MySQL Error: Too many connections</title>
		<link>http://wiki.centos-webpanel.com/mysql-error-too-many-connections</link>
		<comments>http://wiki.centos-webpanel.com/mysql-error-too-many-connections#comments</comments>
		<pubDate>Fri, 03 May 2019 05:36:49 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Error: Too many connections]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1139</guid>
		<description><![CDATA[Error on the website or in cwp: ERROR 1040 (HY000): Too many connections PHP Warning: mysqli_connect(): (HY000/1040): Too many connections The default value for the maximum permitted number of simultaneous client connections is 150. If you have sites with high peaks or high traffic then you can increase the limit. Check the current connection limits [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Error on the website or in cwp:</p>
<p>ERROR 1040 (HY000): Too many connections<br />
PHP Warning: mysqli_connect(): (HY000/1040): Too many connections</p>
<p>The default value for the maximum permitted number of simultaneous client connections is 150.</p>
<p>If you have sites with high peaks or high traffic then you can increase the limit.</p>
<p><strong>Check the current connection limits</strong></p>
<pre>mysql -e "show variables like '%connection%';"</pre>
<p>To increase the limits you can edit this file <strong>/etc/my.cnf.d/server.cnf </strong><br />
Add <strong>max_connections = 500</strong> under [mysqld] line.</p>
<p>For the new values to get accepted you need to restart the mysql server.</p>
<pre>service mysql restart</pre>
<p>Now you can recheck again if the limits got increased.</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/mysql-error-too-many-connections/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
