Bug #10154 | Server Crash on Client Connect | ||
---|---|---|---|
Submitted: | 25 Apr 2005 18:34 | Modified: | 23 Dec 2005 15:50 |
Reporter: | Sergio Salvatore | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.11 | OS: | Linux (Linux/RedHat ES 3) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[25 Apr 2005 18:34]
Sergio Salvatore
[7 May 2005 13:02]
Hartmut Holzgraefe
Can you please try to run a debug build of mysqld with '--core-file' so that we can try to track down were exactly the IP resolution function fails?
[7 Jun 2005 23: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".
[8 Jun 2005 15:09]
Sergio Salvatore
I am not able to run a debug build in our production environment, but I've continued to experience this bug at random times. My current track is to switch to using DNS rather than a static hosts files on the machine in question. Thanks. /sergio
[27 Jul 2005 17:31]
Matthew Lord
Hi Sergio, Thank you for your bug report! Can you tell me if you are using our RHEL 3 RPM binaries or the generic linux ones? I think this may be related to thread stack size. This can happen because the new glibc library requires a stack size greater than 128KB for gethostbyaddr() call. To fix the problem, start mysqld with the --thread-stack=192K option. (Use -O thread_stack=192K before MySQL 4.). Our static binaries are not able to set this properly so I wanted to see if using our RHEL 3 binaries still had the problem for you. Best Regards
[27 Jul 2005 17:46]
Sergio Salvatore
Matthew, Thanks for your response. We're using the generic Linux binaries. The advice is good -- fortunately we haven't been having any problems since switching to using DNS on the master server (which I guess circumvents calls to gethostbyaddr()). In general, do you recommend using the ES 3 rpms that you provide over the generic binaries? Is there a significant improvement in performance? Thanks... /sergio
[27 Jul 2005 17:49]
Matthew Lord
Hi Sergio, Yes, we recommend using the more specific ones when available. There shouldn't be much of any difference in performance but more for stability. Best Regards
[19 Oct 2005 23: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".
[19 Oct 2005 23:26]
Sergio Salvatore
Hi, I'm pretty sure we've narrowed this problem down to calls of gethostbyname() when the entry is in the /etc/hosts file. We've since switched the problematic server over to using DNS and we haven't seen that crash since... Perhaps this is RedHat ES 3 specific? Otherwise, it seems relatively odd. Sincerely, Sergio Salvatore
[23 Dec 2005 15:50]
MySQL Verification Team
I was unable to repeat this issue on FC3 and Suse linux 10.0