Re: unix exec function to return abnormally
I'm new to posting so bear with me if this reply has appeared more than once... Was a solution found for this issue other than restarting the server? I'm having the same problem, and restarting the server is not a viable option here, either. Thanks. Eric > I sent this problem around the holidays and didn't get much response > other than "I was told restarting the server was the only way to solve > it". I don't know how things work in other places, but that's not an > option here. We can't have someone monitoring for that error and then > restarting the CF server (plus it interrupts the other applications > that also run under it). > > So here's what happens. On Solaris running CF 5.0, we use > cfexecute to call the unzip function then bcp data into a database. It > works fine for a few days then starts giving the error: > > The process /usr/bin/unzip caused the unix exec function to return > abnormally, ... aborting this process. > > > If I restart CF, it starts working fine again. Unzip still works > flawlessly from the command line so it seems that CF is using vfork or > something and not releasing memory once the command finishes each time > and then stacks it up til it can't run cfexecute anymore. That's my > guess anyway. Is there something I can look at or tune to prevent this > from happening? Has anyone run into this in the past and found a > solution? Anything else to look at? > > Appreciate any advice - my developer is getting mighty mighty > frustrated. > > Thanks. > Cathy ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186549 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unix exec function to return abnormally
Cathy, A quick & dirty work-around would be to let cf cfhttp a cgi that would do the same thing (the unzip action). ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
unix exec function to return abnormally
I sent this problem around the holidays and didn't get much response other than "I was told restarting the server was the only way to solve it". I don't know how things work in other places, but that's not an option here. We can't have someone monitoring for that error and then restarting the CF server (plus it interrupts the other applications that also run under it). So here's what happens. On Solaris running CF 5.0, we use cfexecute to call the unzip function then bcp data into a database. It works fine for a few days then starts giving the error: The process /usr/bin/unzip caused the unix exec function to return abnormally, ... aborting this process. If I restart CF, it starts working fine again. Unzip still works flawlessly from the command line so it seems that CF is using vfork or something and not releasing memory once the command finishes each time and then stacks it up til it can't run cfexecute anymore. That's my guess anyway. Is there something I can look at or tune to prevent this from happening? Has anyone run into this in the past and found a solution? Anything else to look at? Appreciate any advice - my developer is getting mighty mighty frustrated. Thanks. Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4