Ask a Question related to MySQL, Design and Development.
-
Felix Natter #1
severe load problems, too many connections
hi,
on an apache 1.3.37/mysql 3.23.49 server we often experience a slowdown and
we get random "Too many connections" errors from the MySQL-server. The
problem goes away for a short time when I restart the apache (apparently not
when restarting mysql).
I tried to use mtop to find out what's causing this, but I see nothing
special. Is there something that often causes these "too many connections"
errors?
thanks,
--
Felix Natter
Felix Natter Guest
-
FTP Connections Problems
Hi, Having difficulty setting up an initial connection with Contribute. Application successfully logs to my FTP server, and performs all ftp... -
Problems adding connections
I am so frustrated with this programme. I have all my domain names hosted by namesco. The connections (even if I disable them) will not work if... -
Problems with OLE DB Connections
I have applied the 'fix' for ole db connections with Windows XP SP2, but then I get an error message of HTTP 405 when I try to connect. I found that... -
Access connections problems
I get the following error when trying connect to an Access db on the local drive. Error Type: Provider (0x80004005) Unspecified error... -
Multiple connections problems
> I have multiple recordsets on a page that use the same connection file to How many recordsets? I would advise to use the one connection for... -
Jerry Stuckle #2
Re: severe load problems, too many connections
Felix Natter wrote:
Not closing the connections when you're done with them? For instance,> hi,
>
> on an apache 1.3.37/mysql 3.23.49 server we often experience a slowdown and
> we get random "Too many connections" errors from the MySQL-server. The
> problem goes away for a short time when I restart the apache (apparently not
> when restarting mysql).
>
> I tried to use mtop to find out what's causing this, but I see nothing
> special. Is there something that often causes these "too many connections"
> errors?
>
> thanks,
>
if you're using PHP, its garbage collector will clean them up, but not
necessarily immediately. And if the server is loaded, it may be a while
before connections are closed.
Or maybe you're just getting a heavy load and you're working the poor
server too hard.
Sounds like you need to do some digging into what the server is doing.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
[email]jstucklex@attglobal.net[/email]
==================
Jerry Stuckle Guest
-
Axel Schwenke #3
Re: severe load problems, too many connections
Felix Natter <fnatter@gmx.net> wrote:
Not enough information. Running out of connections (default: 200) is in>
> on an apache 1.3.37/mysql 3.23.49 server we often experience a slowdown and
> we get random "Too many connections" errors from the MySQL-server. The
> problem goes away for a short time when I restart the apache (apparently not
> when restarting mysql).
>
> I tried to use mtop to find out what's causing this, but I see nothing
> special. Is there something that often causes these "too many connections"
> errors?
most cases a symptom, not the problem itself. Probably an overloaded
machine, leading to a congestion situation. Of course you could raise
the connection limit, but very probably this would make things worse,
not better.
You need monitoring. The minimum would be to turn on the -> slow query
log to log SQL statements taking too long. Probably you want some kind
of performance monitoring (think: sar) for the whole server as well.
XL
--
Axel Schwenke, Senior Software Developer, MySQL AB
Online User Manual: [url]http://dev.mysql.com/doc/refman/5.0/en/[/url]
MySQL User Forums: [url]http://forums.mysql.com/[/url]
Axel Schwenke Guest



Reply With Quote

