Bug #46596 Long connection delay
| Submitted: | 7 Aug 2009 0:00 | Modified: | 3 Jun 2012 1:41 |
|---|---|---|---|
| Reporter: | Miroslav Prikasky | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S5 (Performance) |
| Version: | all | OS: | Other (OpenBSD (sparc64)) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Connection, Delay, long, OpenBSD, sparc64 | ||
[7 Aug 2009 0:00]
Miroslav Prikasky
[7 Aug 2009 0:02]
Miroslav Prikasky
ktrace/kdump output
Attachment: mysqld-ktrace.out.gz (application/x-gzip, text), 6.74 KiB.
[7 Aug 2009 6:32]
Valeriy Kravchuk
Thank you for the problem report. For me it looks related to http://bugs.mysql.com/bug.php?id=12061 and corresponding FreeBSD bug, http://www.freebsd.org/cgi/query-pr.cgi?pr=32295&cat=. Maybe something similar still happens to OpenBSD. Do you have any comments?
[7 Aug 2009 14:47]
Miroslav Prikasky
For me it isn't looks related to previous FreeBSD bug, because there is no problem with CPU usage. If mysqld is idle CPU usage is 0%. If I connect to MySQL command line and execute some SQL queries mysqld CPU usage is not more than 10% and queries are fast. After disconnect mysql fall asleep and CPU usage is again 0%. During connection CPU usage looks normal but it is impossible to measure it because "top" process refresh every 5 seconds. This refresh make connection faster, it means not more than 5 seconds. It's anomalous but it is. If I execute infinity loop on server like this "while true; do uptime; done;" connection to MySQL afterwards isn't longer than 1 second. As I write in last post, I have absolutely same OpenBSD 3.4 and MySQL version on i386 without this problem. It looks like specific OpenBSD sparc64 problem.
[10 Aug 2009 9:45]
Susanne Ebrecht
Just for my understanding: You have this with MySQL CLI and with connection via PHP. Or is there a difference between connecting via CLI and via PHP connector?
[10 Aug 2009 15:31]
Miroslav Prikasky
There is no difference between MySQL CLI via mysql socket, MySQL CLI via TCP/IP, PHP connector, Perl connector, MySQL Administrator or MySQL Query Browser. It is server side problem.
[3 May 2012 1:41]
MySQL Verification Team
Please test with latest version. Thanks.
[4 Jun 2012 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.