Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9048753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:13:53+00:00 2026-06-16T12:13:53+00:00

Who maintains persistent connections pool? I’ve looked a bit at the source code and

  • 0

Who maintains persistent connections pool?

I’ve looked a bit at the source code and I understood that mysql_pconnect is a PHP made function and PHP itself is maintaining a pool of connections. It’s not mysql’s built in functionality and PHP only is responsible for maintaining a pool. Which seems legit.
Am I right ?

Slow queries killer?

I’m experiencing some problems with timed out connections.
My my.cnf has a configuration of wait_timeout=5. This is theoretically meant to kill queries that take more then 5 seconds to execute.

With this configuration I feel like I’m not achieving neither the 5 seconds limit per query, nor any benefits from persistent connections.

Could you validate my thoughts and suggest something?
php 5.3.3, mysql 5.1 via mysql ext, no mysqlnd

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:13:54+00:00Added an answer on June 16, 2026 at 12:13 pm

    wait_timeout should only kill idle connections.

    To kill long running queries, you’ll have to look into an external script.

    The percona toolkit does have a tool that fits with what you want to do: pt-kill

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

who can explain code that it's the core of the twitter snowflake. long nextId
I work at a software company that maintains some products. We use a bugtracker
I'm trying to implement an application that coordinates multiple users who are scheduling exclusive
I've got to maintain some code written by someone else who is no longer
I noticed that a significant part of my (pure Python) code deals with tables.
How do people who aren't committers on open source projects keep their changes on
Who is responsible to maintain the web controls (ASP:Button) for example that added in
Who can help me to fix the following problem? Here is the issue: in
Who knows how to filter the Store right? I tried to do it in
Who is winning in the Low vs High fidelity prototyping debate? Should prototype-zero (P0)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.