Caused MX to have problems seconds after the 0900 rollover this morning - although it appeared to keep running. Diags file (truncated to show output from 0700 this morning) and program stdout/stderr attached. MX restarted around 0943 to clear up remaining problems.
NB: MX is the only user program running on this box.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
"Too many open files" exception
Moderator: mcrossley
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
"Too many open files" exception
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: "Too many open files" exception
It could just be that you need to increase the max number of file handles (note that this isn't just for disk files) if yours is still at the default of 1024; Google found this for me - http://stackoverflow.com/questions/8988 ... -on-ubuntu
It could be that there's a leak somewhere - perhaps the FTP component leaves files and/or TCP connections open when it gets timeouts.
It could be that there's a leak somewhere - perhaps the FTP component leaves files and/or TCP connections open when it gets timeouts.
Steve
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: "Too many open files" exception
I'm reluctant to do that, as I have had MX running for 12 months now without this error occurring. I will keep my eye on it for the moment, and may take action if there is a recurrence.steve wrote:It could just be that you need to increase the max number of file handles
You would certainly hope this isn't the case!steve wrote:It could be that there's a leak somewhere - perhaps the FTP component leaves files and/or TCP connections open when it gets timeouts.
Thanks for taking a look.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: "Too many open files" exception
Apparently 'lsof' (may need installing) is good for investigating what files are open by what. It produces rather a lot of output, though, so you really need to be quite good at sed and awk and things like that, although lsof does have some useful options itself to limit the output.
Steve