Bug #7902 | Same Error as Bug # 5656 but different Problem ! | ||
---|---|---|---|
Submitted: | 14 Jan 2005 10:39 | Modified: | 14 Feb 2005 17:39 |
Reporter: | Anand K | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: ISAM storage engine | Severity: | S3 (Non-critical) |
Version: | 4.1.8-standard | OS: | Linux (RHEL ES rel 3.0 ;2.4.21-20.ELsmp) |
Assigned to: | CPU Architecture: | Any |
[14 Jan 2005 10:39]
Anand K
[14 Jan 2005 10:42]
Anand K
Show Varibales Command
Attachment: show_variables.txt (text/plain), 21.63 KiB.
[14 Jan 2005 14:02]
Martin Friebe
Hi Anand, available memory is not all. some op systems have individual limits about the code/data/stack size a process (or process group) can have. which you are likely to hit. Unfurtunatley I dont know any good documentation for any op system on this issue. Neither am I a linux expert. However the linuxthread library (under freebsd) allocates stack size to each thread. that might be similiar under RHEL. You might have it a limit configured in you Kernel. (the freebsd option is MAXSSIZ and with it set to 1GB I can have 800 connections) TO the msysql team: Even so thsi is not a problem of the amysql software, it would be nice to have a resource limitations and configurations section in the operating system pages, of the documentation.
[14 Jan 2005 17:39]
Hartmut Holzgraefe
The formula given in #5656 did not take the thread stacks into account, these take 256K each with static binaries released by MySQL that is linked againsta patched glibc and 2MB for binaries using regular glibc versions. 1000 connections * 2MB -> 2GB alone which might already cause trouble but it might also be that number of processes or threads is limited or that you are just running out of file descriptors (although that should give a different error message afair)
[14 Feb 2005 22:54]
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".