Bug #19134 | mysqld runs out of file descriptors (error: 1017, errno: 9) | ||
---|---|---|---|
Submitted: | 17 Apr 2006 0:50 | Modified: | 12 Jun 2006 18:28 |
Reporter: | P-O Yliniemi | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.18, 5.0.19, 5.0.20 | OS: | Other (OpenBSD 3.9) |
Assigned to: | CPU Architecture: | Any |
[17 Apr 2006 0:50]
P-O Yliniemi
[17 Apr 2006 9:31]
Hartmut Holzgraefe
Looks similar to http://bugs.mysql.com/bug.php?id=17089 so maybe a problem common to BSD based systems?
[17 Apr 2006 18:05]
Valeriy Kravchuk
Thank you for a problem report. Please, send your my.cnf file content and ulimit -a results from your system (from a session of a user that runs your mysqld process).
[17 Apr 2006 18:41]
P-O Yliniemi
/etc/my.cnf = my-huge.cnf with the MySQL 5.0.19 distribution # su - _mysql $ ulimit -a time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 1048576 stack(kbytes) 8192 lockedmem(kbytes) unlimited memory(kbytes) unlimited nofiles(descriptors) 8192 processes 4087
[17 Apr 2006 18:45]
P-O Yliniemi
bug related my.cnf (just the same as my-huge.cnf with another datadir)
Attachment: my.cnf (application/octet-stream, text), 5.03 KiB.
[19 Apr 2006 9:00]
Valeriy Kravchuk
Send the results of show variables like 'open%'; from "stock" installation of 5.0.19 (or, beeter, 5.0.20) on your platfrom, without the workaround applied.
[19 Apr 2006 9:10]
P-O Yliniemi
mysql> show variables like "open%"; +------------------+-------+ | Variable_name | Value | +------------------+-------+ | open_files_limit | 1134 | +------------------+-------+ 1 row in set (0.00 sec)
[19 Apr 2006 10:10]
P-O Yliniemi
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.20-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show variables like "open%"; +------------------+-------+ | Variable_name | Value | +------------------+-------+ | open_files_limit | 1134 | +------------------+-------+ 1 row in set (0.00 sec)
[20 Apr 2006 17:33]
P-O Yliniemi
show variables liks "open%" with the workaround in my.cnf (open-files-limit = 8192): +------------------+-------+ | Variable_name | Value | +------------------+-------+ | open_files_limit | 11010 | +------------------+-------+ 1 row in set (0.00 sec) (mysql 5.0.20)
[12 May 2006 18:28]
Valeriy Kravchuk
Please, check http://jeremy.zawodny.com/blog/archives/000697.html. Try to build from sources (5.0.21) with -DHAVE_BROKEN_REALPATH as suggested, and check if it solves your problem.
[12 Jun 2006 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".