multithreaded job....can i programmatically ignore waiting for threads?
scenario is this. main thread starts a pool of threads to do work.the result of all threads are combined together to form a big result set and returned. however, i'm envisioning that if 1 thread fails, the thread join is still waiting for the 9 other threads to complete before throwing an error.is there a way that once one thread fails, immediately throw, ignoring the 9 other threads? c ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Insite Help on CF Hanging?
Are the client variables in a database? If so, I would run a query on the CF tables to get a count of records. It could be your attack was worse than you think and have a boat load of records. An attack like that would likely result in a set of client variables for each request. The query to purge the database will lock the tables. Any application using client variables would basically have to wait until that is done and keep chewing up memory. I know this was an issue in CF8, not sure if it's still a linger issue in newer versions, as that is around the time we stopped using client variables. @Mark, I want to say both CF 9 & 10 install with Cookie as the default client storage. This could just be how we provision our servers however. I remember the days of CF taking an hour to start if your client var registry was out of control. We had the oops moment on our shared servers long ago. Regards, Byron Mann Lead Engineer & Architect HostMySite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358992 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Insite Help on CF Hanging?
Just read that one again. 30 days? Approx 30 days ago the site was hit with a SQL Injection attack. Wasn't 2000+ attempts like some of the previous attacks, but still, a couple hundred hits in a 15 minute period or so. Don't know if that means anything. On 7/23/2014 10:03 AM, Mark A Kruger wrote: > Tia, > > FYI - storing client vars in the registry and locking up during the purge is > a fairly common trouble spot. I would not be surprised if that is your > problem. It can "show up" after a while too - because the client vars > persist for 30 days, so you can suddenly see problems 30 days after an > increase in traffic as the system tries to remove a boatload of client vars. > > -Mark > > > -Original Message- > From: Les Mizzell [mailto:lesm...@bellsouth.net] > Sent: Wednesday, July 23, 2014 8:52 AM > To: cf-talk > Subject: Insite Help on CF Hanging? > > > Had a site go down in the early morning hours the last two days - > Coldfusion hangs - requiring a restart to get it back up again. > > Running CF 10 on Windows Server 2008 R2 > > 1. No major errors in the log files. > 2. Log files are set to relatively small size limits > 3. Something seems to be eating a LOT of memory. Even at idle, CFServer > is using almost half a gig memory > 4. What's is "Client Purge" and why could this possibly hang CF ( this > appears to have run approximately around the time of the outage) - and > why now after over a year with zero outages? > > That's about all I've got so far. Still researching > Any other things I should be looking at/for? > > TIA > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358991 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Insite Help on CF Hanging?
Tia, FYI - storing client vars in the registry and locking up during the purge is a fairly common trouble spot. I would not be surprised if that is your problem. It can "show up" after a while too - because the client vars persist for 30 days, so you can suddenly see problems 30 days after an increase in traffic as the system tries to remove a boatload of client vars. -Mark -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Wednesday, July 23, 2014 8:52 AM To: cf-talk Subject: Insite Help on CF Hanging? Had a site go down in the early morning hours the last two days - Coldfusion hangs - requiring a restart to get it back up again. Running CF 10 on Windows Server 2008 R2 1. No major errors in the log files. 2. Log files are set to relatively small size limits 3. Something seems to be eating a LOT of memory. Even at idle, CFServer is using almost half a gig memory 4. What's is "Client Purge" and why could this possibly hang CF ( this appears to have run approximately around the time of the outage) - and why now after over a year with zero outages? That's about all I've got so far. Still researching Any other things I should be looking at/for? TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358990 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Insite Help on CF Hanging?
Client purge is removing client vars that are too old. If you have client variables set to default they will be stored in the registery (win) or a big XML file. The purge process removes them. To fix this: A) Verify that you need client vars. If you don't adjust your application settings accordingly. B) if you DO need them I recommend that you 1) store them in a DB 2) do not set "global" variables unless you are using them (hitcount and last access) because this results in additional DB connection updates. As for you memory - at Idle a well tuned CF Server might indeed use half a gig or more. On a 64 bit installation half a gig is pretty close to the minimum required. Moreover I recommend that you set your min/max heap sizes to the same value so what would see (even at idle) is a large and fairly static memory footbpring - particallary if you are looking at the "commit size" in task manager. -Mark Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.932.3318 E: mkru...@cfwebtools.com Skype: markakruger -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Wednesday, July 23, 2014 8:52 AM To: cf-talk Subject: Insite Help on CF Hanging? Had a site go down in the early morning hours the last two days - Coldfusion hangs - requiring a restart to get it back up again. Running CF 10 on Windows Server 2008 R2 1. No major errors in the log files. 2. Log files are set to relatively small size limits 3. Something seems to be eating a LOT of memory. Even at idle, CFServer is using almost half a gig memory 4. What's is "Client Purge" and why could this possibly hang CF ( this appears to have run approximately around the time of the outage) - and why now after over a year with zero outages? That's about all I've got so far. Still researching Any other things I should be looking at/for? TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358989 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
Understandable. Mornings can be a bear. No worries. On Wed, Jul 23, 2014 at 8:54 AM, Byron Mann wrote: > > Apologies to all, result of too many open windows and not enough coffee. > > > On Wed, Jul 23, 2014 at 9:44 AM, Scott Stewart > wrote: > > > > > Byron, no offense but did you really mean to send this out to the enitre > > CF-Talk list? > > > > > > On Wed, Jul 23, 2014 at 9:14 AM, Byron Mann > wrote: > > > > > > > > Matthew, > > > > > > The site seemed to be responsive this morning, so I took a look at > things > > > and have fixed the basic errors that were happening and the home page > now > > > loads properly. > > > > > > I've done the following. > > > > > > Implemented an error handler in Application.cfm. So on error a full > dump > > of > > > the error is shown using /error.cfm template. It is a very basic > > handler. > > > You may want to edit this to present something better to end users when > > > error occur, and maybe email the error detail to your self. > > > > > > Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were > > > attempting to use a standard connection string. cfquery uses the > > > datasource attribute which is configured in the CFAdmin (which you > > already > > > provided as fatcat111). > > > > > > The rest of the database calls in that file were using > > > #request.datasource#, so I did the same. This variable was missing, > so I > > > set this in the /fbx_settings.cfm (see line 24). There was also an > > > additional syntax error and this was resolved as well. > > > > > > Let me know of anything further. > > > > > > How would you like to handle payment. I usually use PayPal, would this > > > suffice? In all I've spent ~2 hours on this. > > > > > > Regards, > > > Byron > > > > > > > > > > > > > > > > > > > > > On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad > > > wrote: > > > > > > > > > > > Hi, > > > > > > > > We have excellent experience in Coldfusion based website and web > > > > application development as mentioned below, Also we have a team of > well > > > > experienced developers in Coldfusion technology. > > > > > > > > Experience : around 15 years > > > > Projects: >200 web application and website. > > > > > > > > We can provide help you to troubleshoot your website issues. > > > > > > > > Thanks & Regards > > > > RK Prasad > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith < > chedders...@gmail.com> > > > > wrote: > > > > > > > > > > > > > > I have two sites with minor issues I need help with. > > > > > > > > > > http://www.theartoflovingcatsanddogs.com > > > > > http://www.fatcate-juice.com > > > > > > > > > > The first is an image reference issue and the second has to do > with a > > > cfc > > > > > issue. > > > > > > > > > > Please let me know if anyone is interested. > > > > > > > > > > Thanks. > > > > > > > > > > -- > > > > > Regards, > > > > > chedder is bedder > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Insite Help on CF Hanging?
Client purge means that you have client variables turned on in the CF admin. The purge routine attempts to clear out stored variables either in the registry or in a database. If you're not using client variables turn this off, if you are, make sure that you're not storing them in the registry On Wed, Jul 23, 2014 at 9:52 AM, Les Mizzell wrote: > > Had a site go down in the early morning hours the last two days - > Coldfusion hangs - requiring a restart to get it back up again. > > Running CF 10 on Windows Server 2008 R2 > > 1. No major errors in the log files. > 2. Log files are set to relatively small size limits > 3. Something seems to be eating a LOT of memory. Even at idle, CFServer > is using almost half a gig memory > 4. What's is "Client Purge" and why could this possibly hang CF ( this > appears to have run approximately around the time of the outage) - and > why now after over a year with zero outages? > > That's about all I've got so far. Still researching > Any other things I should be looking at/for? > > TIA > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358987 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
' ok I got the pathing issue sorted. I am having a weird issue with the home page formatting. I have a br and the page layout it putting the test to the right, and the two last images are missing. Not sure what is going on. Please download the latest files before you make any changes, I have added text to the home page. thanks. On Wed, Jul 23, 2014 at 8:14 AM, Byron Mann wrote: > > Matthew, > > The site seemed to be responsive this morning, so I took a look at things > and have fixed the basic errors that were happening and the home page now > loads properly. > > I've done the following. > > Implemented an error handler in Application.cfm. So on error a full dump of > the error is shown using /error.cfm template. It is a very basic handler. > You may want to edit this to present something better to end users when > error occur, and maybe email the error detail to your self. > > Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were > attempting to use a standard connection string. cfquery uses the > datasource attribute which is configured in the CFAdmin (which you already > provided as fatcat111). > > The rest of the database calls in that file were using > #request.datasource#, so I did the same. This variable was missing, so I > set this in the /fbx_settings.cfm (see line 24). There was also an > additional syntax error and this was resolved as well. > > Let me know of anything further. > > How would you like to handle payment. I usually use PayPal, would this > suffice? In all I've spent ~2 hours on this. > > Regards, > Byron > > > > > > > On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad > wrote: > > > > > Hi, > > > > We have excellent experience in Coldfusion based website and web > > application development as mentioned below, Also we have a team of well > > experienced developers in Coldfusion technology. > > > > Experience : around 15 years > > Projects: >200 web application and website. > > > > We can provide help you to troubleshoot your website issues. > > > > Thanks & Regards > > RK Prasad > > > > > > > > > > > > On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith > > wrote: > > > > > > > > I have two sites with minor issues I need help with. > > > > > > http://www.theartoflovingcatsanddogs.com > > > http://www.fatcate-juice.com > > > > > > The first is an image reference issue and the second has to do with a > cfc > > > issue. > > > > > > Please let me know if anyone is interested. > > > > > > Thanks. > > > > > > -- > > > Regards, > > > chedder is bedder > > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
Apologies to all, result of too many open windows and not enough coffee. On Wed, Jul 23, 2014 at 9:44 AM, Scott Stewart wrote: > > Byron, no offense but did you really mean to send this out to the enitre > CF-Talk list? > > > On Wed, Jul 23, 2014 at 9:14 AM, Byron Mann wrote: > > > > > Matthew, > > > > The site seemed to be responsive this morning, so I took a look at things > > and have fixed the basic errors that were happening and the home page now > > loads properly. > > > > I've done the following. > > > > Implemented an error handler in Application.cfm. So on error a full dump > of > > the error is shown using /error.cfm template. It is a very basic > handler. > > You may want to edit this to present something better to end users when > > error occur, and maybe email the error detail to your self. > > > > Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were > > attempting to use a standard connection string. cfquery uses the > > datasource attribute which is configured in the CFAdmin (which you > already > > provided as fatcat111). > > > > The rest of the database calls in that file were using > > #request.datasource#, so I did the same. This variable was missing, so I > > set this in the /fbx_settings.cfm (see line 24). There was also an > > additional syntax error and this was resolved as well. > > > > Let me know of anything further. > > > > How would you like to handle payment. I usually use PayPal, would this > > suffice? In all I've spent ~2 hours on this. > > > > Regards, > > Byron > > > > > > > > > > > > > > On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad > > wrote: > > > > > > > > Hi, > > > > > > We have excellent experience in Coldfusion based website and web > > > application development as mentioned below, Also we have a team of well > > > experienced developers in Coldfusion technology. > > > > > > Experience : around 15 years > > > Projects: >200 web application and website. > > > > > > We can provide help you to troubleshoot your website issues. > > > > > > Thanks & Regards > > > RK Prasad > > > > > > > > > > > > > > > > > > On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith > > > wrote: > > > > > > > > > > > I have two sites with minor issues I need help with. > > > > > > > > http://www.theartoflovingcatsanddogs.com > > > > http://www.fatcate-juice.com > > > > > > > > The first is an image reference issue and the second has to do with a > > cfc > > > > issue. > > > > > > > > Please let me know if anyone is interested. > > > > > > > > Thanks. > > > > > > > > -- > > > > Regards, > > > > chedder is bedder > > > > > > > > > > > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358985 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Insite Help on CF Hanging?
Had a site go down in the early morning hours the last two days - Coldfusion hangs - requiring a restart to get it back up again. Running CF 10 on Windows Server 2008 R2 1. No major errors in the log files. 2. Log files are set to relatively small size limits 3. Something seems to be eating a LOT of memory. Even at idle, CFServer is using almost half a gig memory 4. What's is "Client Purge" and why could this possibly hang CF ( this appears to have run approximately around the time of the outage) - and why now after over a year with zero outages? That's about all I've got so far. Still researching Any other things I should be looking at/for? TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358984 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
Byron, no offense but did you really mean to send this out to the enitre CF-Talk list? On Wed, Jul 23, 2014 at 9:14 AM, Byron Mann wrote: > > Matthew, > > The site seemed to be responsive this morning, so I took a look at things > and have fixed the basic errors that were happening and the home page now > loads properly. > > I've done the following. > > Implemented an error handler in Application.cfm. So on error a full dump of > the error is shown using /error.cfm template. It is a very basic handler. > You may want to edit this to present something better to end users when > error occur, and maybe email the error detail to your self. > > Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were > attempting to use a standard connection string. cfquery uses the > datasource attribute which is configured in the CFAdmin (which you already > provided as fatcat111). > > The rest of the database calls in that file were using > #request.datasource#, so I did the same. This variable was missing, so I > set this in the /fbx_settings.cfm (see line 24). There was also an > additional syntax error and this was resolved as well. > > Let me know of anything further. > > How would you like to handle payment. I usually use PayPal, would this > suffice? In all I've spent ~2 hours on this. > > Regards, > Byron > > > > > > > On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad > wrote: > > > > > Hi, > > > > We have excellent experience in Coldfusion based website and web > > application development as mentioned below, Also we have a team of well > > experienced developers in Coldfusion technology. > > > > Experience : around 15 years > > Projects: >200 web application and website. > > > > We can provide help you to troubleshoot your website issues. > > > > Thanks & Regards > > RK Prasad > > > > > > > > > > > > On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith > > wrote: > > > > > > > > I have two sites with minor issues I need help with. > > > > > > http://www.theartoflovingcatsanddogs.com > > > http://www.fatcate-juice.com > > > > > > The first is an image reference issue and the second has to do with a > cfc > > > issue. > > > > > > Please let me know if anyone is interested. > > > > > > Thanks. > > > > > > -- > > > Regards, > > > chedder is bedder > > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358983 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
Matthew, The site seemed to be responsive this morning, so I took a look at things and have fixed the basic errors that were happening and the home page now loads properly. I've done the following. Implemented an error handler in Application.cfm. So on error a full dump of the error is shown using /error.cfm template. It is a very basic handler. You may want to edit this to present something better to end users when error occur, and maybe email the error detail to your self. Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were attempting to use a standard connection string. cfquery uses the datasource attribute which is configured in the CFAdmin (which you already provided as fatcat111). The rest of the database calls in that file were using #request.datasource#, so I did the same. This variable was missing, so I set this in the /fbx_settings.cfm (see line 24). There was also an additional syntax error and this was resolved as well. Let me know of anything further. How would you like to handle payment. I usually use PayPal, would this suffice? In all I've spent ~2 hours on this. Regards, Byron On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad wrote: > > Hi, > > We have excellent experience in Coldfusion based website and web > application development as mentioned below, Also we have a team of well > experienced developers in Coldfusion technology. > > Experience : around 15 years > Projects: >200 web application and website. > > We can provide help you to troubleshoot your website issues. > > Thanks & Regards > RK Prasad > > > > > > On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith > wrote: > > > > > I have two sites with minor issues I need help with. > > > > http://www.theartoflovingcatsanddogs.com > > http://www.fatcate-juice.com > > > > The first is an image reference issue and the second has to do with a cfc > > issue. > > > > Please let me know if anyone is interested. > > > > Thanks. > > > > -- > > Regards, > > chedder is bedder > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm