Answers.Body: <p>Two thoughts:</p>
  
  <p>1) any chance you have a very low limit by default in your hosting setup/config?
  Can you get into MySQL and figure out the value of this variable: </p>
  
  <pre><code>show variables like 'max_connections';
  </code></pre>
  
  <p>2) could you be under brute force attack - e.g. against the login form? Can you see any extra/unusual load on your server. If you can get to a shell you can type the following command:</p>
  
  <pre><code>top
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-19T03:32:08.830Z
Answers.LastActivityDate: 2016-07-19T03:32:08.830Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>Getting an error message on public website regarding too many connections.  We increased our SQL connections, but we don't have a lot of interaction going on between our website and CiviCRM.  We have web hooks between our forms and CiviCRM.  How do we troubleshoot what is causing this?  Nothing in the logs.  Any ideas for preventing this?</p>
  
  <p>We are on WordPress 4.5.3 and CiviCRM 4.7.9.</p>
  
  <pre><code>Initialization Error
  
  Array
  (
      [callback] =&gt; Array
          (
              [0] =&gt; CRM_Core_Error
              [1] =&gt; simpleHandler
          )
  
      [code] =&gt; -24
      [message] =&gt; DB Error: connect failed
      [mode] =&gt; 16
      [debug_info] =&gt;  [nativecode=Too many connections]
      [type] =&gt; DB_Error
      [user_info] =&gt;  [nativecode=Too many connections]
      [to_string] =&gt; [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Too many connections]"]
  )
  Initialization Error
  
  Array
  (
      [callback] =&gt; Array
          (
              [0] =&gt; CRM_Core_Error
              [1] =&gt; simpleHandler
          )
  
      [code] =&gt; -24
      [message] =&gt; DB Error: connect failed
      [mode] =&gt; 16
      [debug_info] =&gt;  [nativecode=Too many connections]
      [type] =&gt; DB_Error
      [user_info] =&gt;  [nativecode=Too many connections]
      [to_string] =&gt; [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Too many connections]"]
  )
  </code></pre>
  
  <p><a href="https://i.sstatic.net/Ui7PS.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ui7PS.jpg" alt="Error Message"></a></p>
  
Tags: <wordpress><database><error>
Title: getting error message "too many connections"
ThreadText: # getting error message "too many connections"
  
  (Asked by: username_0 on 2016-07-18)
  
  Getting an error message on public website regarding too many connections.  We increased our SQL connections, but we don't have a lot of interaction going on between our website and CiviCRM.  We have web hooks between our forms and CiviCRM.  How do we troubleshoot what is causing this?  Nothing in the logs.  Any ideas for preventing this?
  We are on WordPress 4.5.3 and CiviCRM 4.7.9.
  Initialization Error
  
  Array
  (
      [callback] => Array
          (
              [0] => CRM_Core_Error
              [1] => simpleHandler
          )
  
      [code] => -24
      [message] => DB Error: connect failed
      [mode] => 16
      [debug_info] =>  [nativecode=Too many connections]
      [type] => DB_Error
      [user_info] =>  [nativecode=Too many connections]
      [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Too many connections]"]
  )
  Initialization Error
  
  Array
  (
      [callback] => Array
          (
              [0] => CRM_Core_Error
              [1] => simpleHandler
          )
  
      [code] => -24
      [message] => DB Error: connect failed
      [mode] => 16
      [debug_info] =>  [nativecode=Too many connections]
      [type] => DB_Error
      [user_info] =>  [nativecode=Too many connections]
      [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Too many connections]"]
  )
  
  **Tags:** wordpress, database, error
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-07-19. Score: 1
  
  Two thoughts:
  1) any chance you have a very low limit by default in your hosting setup/config?
  Can you get into MySQL and figure out the value of this variable: 
  show variables like 'max_connections';
  
  2) could you be under brute force attack - e.g. against the login form? Can you see any extra/unusual load on your server. If you can get to a shell you can type the following command:
  top
  
  
  ---
  
  