We had issues early on with foaming in the fermenters and with slow stripping runs for Rye. We started by adding Beta-Glucanase to the mash in two steps, once during heat up when the Rye is gelatinizing at about 135f for an hour (milled to course flour and Alpha Amalyase added) and again after it has been cooled to 80f and is about to be pumped to fermenters (same time we add Gluco Amalyases). We do a higher cook temperature rest at 170f for 30 min for the corn we add (25%) and then take it up to 190f for half an hour to make sure any other nasties are held at bay, then malt is added during the cooling time at about 160f and another rest. Without the BG it was a lot thicker and we had more foaming and mashes that didn't finish where we wanted them. With the BG the foaming went down, we ferment much drier, and heat-up in the still was greatly improved.
In the still, we do find that on occasion we have a rye run that will move very slowly. Typically this is because there is some scorching at the bottom of the pot (doesn't take much). To counter this we heat up the rye a bit slower than we do with Bourbon or Corn whiskey. Doesn't work every time, but we went from issues with every other rye run to 1 in 8.
Super low tech way to help with foaming in the fermenter, spray PAM around the insides a few inches below the top. It helps break the foam while it rising and has saved me lots of time cleaning up in the morning.