Re: Insite Help on CF Hanging?

2014-07-23 Thread Scott Stewart

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 lesm...@bellsouth.net 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: Insite Help on CF Hanging?

2014-07-23 Thread Mark A Kruger

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: Insite Help on CF Hanging?

2014-07-23 Thread Mark A Kruger

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?

2014-07-23 Thread Les Mizzell

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?

2014-07-23 Thread Byron Mann

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