Apache+mySQL leaving connections open?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin Thorpe

    Apache+mySQL leaving connections open?

    I've recently started getting 'too many connections' from our website
    and I don't really know why.

    Nearly every page of our website includes a file which does a single
    pconnect which all my scripts share. At this point I would expect a
    single connection per httpd child running which is closed when the child
    is destroyed. mysql max_connections is currently 100 and httpd max
    clients is 100 so I shouldn't get this problem should I?

    As a shorter term fix, can anyone tell me the syntax to increase
    max_connections from my.cnf. The manual on the website is not very clear?
Working...