Hi Steve, Thank you so much for taking the time to execute this test, can you possibly post up your test code so that I (and others I would hope) would be able to test this in our environment?
Thanks again! >-----Original Message----- >From: Steven Erat [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 09, 2004 6:01 PM >To: CF-Linux >Subject: RE: Cfexecute and fork() > > >Hi Ron, > > >> I was wondering if anyone (Steve) could give me some more >> information about >> the performance of cfexecute on Linux with MX? I was told that the >> cfexecute tag is implemented using fork() and that each call >> can consume >> 100's of MB of memory? Is there any truth to this claim? > >CFEXECUTE uses the Runtime.exec(String) method in the >underlying JVM's rt.jar, on all platforms: >http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html > >That in turn makes system calls I presume. I haven't yet >looked at the implementation of exec(). > > >Here's a test I just performed where I exercised CFEXECUTE by >tar zipping the coldfusionmx directory, a task requiring about >20-30 seconds on my system. > >1) Before: >System (top) - Mem: 775588k total, 538752k used >System Monitor - Used: 218m of 757m >cfusion - 8.4% MEM >screenshot: >ftp://ftp2.allaire.com/support/serat/cfmx61/linux/cfexecute/cfm x61_cfexecute _start.png 2) During: System (top) - Mem: 775588k total, 668568k used (+129816k) System Monitor - Used: 221m of 757m (+3m) cfusion - 8.7% MEM (+0.3%) screenshot: ftp://ftp2.allaire.com/support/serat/cfmx61/linux/cfexecute/cfmx61_cfexecute _during.png 3) After: System (top) - Mem: 775588k total, 722096k used (+183344k) System Monitor - Used: 230m of 757m (+12m) cfusion - 10.1% MEM (+2.7%) screenshot: ftp://ftp2.allaire.com/support/serat/cfmx61/linux/cfexecute/cfmx61_cfexecute _after.png 4) After 15min: System (top) - Mem: 775588k total, 5165144k used (+183344k) System Monitor - Used: 219m of 757m (+1m) cfusion - 8.8% MEM (+2.7%) screenshot: ftp://ftp2.allaire.com/support/serat/cfmx61/linux/cfexecute/cfmx61_cfexecute _after_15min.png Based on this test, I don't see a problem with memory usage. - Steven Erat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3775 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
