Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Interesting (mysql?) problem

Interesting (mysql?) problem

2006-02-15       - By Tom Sightler

 Back
Reply:     1     2     3  

On Wed, 2006-02-15 at 20:56 -0500, Ken Snider wrote:
> However, for some reason, with mysql is under load, interactive response on
> that server becomes "choppy", that is, pauses of a few seconds here and
> there can be seen in connections. Also, a connection to the mysql server is
> usually subsecond, however every 5-10 seconds connections will take 3-4
> seconds to establish, for no reason I can make out.
>
> In short, this box is bored - it's doing nearly nothing and I cannot find a
> resource contention issue of any sort - yet it would appear that, for
> whatever reason, delays keep popping up on connect. I'm beginning to think
> I'm hitting a TCP stack limitation of some sort. Any ideas?

Well, at first glance it doesn't seem like 100-150 connections a second
would be enough to cause problems, however, when thinking about this I
wonder if it is possible that you are seeing some performance issues
because of sockets in time wait state.  Running 'netstat -an' should
show this easily.

If that is the case then you might want to By default the local port
range is set for 32768-61000.  That's a lot of ports and the default
time wait is 60 seconds, however, I've seen performance issues once
there are more the 1000 sockets in time wait which you could easily be
seeing.  You might try setting tcp_fin_timeout to something lower, like
15 seconds, and potentially increase the port range by setting
ip_local_port_range.

Of course, that's assuming it really is a tcp problem which is at this
moment unproven, however, it shouldn't be difficult to tell by watching
netstat output.

Later,
Tom



--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list