[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2016-04-27 Thread David Favor
This is broken again. net4-dev# sysctl fs.file-max fs.file-max = 3280263 Changing /lib/systemd/system/mysql.service has no effect on file limits. Setting... [Service] ... ... ... LimitNOFILE=infinity LimitMEMLOCK=infinity Then... systemctl daemon-reload service mysql restart net4-dev# cat

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-23 Thread Robie Basak
** Changed in: ubuntu-release-notes Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-23 Thread Robie Basak
** Changed in: ubuntu-release-notes Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-20 Thread Martin Pitt
** Changed in: mysql-5.6 (Ubuntu) Milestone: ubuntu-15.04 = None -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-20 Thread Martin Pitt
** Changed in: mysql-5.6 (Ubuntu) Milestone: ubuntu-15.04 = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-01 Thread Robie Basak
Thanks Akhil. I'll mark this bug as Invalid then, although we should mention this in our release notes. ** Also affects: ubuntu-release-notes Importance: Undecided Status: New ** Changed in: mysql-5.6 (Ubuntu) Status: Triaged = Invalid -- You received this bug notification

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-04-01 Thread Robie Basak
Thanks Akhil. I'll mark this bug as Invalid then, although we should mention this in our release notes. ** Also affects: ubuntu-release-notes Importance: Undecided Status: New ** Changed in: mysql-5.6 (Ubuntu) Status: Triaged = Invalid -- You received this bug notification

Re: [Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-31 Thread Akhil Mohan
Hi Robie, The internal assessment here is that most appropriate solution would be the one you have mentioned as the last option. It would be easier if user owns the responsibility for creating and managing the MySQL service file under /etc with following settings or more as needed: [Service]

Re: [Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-31 Thread Akhil Mohan
Hi Robie, The internal assessment here is that most appropriate solution would be the one you have mentioned as the last option. It would be easier if user owns the responsibility for creating and managing the MySQL service file under /etc with following settings or more as needed: [Service]

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-30 Thread Robie Basak
I'm reluctant to raise the default limit to infinity because this may introduce a security vulnerability due to select() macro overflow. See https://lists.ubuntu.com/archives/ubuntu- devel/2010-September/031446.html for details. If someone from upstream can confirm definitely that MySQL definitely

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-30 Thread Robie Basak
I'm reluctant to raise the default limit to infinity because this may introduce a security vulnerability due to select() macro overflow. See https://lists.ubuntu.com/archives/ubuntu- devel/2010-September/031446.html for details. If someone from upstream can confirm definitely that MySQL definitely

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
added below LimitNOFILE = infinity LimitMEMLOCK = infinity and made the team systemctl daemon-reload helped, thanks for the tip -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1434758

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
/lib/systemd/system/mysql.service [Unit] Description=MySQL Community Server After=network.target After=syslog.target [Install] WantedBy=multi-user.target Alias=mysql.service [Service] User=mysql Group=mysql PermissionsStartOnly=true ExecStartPre=/usr/share/mysql/mysql-systemd-start pre

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
added below LimitNOFILE = infinity LimitMEMLOCK = infinity and made the team systemctl daemon-reload helped, thanks for the tip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title:

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
/lib/systemd/system/mysql.service [Unit] Description=MySQL Community Server After=network.target After=syslog.target [Install] WantedBy=multi-user.target Alias=mysql.service [Service] User=mysql Group=mysql PermissionsStartOnly=true ExecStartPre=/usr/share/mysql/mysql-systemd-start pre

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
@postadelmaga (postadelmaga) file is not present, that this file should be? these are: LimitNOFILE = infinity LimitMEMLOCK = infinity what else? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-29 Thread cooolman
@postadelmaga (postadelmaga) file is not present, that this file should be? these are: LimitNOFILE = infinity LimitMEMLOCK = infinity what else? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread postadelmaga
@cooolman do you have this file on your system `/lib/systemd/system/mysqld.service` ? I'm not sure why but if you boot with systemd you are supposed to set the limits in service file first: LimitNOFILE=infinity LimitMEMLOCK=infinity After that mysqld service will be allowed to open more

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread postadelmaga
@cooolman do you have this file on your system `/lib/systemd/system/mysqld.service` ? I'm not sure why but if you boot with systemd you are supposed to set the limits in service file first: LimitNOFILE=infinity LimitMEMLOCK=infinity After that mysqld service will be allowed to open more

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread Martin Pitt
It's already tagged systemd-boot, which is enough to make it appear on our radar (https://bugs.launchpad.net/ubuntu/+bugs?field.tag=systemd- boot) ** No longer affects: systemd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread Martin Pitt
It's already tagged systemd-boot, which is enough to make it appear on our radar (https://bugs.launchpad.net/ubuntu/+bugs?field.tag=systemd- boot) ** No longer affects: systemd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread cooolman
the same problem, I can not change in my.cnf max_connections = 65535 open_files_limit = 65535 in /etc/sysctl.conf fs.file-max = 2459688 in /etc/security/limits.conf www-data soft nofile 65535 www-data hard nofile 65535 mysql soft nofile 65535 mysql hard nofile 65535 root soft nofile 65535 root

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread cooolman
uname -a Linux ubuntu 3.19.0-10-generic #10-Ubuntu SMP Mon Mar 23 16:16:45 UTC 2015 i686 i686 i686 GNU/Lin mysql -V mysql Ver 14.14 Distrib 5.6.23, for debian-linux-gnu (i686) using EditLine wrapper -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread cooolman
the same problem, I can not change in my.cnf max_connections = 65535 open_files_limit = 65535 in /etc/sysctl.conf fs.file-max = 2459688 in /etc/security/limits.conf www-data soft nofile 65535 www-data hard nofile 65535 mysql soft nofile 65535 mysql hard nofile 65535 root soft nofile 65535 root

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-28 Thread cooolman
uname -a Linux ubuntu 3.19.0-10-generic #10-Ubuntu SMP Mon Mar 23 16:16:45 UTC 2015 i686 i686 i686 GNU/Lin mysql -V mysql Ver 14.14 Distrib 5.6.23, for debian-linux-gnu (i686) using EditLine wrapper -- You received this bug notification because you are a member of Ubuntu Server Team, which

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-27 Thread postadelmaga
I re-added systemd because It affect the systemd boot option so I think it is good to have it listed with other problems with systemd and vivid. ( maybe it is bad idea in that case remove it ) ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-27 Thread postadelmaga
I re-added systemd because It affect the systemd boot option so I think it is good to have it listed with other problems with systemd and vivid. ( maybe it is bad idea in that case remove it ) ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread Robie Basak
** Tags added: mysql-5.6-transition ** Changed in: mysql-5.6 (Ubuntu) Milestone: None = ubuntu-15.04 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld:

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread Robie Basak
** Tags added: mysql-5.6-transition ** Changed in: mysql-5.6 (Ubuntu) Milestone: None = ubuntu-15.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread postadelmaga
I'm a developer and I have 3/5 db on my machine, each one with many table ( 100+ ) however the main point is that using upstart I don't have issues, ideally the systemd behavior should be the same ... On my machine, I'm on 15.04, /lib/systemd/system/mysqld.service is missing, which package

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread postadelmaga
I'm a developer and I have 3/5 db on my machine, each one with many table ( 100+ ) however the main point is that using upstart I don't have issues, ideally the systemd behavior should be the same ... On my machine, I'm on 15.04, /lib/systemd/system/mysqld.service is missing, which package

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread Didier Roche
Hey postadelmaga: the file is in /lib/systemd/system/mysqld.service in debian and ubuntu. Those services are shipped in the mysql package, so closing the systemd tag (adding the tag though). I looked at mysql upstream, and their service files doesn't let the limit of files to opened up. Do you

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-24 Thread Didier Roche
Hey postadelmaga: the file is in /lib/systemd/system/mysqld.service in debian and ubuntu. Those services are shipped in the mysql package, so closing the systemd tag (adding the tag though). I looked at mysql upstream, and their service files doesn't let the limit of files to opened up. Do you

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-23 Thread postadelmaga
I think this should be a milestone for ubuntu 15.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications about this bug go

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-23 Thread postadelmaga
** Package changed: mysql-5.5 (Ubuntu) = mysql-5.6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage

[Bug 1434758] Re: mysqld: errno: 24 - Too many open files

2015-03-23 Thread postadelmaga
** Package changed: mysql-5.5 (Ubuntu) = mysql-5.6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications about this