Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Clear Task Cache (#2404)
Topic Summary: How can we clear the Task Cache Folder
Created On: 04/14/2011 01:56 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/14/2011 01:56 PM
User is offline View Users Profile Print this message

Author Icon
SaroshWadia
Student (5-19 posts)

Posts: 20
Joined: 06/15/2009

Hi!
How can we clear the Task Cache Folder (C:\Documents and Settings\All Users\Application Data\Network Automation\AutoMate BPA Agent 8\TaskCache) from the SMC?
Is there a way to automatically/schedule it to clean up?
The size of this folder seems to be growing each day.
Thanks

 Category Survey


Edited: 02/07/2012 at 08:47 AM by AutoMate Discussion Moderator
 04/15/2011 02:35 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Sarosh,

The system should not be leaving the files behind.

One thing you can do is make a task that clears that folder content out. We're working on reproducing this issue and correcting it.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 04/18/2011 08:24 AM
User is offline View Users Profile Print this message

Author Icon
SaroshWadia
Student (5-19 posts)

Posts: 20
Joined: 06/15/2009

Hi!

It is leaving hundreds of thousands of files (*.aml, *.amv, *.cst) behind and this is filling up our servers drive really quick.

Could this be because we are running this server under VMWare?

Please help.

Thanks



 Category Survey
 04/18/2011 08:42 AM
User is offline View Users Profile Print this message

Author Icon
NikolayParaskov
Student (5-19 posts)

Posts: 7
Joined: 06/11/2009

Hi,

We can report that the same pattern as documented by Sarosh is going on on our BPA 7.1.3 installed on VMWare with Windows 2003 Server OS.

It looks like all these files are just piling there since the Day One of installing the BPA server SW and nothing gets ever deleted. We have about 8,000 objects/files in this folder today.

Thanks 



 Category Survey


-------------------------
Nik-BG
 04/18/2011 03:22 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Sarosh,

This issue has been sent to the development team to be addressed.

In the interim, you can make a task which would clear out the contents of the TaskCache folder.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 04/18/2011 03:27 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Nikolay,

This issue was supposed to have been addressed in the latest build of version 7.
It is possible that your 'since day 1' files may have been placed there prior to the current version.
If you clear that folder out, does it still accumulate new files without ever deleting them?

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 04/18/2011 03:41 PM
User is offline View Users Profile Print this message

Author Icon
SaroshWadia
Student (5-19 posts)

Posts: 20
Joined: 06/15/2009

Hi!

I have created a task to clean this folder but sometimes I get errors from the server:

Error message: Task cannot be started because task file C:\Documents and Settings\All Users\Application Data\Network Automation\AutoMate BPA Agent 8\TaskCache\f1948fe9-13ce-470e-8338-0aea7ca35b98.aml cannot be found Computer name: MyServerName

This tells me that I cannot just delete all files in that folder, not sure how I can make this work. If I dont delete delete these files they add up to more than 250 thousand in a day.

Urgent help is required as we have many task running and cannot stop them for clients.

Thanks



 Category Survey
 04/18/2011 04:19 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Sarosh,

If a file is in use, it might not be found.
Perhaps if you were to exclude files that are newer than a certain date or time offset, then you could avoid conflicts with files that may still be in use.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 04/19/2011 08:58 AM
User is offline View Users Profile Print this message

Author Icon
SaroshWadia
Student (5-19 posts)

Posts: 20
Joined: 06/15/2009

Hi!

I will put that logic in the Task.

Did you guys find anything?

Is this because of VMWare?

Thanks



 Category Survey
 04/19/2011 01:04 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Sarosh,

The issue is not caused by VMWare, it can be reproduced on a physical computer as well.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 04/19/2011 05:54 PM
User is offline View Users Profile Print this message

Author Icon
SaroshWadia
Student (5-19 posts)

Posts: 20
Joined: 06/15/2009

Hi!

Ok, thats good to know.

Any idea when we will be able to get a fix for this?

Thanks



 Category Survey
 04/20/2011 12:45 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Sarosh,

The earliest possible opportunity to see a fix for this would be the next release.

At this point we do not yet have any timing on when we will be providing the next update.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 05/02/2011 07:31 AM
User is offline View Users Profile Print this message

Author Icon
BWH
Student (5-19 posts)

Posts: 11
Joined: 04/17/2009

Originally posted by: SaroshWadia

Hi!


I will put that logic in the Task.


Did you guys find anything?


Is this because of VMWare?


Thanks


We are having the same issue. We have over 4gb of these files and will run out of space soon. Also, it is taking forever to delete the files.

I edited the code in this sample task to clear the cache. I have it run once a day after midnight and it deletes files older than the current day.
Feel free to edit it for your own use.

 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


Edited: 05/02/2011 at 09:33 AM by BWH
 05/02/2011 03:35 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Dawn,

Thank you for sharing your task.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 05/03/2011 09:01 AM
User is offline View Users Profile Print this message

Author Icon
BWH
Student (5-19 posts)

Posts: 11
Joined: 04/17/2009

Glad to help.
Any news on when this will be fixed? This is a very big issue.

 Category Survey
 05/03/2011 04:49 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Dawn,

We hope to have it corrected for the next update. However, we do not yet have timing available.

 Category Survey


-------------------------
- Rick Johnson
Network Automation
 02/07/2012 08:42 AM
User is offline View Users Profile Print this message

Author Icon
RobertGreenwood
Expert (100-199)

Posts: 119
Joined: 09/07/2005

Maybe I missed it but did this ever get resolved? I am running BPA 8.0.1.503 and these cache files still accumulate daily. I just manually deleted 115,000 of these files.

 Category Survey


-------------------------
Bob Greenwood
BPA8, W2K3 Server,
VMWare, XP Clients
 02/07/2012 09:45 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Originally posted by: RobertGreenwood

Maybe I missed it but did this ever get resolved? I am running BPA 8.0.1.503 and these cache files still accumulate daily. I just manually deleted 115,000 of these files.


Hi Bob,

This problem still exists in both BPA8 and BPA9. The upcoming maintenance release of BPA9 will have the correction.

 Category Survey
AutoMate BPA Server 8 version:
Windows version:


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1060 guests browsing this forum, which makes a total of 1060 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog