joebrug Trusted Contributor.
Trusted Contributor.
2336 views

5 min refresh?

Hope this is right place to ask..
Created a new bundle that only has an "install dir" task. The directory in question has 700MB and around 3500 files or so (Wordperfect 14). It also runs from an setup.exe tied to msi's.. blah. Its also set to copy the files to "%temp%\wp14" Anyway..

Created bundle, assigned it to a user.. went to my VM that is already logged in as that user.. right click > refresh. its been taking about 5 mins to complete the refresh.. even though I havent even double clicked the icon to install the app. What is it doing?! I must be missing something..

Also, after uploading the files through Control Center..I noticed the db.exe and zenloader.exe maxing out the cpu for about 10/15 mins. believe this was just it putting the files I uploaded wherever it needed to be..

Can anyone explain the 5 min refresh? the local cache/content-repo hasnt grown

#novell on efnet
Labels (2)
0 Likes
10 Replies
Micro Focus Expert
Micro Focus Expert

Re: 5 min refresh?

ZCM does not really like bundles with a huge number of separate files
like that.

A Couple options would be to use the "Copy Dir" Option and have the
files copied from a network share instead of the Repo.

If you want to use the Repo, Consider Zipping your Dir to something like
WP14.zip and uploading that to the repo.

Then in your actions, install the file, exact it, delete the zip and run
the insatll.

The issue is less the size, but more the fact that ZCM actually tracks
each file independently. It does this so duplicate files are not stored
in the repo nor are duplicate files downloaded.

However, when a single bundle gets into the 1000s of files, you may see
slow downs. The issue is seen more often using Sybase than other products.

Note: If you are not using ZCM 10.2.2, try upgrading to that as well.
There are some fixes that might apply to you that might help, especially
if you are seeing the memory usage on the client jump.
If not, then the patch will likely not help too much.

On 1/26/2010 2:16 PM, joebrug wrote:
>
> Hope this is right place to ask..
> Created a new bundle that only has an "install dir" task. The
> directory in question has 700MB and around 3500 files or so (Wordperfect
> 14). It also runs from an setup.exe tied to msi's.. blah. Its also set
> to copy the files to "%temp%\wp14" Anyway..
>
> Created bundle, assigned it to a user.. went to my VM that is already
> logged in as that user.. right click> refresh. its been taking about 5
> mins to complete the refresh.. even though I havent even double clicked
> the icon to install the app. What is it doing?! I must be missing
> something..
>
> Also, after uploading the files through Control Center..I noticed the
> db.exe and zenloader.exe maxing out the cpu for about 10/15 mins.
> believe this was just it putting the files I uploaded wherever it needed
> to be..
>
> Can anyone explain the 5 min refresh? the local cache/content-repo
> hasnt grown
>
>


0 Likes
joebrug Trusted Contributor.
Trusted Contributor.

Re: 5 min refresh?

Thanks Craig.. thats what I was leaning towards as well. I'm curious though, without double-clicking the icon for the app, etc.. why did the refresh take longer? it didn't appear to be downloading any files into the local cache.. so what was it doing?

#novell on efnet
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: 5 min refresh?

On 1/26/2010 3:26 PM, joebrug wrote:
>
> Thanks Craig.. thats what I was leaning towards as well. I'm curious
> though, without double-clicking the icon for the app, etc.. why did the
> refresh take longer? it didn't appear to be downloading any files into
> the local cache.. so what was it doing?
>
>


It may have been generating a list of content.
Each of the 3,500 files would be a separate content item.

There were some memory handling fixes in the 10.2.2 Client that fixed
addressed issues seen by some bundles with a large number of files/reg
keys. If did not effect all bundles for technical reasons. What would
happen is some of the agent process would spike and use massive amounts
of memory. While this was fixed in 10.2.2 and performance issues
related to the memory handling were fixed as well, it does not address
the basic issue where if there are 1,000s of individual content items to
analyze, there will be quite a bit of overhead.

While I cannot say for sure, the issue seems to exist mostly on the DB
side. The folks who report problems with such bundles tend to be Sybase
Users. MS-SQL and Oracle Users tend to report the issue less often.


Also, You might be able to pull out AdminStudio to turn it all into an
MSI which might be simplest yet, if you know Admin Studio.
0 Likes
joebrug Trusted Contributor.
Trusted Contributor.

Re: 5 min refresh?

Thanks. just trying to figure out what happens in the background, to determine how to combat it. I forgot to mention I'm running 10.2.2 on server and client, but I did see a lot of 'zenworkswindowsserver.exe' using 100% of processor during the 5 mins, with memory loads bouncing around quite a bit (couple hundred megs).. I am using the built in zenworks database (sybase, i believe), on the server end.

I would use AdminStudio, but I'm one of those people who cant get passed the registering screen. Says trial expired, put my code in, says "thanks!" then open it back up and its Trial Expired again. havent seen a fix for this, other than formatting hard drive

#novell on efnet
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: 5 min refresh?

A Few Hundred meg is more than I would expect.

There were issues with "Variable Substitution" in earlier versions that
should have been fixed in 10.2.2

Mind you I saw extreme cases of 1GB+ so maybe a few hundred is fixed.

You might want to test to see if you change the bundle so that
everything was a non-variable location.

So if you had %temp%, change it to c:\temp specifically for example.

No idea if this would help since I don't know all the details of what
they fixed, but for the one customer there was a significant drop in
memory usage on the client side.

On 1/26/2010 4:26 PM, joebrug wrote:
>
> Thanks. just trying to figure out what happens in the background, to
> determine how to combat it. I forgot to mention I'm running 10.2.2 on
> server and client, but I did see a lot of 'zenworkswindowsserver.exe'
> using 100% of processor during the 5 mins, with memory loads bouncing
> around quite a bit (couple hundred megs).. I am using the built in
> zenworks database (sybase, i believe), on the server end.
>
> I would use AdminStudio, but I'm one of those people who cant get
> passed the registering screen. Says trial expired, put my code in, says
> "thanks!" then open it back up and its Trial Expired again. havent seen
> a fix for this, other than formatting hard drive
>
>


0 Likes
joebrug Trusted Contributor.
Trusted Contributor.

Re: 5 min refresh?

I will give that a shot. I've already deleted the Wp14 bundle that I uploaded into the repo. Where i'm still puzzled is, even after doing that, a refresh on the workstation still takes a long time. Only way I've been able to fix this is to rename the "zmd" folder in \cache\ , then refreshes are fast again. Also, didnt see the repo on the server get any smaller, but I'll wait a day, even though I dont think it'll help as it still never shrunk from Friday's deletion.

#novell on efnet
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: 5 min refresh?

in %programfiles%\novell\zenworks\cache\zmd there will be a number of
"AppState" files.

Deleting these should resolve the issue.

In fact, if you can identify the one associated with WP14, that should
be sufficient.

On 1/26/2010 4:56 PM, joebrug wrote:
>
> I will give that a shot. I've already deleted the Wp14 bundle that I
> uploaded into the repo. Where i'm still puzzled is, even after doing
> that, a refresh on the workstation still takes a long time. Only way
> I've been able to fix this is to rename the "zmd" folder in \cache\ ,
> then refreshes are fast again. Also, didnt see the repo on the server
> get any smaller, but I'll wait a day, even though I dont think it'll
> help as it still never shrunk from Friday's deletion.
>
>


0 Likes
joebrug Trusted Contributor.
Trusted Contributor.

Re: 5 min refresh?

Absolutely right. I right clicked on the largest one (3mb) and opened with notepad.. saw WordPerfect 14 in there and deleted it. Refresh was about 5-10 seconds. So when do these things clean up after themselves? And is there a way to FORCE the cleanup of the content repo on the server? mines now 1.5gb or so, probably 1.2gb of that is my two attempts at "Install Dir" with Wp files.

Thanks for your help Craig

#novell on efnet
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: 5 min refresh?

I presume there is some type of cleanup process, but I don't know the
details about that. Apologies ;>



On 1/26/2010 5:46 PM, joebrug wrote:
>
> Absolutely right. I right clicked on the largest one (3mb) and opened
> with notepad.. saw WordPerfect 14 in there and deleted it. Refresh was
> about 5-10 seconds. So when do these things clean up after themselves?
> And is there a way to FORCE the cleanup of the content repo on the
> server? mines now 1.5gb or so, probably 1.2gb of that is my two attempts
> at "Install Dir" with Wp files.
>
> Thanks for your help Craig
>
>


0 Likes
joebrug Trusted Contributor.
Trusted Contributor.

Re: 5 min refresh?

Someone must know how to force a cleanup of the contentrepo;) Where's Shaun?.. lol

does some document exist that explains the entire zcm bundle process? kind of like the groupwise email flow documentation. I think it'd be extremely helpful if something explained what happens when you upload a file to the repository (it appears to be done, but then zenloader.exe and the db do their thing for a while), then when you refresh an app (something gets cached to local workstation?), then when you launch an app (more caching happens).. etc. Refreshs of the agent seem to take a bit longer than zfd one did

#novell on efnet
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.