Skip to main content
September 23, 2010
Question

Data Stream Termination?

  • September 23, 2010
  • 1 reply
  • 444 views

I have Cold Fusion 9, fresh install. Windows 2003 OS (32 Bit), 4 GM of RAM.

After the initial install, we were seeing files larger than 1 MB were not allowed. My initial thought was that there was something that didn't get set properly in the installation, so we tried a few things and ended up rebooting the server. After the reboot, problem solved...

About a week later (yesterday) the problem starts to recur. Only now I start to notice that it is not only large files that won't download, large posts and/or returns are being terminated @ 1 MB. So a large order, with say 3200 items now fails to display properly.

The only clue to either issue is that Fiddler will display a 504 error, ReadResponse() failure. There are no Cold Fusion errors, IIS Errors, Server Events, etc. to speak of.

I have tried tuning the JVM settings, settled on min heap of 512, max heap of 1024

This is now my JVM arguments:

-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -XX:+AggressiveHeap

The kicker is that my QA box, same setup does not have the issue. There is no load there either though.

Any ideas appreciated, I can't have a weekly reboot. But a reboot seems to clear the issue. Its like the server says "I have more than 1 MB of data, just stop transmitting"

Thanks for your ideas.

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 23, 2010

    If I understand you correctly, isn't this sort of thing controlled by the request throttling settings in CFAdmin?

    --

    Adam

    September 25, 2010

    You would think that they would control that, yes.

    All of the throttle and threshold settings are at 100 MB or 200 MB. Nothing at 1 MB.

    I spent a lot of time last week reviewing JVM and memory settings.

    If those do not resolve the issue, then I may re-install Cold Fusion 9. At the time of this post, the machine is "up" and providing files/data appropriately for 48 hours.

    Inspiring
    September 26, 2010

    Just a thought. Do you get the same behaviour if you use the in-built JRun web server rather than IIS?

    --

    Adam