473,490 Members | 2,489 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

max_user_connections : What Value ?

Hi,

We run PHP on a Linux Server Fedora AMD 1.3 Duron, 512 MB RAM, 60 GB
HD.

The website welcomes more and more users.

Problem : we very often have max_user_connections errors and need to
restart SQL server.

The max_user_connections variable_name in MySQL is set to 0 and
max_connections is set to 100.

Question : Wish values do you think are the most appropriated ?

I thank you for your advise

Mary Henry
http://www.jssgallery.org
Jul 17 '05 #1
1 2245
On 21 Dec 2004 06:03:34 -0800, He*****@2cuk.co.uk (Henry) wrote:
We run PHP on a Linux Server Fedora AMD 1.3 Duron, 512 MB RAM, 60 GB
HD.

The website welcomes more and more users.

Problem : we very often have max_user_connections errors and need to
restart SQL server.

The max_user_connections variable_name in MySQL is set to 0 and
max_connections is set to 100.

Question : Wish values do you think are the most appropriated ?


Sounds like an "It Depends" question. How many simultaneous connections do you
need, and how many can the server handle given the typical SQL queries executed
down those connections? Presumably the answer is then the smaller of those two.

Are these connections connecting to a single username, or a small set of
usernames? If so, perhaps consider using persistent connections.

Or if the connections are to many separate usernames, make sure you're _not_
using persistent connections, else each connection to each username gets put in
the persistent connection pool and held open beyond the execution of the
script, and so makes the problem worse.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

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

Similar topics

1
14123
by: G Kannan | last post by:
Hey all! I have written a perl script to retrieve information from a HTML Form and insert the data into an Oracle database table. I am gettting the the following error message: "Use of...
1
2068
by: Henry | last post by:
Hi, We run a Linux Server Fedora AMD 1.3 Duron, 512 MB RAM, 60 GB HD. The website welcomes more and more users. Problem : we very often have max_user_connections errors and need to restart...
3
18175
by: otto | last post by:
i need to read a variable in a javascript and translate it to a form in html the javascript variable is: <SCRIPT LANGUAGE='JavaScript'>RF2N('Total');</script> and i need to put that...
3
11912
by: Eric Chang | last post by:
I was working on this simple form with radio boxes. And when I click on one of the radio box, it tell me the value is "undefined" Why is that ? I did defined the value of each radio box: ...
16
11458
by: cwizard | last post by:
I'm calling on a function from within this form, and there are values set but every time it gets called I get slammed with a run time error... document.frmKitAmount.txtTotalKitValue is null or not...
4
3001
by: dmiller23462 | last post by:
So here's my problem.....I need to set up different email distributions based on which option in the following Select form has been chosen....For instance if "Putaway" is chosen it needs to email...
7
5064
by: matthew_carver | last post by:
Hello, I have an ASP page that loops through a SQL Server 2000 table, then downloads an Excel sheet the users can save, etc. Works fine, except, I see that in one particular "comments" field the...
13
9582
by: Stumped and Confused | last post by:
Hello, I really, really, need some help here - I've spent hours trying to find a solution. In a nutshell, I'm trying to have a user input a value in form's textfield. The value should then be...
1
2880
by: Dan | last post by:
This is one that has me stumped and I need an expert's input. Any ideas why the values from the second script-generated drop down list isn't recognized by the script to add time values to the...
0
7112
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
6974
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
7146
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
6852
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...
1
4878
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
4573
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
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
628
muto222
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.