473,473 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

max_user_connection, when is it a bad script and when is it a busy server.

First I should point out, that 99.99% of the time I have no problems
with my server.
Yes, it is semi busy but nothing that should bring MySQL server down. I
get on average 70 to 100 queries a seconds.

My understanding of max_user_connection is that it is the number of
scripts that simultaneously request a connection, (before the script
ends).
If there is a bug in the script, such as an infinite loop then
connection will be kept until the timeout occurs.

Seen that my server works fine most of the time, I can assume that such
a bug is pretty rare difficult to reproduce. So how can I can it reach
the max number connection?

So my question is, is there a log that keeps track of scripts that took
a long time to run?
I guess anything taking more than 3 seconds should be counted as slow.
A script should never take more than one or two seconds to execute,
(should it?).

And from a database point of view, is there a way of setting a time
out? If the query does not return within 1 or 2 seconds then there is a
problem and it should exit.

And last but not least, Is there a command I my script can send to
flush all the connections regardless of who/what is using it?
Because when that happens then I have to wait a very long time for the
server to recover.

Any thoughts?

FFMG

Oct 16 '06 #1
0 1145

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dr. Know | last post by:
I am working on an ASP page that writes to several databases, ranging from MDBs to x-base. One of the tasks involves using an existing highest value from the DB and incrementing it before...
1
by: Philipp Lenssen | last post by:
Using Firefox and this Reversi script http://gamesforthebrain.com/game/reversi/ , I often get "A script on this page may be busy ..." warning message. I suspect to be the recursive min-max...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
1
by: pmclinn | last post by:
The code below is generated by an application that allows you to put a Microsoft assistant on a webpage. I'm having a heck of a time trying to get this script to launch on a server side button...
1
by: Michael S. Scherotter | last post by:
I have a proxy class derived from System.Web.Services.Protocols.SoapHTTPClient that calls a web service. Sometimes, because the call takes a longer time, I get the OLE server busy dialog. Is...
1
by: Mr Bojangles | last post by:
Hi, I want a do the following: From a (client side) web form, post to server side script (I'm using Javascript but anything will do), which in turn--and this is the important bit that I...
0
by: FFMG | last post by:
First I should point out, that 99.99% of the time I have no problems with my server. Yes, it is semi busy but nothing that should bring MySQL server down. I get on average 70 to 100 queries a...
7
by: DC | last post by:
Hi, there is a 500;13 page one can configure in the website properties, but ..Net Framework 1.1 also delivers the "server too busy" message sometimes and the IIS custom error page does not seem...
4
by: jn00s | last post by:
I am running a windows 2003 server with close to 150 websites. The majority of the sites, which are all running the same very complex classic ASP portal application using ASPImage/ASPMail/ASPUpload,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.