Magento Category Url error: SQLSTATE[08004] [1040] Too many connections
Getting following error on one of my category url, need help. How do I fix this
Magento Commerce
There has been an error processing your request
SQLSTATE[08004] [1040] Too many connections
Trace:
#0 /home/public_html/includes/src/__default.php(56407): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/public_html/includes/src/__default.php(56963): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/public_html/includes/src/__default.php(55076): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/public_html/includes/src/__default.php(56133): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/public_html/includes/src/__default.php(57071): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/public_html/includes/src/__default.php(30817): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/public_html/includes/src/__default.php(30748): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(141): Mage_Core_Model_Resource->getConnection('core_setup')
#8 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(234): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#9 /home/public_html/includes/src/__default.php(21370): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/public_html/includes/src/__default.php(21296): Mage_Core_Model_App->_initModules()
#11 /home/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/public_html/index.php(83): Mage::run('', 'store')
#13 {main}
Error log record number: 1120556696777
Magento is a trademark of Magento Inc. Copyright © 2017 Magento Inc.
magento-1.9
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Getting following error on one of my category url, need help. How do I fix this
Magento Commerce
There has been an error processing your request
SQLSTATE[08004] [1040] Too many connections
Trace:
#0 /home/public_html/includes/src/__default.php(56407): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/public_html/includes/src/__default.php(56963): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/public_html/includes/src/__default.php(55076): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/public_html/includes/src/__default.php(56133): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/public_html/includes/src/__default.php(57071): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/public_html/includes/src/__default.php(30817): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/public_html/includes/src/__default.php(30748): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(141): Mage_Core_Model_Resource->getConnection('core_setup')
#8 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(234): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#9 /home/public_html/includes/src/__default.php(21370): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/public_html/includes/src/__default.php(21296): Mage_Core_Model_App->_initModules()
#11 /home/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/public_html/index.php(83): Mage::run('', 'store')
#13 {main}
Error log record number: 1120556696777
Magento is a trademark of Magento Inc. Copyright © 2017 Magento Inc.
magento-1.9
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32
add a comment |
Getting following error on one of my category url, need help. How do I fix this
Magento Commerce
There has been an error processing your request
SQLSTATE[08004] [1040] Too many connections
Trace:
#0 /home/public_html/includes/src/__default.php(56407): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/public_html/includes/src/__default.php(56963): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/public_html/includes/src/__default.php(55076): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/public_html/includes/src/__default.php(56133): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/public_html/includes/src/__default.php(57071): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/public_html/includes/src/__default.php(30817): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/public_html/includes/src/__default.php(30748): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(141): Mage_Core_Model_Resource->getConnection('core_setup')
#8 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(234): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#9 /home/public_html/includes/src/__default.php(21370): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/public_html/includes/src/__default.php(21296): Mage_Core_Model_App->_initModules()
#11 /home/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/public_html/index.php(83): Mage::run('', 'store')
#13 {main}
Error log record number: 1120556696777
Magento is a trademark of Magento Inc. Copyright © 2017 Magento Inc.
magento-1.9
Getting following error on one of my category url, need help. How do I fix this
Magento Commerce
There has been an error processing your request
SQLSTATE[08004] [1040] Too many connections
Trace:
#0 /home/public_html/includes/src/__default.php(56407): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/public_html/includes/src/__default.php(56963): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/public_html/includes/src/__default.php(55076): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/public_html/includes/src/__default.php(56133): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/public_html/includes/src/__default.php(57071): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/public_html/includes/src/__default.php(30817): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/public_html/includes/src/__default.php(30748): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(141): Mage_Core_Model_Resource->getConnection('core_setup')
#8 /home/public_html/includes/src/Mage_Core_Model_Resource_Setup.php(234): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#9 /home/public_html/includes/src/__default.php(21370): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/public_html/includes/src/__default.php(21296): Mage_Core_Model_App->_initModules()
#11 /home/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/public_html/index.php(83): Mage::run('', 'store')
#13 {main}
Error log record number: 1120556696777
Magento is a trademark of Magento Inc. Copyright © 2017 Magento Inc.
magento-1.9
magento-1.9
asked Mar 8 '18 at 18:20
Sanya ZahidSanya Zahid
13210
13210
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32
add a comment |
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32
add a comment |
1 Answer
1
active
oldest
votes
If there are too many MySQL connections and requests coming simultaneously then this situation occurs. Because sever unable to handle such bulk requests at a time. So in this case you can either increase the number of concurrent processes your server is handling to it's maximum value and the server capacity too.
Try this steps:
1) Open your mysql configuration file located at /etc/my.cnf
2) Locate this variable max_connections
3) Set your desire number of available connection number for avoiding
future error max_connections = 250
4) Restart you mysql server
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f216640%2fmagento-category-url-error-sqlstate08004-1040-too-many-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If there are too many MySQL connections and requests coming simultaneously then this situation occurs. Because sever unable to handle such bulk requests at a time. So in this case you can either increase the number of concurrent processes your server is handling to it's maximum value and the server capacity too.
Try this steps:
1) Open your mysql configuration file located at /etc/my.cnf
2) Locate this variable max_connections
3) Set your desire number of available connection number for avoiding
future error max_connections = 250
4) Restart you mysql server
add a comment |
If there are too many MySQL connections and requests coming simultaneously then this situation occurs. Because sever unable to handle such bulk requests at a time. So in this case you can either increase the number of concurrent processes your server is handling to it's maximum value and the server capacity too.
Try this steps:
1) Open your mysql configuration file located at /etc/my.cnf
2) Locate this variable max_connections
3) Set your desire number of available connection number for avoiding
future error max_connections = 250
4) Restart you mysql server
add a comment |
If there are too many MySQL connections and requests coming simultaneously then this situation occurs. Because sever unable to handle such bulk requests at a time. So in this case you can either increase the number of concurrent processes your server is handling to it's maximum value and the server capacity too.
Try this steps:
1) Open your mysql configuration file located at /etc/my.cnf
2) Locate this variable max_connections
3) Set your desire number of available connection number for avoiding
future error max_connections = 250
4) Restart you mysql server
If there are too many MySQL connections and requests coming simultaneously then this situation occurs. Because sever unable to handle such bulk requests at a time. So in this case you can either increase the number of concurrent processes your server is handling to it's maximum value and the server capacity too.
Try this steps:
1) Open your mysql configuration file located at /etc/my.cnf
2) Locate this variable max_connections
3) Set your desire number of available connection number for avoiding
future error max_connections = 250
4) Restart you mysql server
answered Mar 9 '18 at 5:08
Rahul SinghRahul Singh
7721726
7721726
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f216640%2fmagento-category-url-error-sqlstate08004-1040-too-many-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
did you try to change category url and test it ?
– Naveed Asim
Mar 8 '18 at 18:32