Remote Archiving for Recordings; FTP connections

Status
Not open for further replies.

dkornahrens

Bronze Partner
Basic Certified
Joined
Mar 30, 2021
Messages
30
Reaction score
5
Good evening. We are utilizing the "remote archiving" feature for Recordings. We are using an FTP server to offload them offsite to a SAN.

We currently have 10 maximum connections per IP address allowed to prevent flooding, DDOS prevention, etc.

However, we are getting failed 3cx backups (same FTP server) because of a maximum number of connections. When I just pulled up the logs, the FTP sessions are "idle" from 3cx remove archiving for the recordings.

Anything we can do to close these connections or streamline this process?

Thanks!
 
Run backups at different times.
 
They are not running at the same times. The FTP log is showing idle connections for transfers of each file. It doesn't appear it's opening a connection and transferring everything. It's opening a connection, transferring 1 file, then opening another connection, transferring another file, etc.
 
Hi!

I wasn't 100% sure, so I did a quick test to check. Each 3CX server does not open simultaneous connections for FTP recording archiving, but for each file, it does create a new socket.
Technically though, this shouldn't be a problem because before the new one is opened for the next file, the old one is closed.

I confirmed this using Wireshark:
1636974328450.png

As you can see, the random Source Port changes each time, but before that happens, there is a FIN/ACK closing the previous connection.
 
@NickD_3CX
We use OpenMediaVault to handle FTP requests. I'll pull the logs and see what it's doing. From the GUI it's displaying open connections from 3CX.
 

@dkornahrens

You haven't specified your PBX info. It matters, because in v18 many third party libraries have been updated, including those used for FTP transfer.
 

@dkornahrens

You haven't specified your PBX info. It matters, because in v18 many third party libraries have been updated, including those used for FTP transfer.
We are on the latest V18 release.

I haven't had time to verify with the FTP server, but it appears to be held open. Not 100% sure what the logs will say at the moment (as we have been upgrading our FTP server)
 
Status
Not open for further replies.

Forum statistics

Threads
111,975
Messages
590,084
Members
164,901
Latest member
Silent_Guru