Hi I have created a ticket to track this https://issues.apache.org/jira/browse/CAMEL-4098
On Sat, Jun 11, 2011 at 8:58 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Fri, Jun 10, 2011 at 9:43 PM, Jason Burkhardt <jburkha...@gmail.com> wrote: >> I dug into this a little further, here's the underlying behavior of the >> HttpProducer: >> The method doExtractResponseBodyAsStream in HttpProducer ends up creating a >> CachedOutputStream based on the server response. This ends up creating a >> cos* temp file in java.io.tmpdir+/camel-tmp. >> These files are only cleaned up when the application is stopped. >> As a result if I leave everything running for several days this directory >> grows very large as I request a few hundred mb a day via a web service. >> Poking around the code I couldn't see anyway to alter this behavior via a >> property, does anyone have a better idea other than writing a cronjob to >> look for /tmp/camel-tmp-* every day and nuking it? >> > > Can you create a JIRA ticket for this bug? > > >> On Thu, Jun 9, 2011 at 1:26 PM, Jason Burkhardt <jburkha...@gmail.com>wrote: >> >>> Hate to dredge up an old thread but I'm seeing this same behavior in 2.6. >>> Note: I am not calling stop or anything. This route processes a message >>> from JMS, calls http, processes the result and publishes it to JMS again. >>> This ends up writing tmp files with the soap response to >>> /tmp/camel-tmp-whatever as long as it is running with no apparent cleanup. >>> After running for a couple days this was over 1gb. >>> >>> Gordon, did you ever find any useful solution? >>> >>> -- >>> View this message in context: >>> http://camel.465427.n5.nabble.com/http-not-cleaning-up-tmp-files-when-exchange-is-stopped-tp4269124p4473542.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
