This should hopefully be what you're looking for:
After cfexec starts - it waits a fixed 30 seconds and then purges expired client
variables. It then sleeps for a fixed time (usually 24 hrs) and repeats the process.
The cycle time is therefore 24hrs plus the time required to delete the expired client
variables.
There is a registry setting defined to change the sleep time:
HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server\PurgeInterval
REG_SZ {time_in_milliseconds}
If this setting is less than 3600000, then a minimum sleep time of 3600000 will be
used instead. 3,600,000 milliseconds = 1 hour.
If this registry key does not exist (it usually doesn't) - the default value is
86400000. 86,400,000 milliseconds = 1 day.
Deb
-----Original Message-----
From: Chris Norloff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 4:00 PM
To: CF-Talk
Subject: Re: When Does Purge Take Place?
I'd like to hear the answers for this one, myself.
On our system the time seems to be random, but usually in the 0700 to 1700 hr.
timeframe. But it purges only once a day, no matter how many client ID's are affected.
(Solaris 8, Oracle 8i, CF 4.5.2)
Best guess now- the purge happens sometime in the day after the client vars are
created. So check on the NEXT day :-)
Here's a few log entries for your edification, education, and amusement :-)
"Information","TID=5","03/08/02","10:45:43"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-07-2002 10:45:41', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/09/02","10:45:44"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-08-2002 10:45:43', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/10/02","10:45:46"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-09-2002 10:45:44', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/11/02","07:52:13"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-10-2002 07:52:12', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/12/02","07:52:15"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-11-2002 07:52:13', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/13/02","08:39:23"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-12-2002 08:39:21', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/13/02","08:41:00"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-12-2002 08:40:58', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/14/02","08:41:02"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-13-2002 08:41:00', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/14/02","10:34:44"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-13-2002 10:34:42', 'MM-DD-YYYY
HH24:MI:SS')'"
"Information","TID=5","03/14/02","12:51:07"," Purged client data from Data Source
'DEVUTlime'; last visit older than 'to_date('03-13-2002 12:51:05', 'MM-DD-YYYY
HH24:MI:SS')'"
---------- Original Message ----------------------------------
from: Stacy Young <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Wed, 10 Jul 2002 15:32:33 -0400
>If I'm not mistaken the cfexec service is responsible for purging client
>variables. We've been having some issues with CF not purging in the past
>(when set to registry storage) and we need to test that it will now purge
>with the data source in place. I can set it to purge everyday for the sake
>of testing but when does the exec service actually perform the purge? Is it
>scheduled? Is it on every client update?
>
>
>
>Anyone?
>
>
>
>
>
>Stacy Young
>
>System Integration Specialist, Architecture
>
>Surefire Commerce
>
>http://www.sfcommerce.com <http://www.sfcommerce.com>
>
>(p) 514-380-2700 ext: 3234
>
>(f) 514-380-2760
>
>
>
>
>
>AVIS IMPORTANT:
>-------------------------------
>Les informations contenues dans le present document et ses pieces jointes sont
>strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il
>est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation,
>distribution, copie, ou autre utilisation de ces informations est strictement
>prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait
>communiquer immediatement avec l'expediteur et detruire ce document sans en faire de
>copie sous quelque forme.
>
>WARNING:
>-------------------------------
>The information contained in this document and attachments is confidential and
>intended only for the person(s) named above. If you are not the intended recipient
>you are hereby notified that any disclosure, copying, distribution, or any other use
>of the information is strictly prohibited. If you have received this document by
>mistake, please notify the sender immediately and destroy this document and
>attachments without making any copy of any kind.
>
>
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists