Cascade is opening too many connections for FTP on IIS

cpayan's Avatar

cpayan

03 May, 2012 01:49 AM

The title kind of says it all, we've had issues with IIS refusing connections from Cascade during publish jobs. The server admins say that Cascade is not cleaning up after itself and leaving open connections, then opening new connections to the server for every new file. After a handful of connections are made, the server starts refusing them, and the publish job falls on its face.

Is there a solution for this? Otherwise, should I submit this to the ideas?

  1. 1 Posted by Bradley Wagner on 03 May, 2012 03:31 AM

    Bradley Wagner's Avatar

    Cascade should be opening new connections for each thread in the publish job (between 1 and 4) and for each Destination being published to and then re-using those open connections for files published to the same destination. It should also be calling "quit" on each FTP connection after it's finished.

    Can you:

    • Enable logging for the following class: com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl
    • Attempt to reproduce the problem with the smallest publish job possible that still causes this to happen
    • Attach the log file to this discussion.
    • Also, let us know:
      1. what you published- a file, folder, site, publish set
      2. to how many destinations
      3. the time when the publish job started
      4. the time when you noticed problems in IIS so we can look at that section of the log

    We can then trace through the log to see if there are any problems closing connections.

  2. Support Staff 2 Posted by Tim on 09 Aug, 2012 03:08 PM

    Tim's Avatar

    Hi,

    I just wanted to make sure that you saw Bradley's comment above.

    Let us know if you are still having problems with this - and if so, please be sure to follow the steps Bradley mentions above so that we can investigate further.

    Thanks!

  3. Tim closed this discussion on 04 Apr, 2013 02:35 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM