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

FTP Too many connections

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

FTP Too many connections

Post by The PIT »

I keep getting various error messages with Cumulus and of course never when I'm around.
One of them I noticed is too many connections from IP address. Of course when I'm home and look at the web server end everything is working and I just have three sessions. One from cumulus one from Weather Display and one from Nextstorm. Weather display does auto logout every 15 minutes so any stale connections from there should end. Nextstorm doesn't the logout option either.
Any chance of making sure the ftp in cumulus also shuts down and restarts every so often which should kill any stale sessions.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Too many connections

Post by steve »

Cumulus always logs out (and aborts, just for good measure) the 'normal' ftp connection after every upload.

By default, the 'realtime' ftp connection stays connected. You can make it disconnect periodically by adding a line:

RTdisconnectcount=N

to the [Station] section of cumulus.ini (with Cumulus stopped), where N is a positive integer. This will cause the realtime ftp to disconnect (and reconnect) after every N uploads. It's not clear to me how this will help your situation, though. It will close the existing connection and immediately replace it with another one.
Steve
User avatar
N0BGS
Posts: 205
Joined: Sat 10 Nov 2012 2:26 am
Weather Station: Davis Vantage Pro 2
Operating System: Win10vm,VMWare ESXi 7.0
Location: Hermon, Maine USA
Contact:

Re: FTP Too many connections

Post by N0BGS »

Is it your own web server, or do you use a hosting company, e.g.1&1, Godaddy, etc?

Many hosting companies limit the number of simultaneous FTP connections any one customer can have.

--Kurt
Blitzortung Station 1809
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: FTP Too many connections

Post by The PIT »

I use hostpapa. Interesting the logon says x of 50 allowed connections. So I shouldn't be hitting problems. At least hostpapa have fixed their firewall so failed ftp connections aren't treated as port scans.
Anyway back on subject the most connections I've seen is five which suggests that some connections have failed and been left open.
Making sure the connection is closed should hopefully kill stale connections.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: FTP Too many connections

Post by The PIT »

Looks like the problem may have been load balancing.
I've not routed all ftp sessions down the same wan and will keep an eye on things.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
Post Reply