This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Laptop hanging on auto-update when first switched on

Hi all,

One of my laptop users has been having issues with his laptop taking a long time to perform an auto-update first thing in the morning. Generally for the first 15 minutes the user cannot carry on working until the update completes. Outlook seems to freeze and other applications hang. The laptop is fairly old, but has plenty of memory and hard drive space. 

I've copied and pasted a snippet of the autoupdate log and it does seem to show the process hanging (from start to finish it takes 20 minutes):

Trace(2012-Sep-10 08:28:10): CIDUpdate(SyncProduct.Start): SAVXP, http://***********/sophos/CIDs/S001/SAVSCFXP/
Trace(2012-Sep-10 08:28:10): CIDUpdateLocation::Sync - Updating from http CID: http://************/sophos/CIDs/S001/SAVSCFXP/savxp
Trace(2012-Sep-10 08:28:10): CIDSync(CidSyncMessage):
Trace(2012-Sep-10 08:28:12): CIDSync(CidSyncMessage): zbot-ciw.ide
Trace(2012-Sep-10 08:28:12): CIDSync(CidSyncMessage): ranso-iq.ide

Trace(2012-Sep-10 08:32:57): CIDSync(CidSyncMessage): agen-xjp.ide
Trace(2012-Sep-10 08:32:57): CIDSync(CidSyncMessage): agen-xsa.ide

*************************************
Trace(2012-Sep-10 08:40:21): CIDSyncCallback, SynchronisationTerminated - Code = 0
Trace(2012-Sep-10 08:40:22): CIDSyncCallback, SynchronisationTerminated - MapFile = C:\Program Files\Sophos\AutoUpdate\cache\savxp.map
Trace(2012-Sep-10 08:48:16): CIDUpdateLocation::SyncProduct - Product Checksum: b931696e5aa9b1f3f8130e491d60d4be
Trace(2012-Sep-10 08:48:17): CIDUpdate(PrimarySuccess):
Trace(2012-Sep-10 08:48:18): UpdateLocationFacade::SyncProduct: Last Update Mechanism = CID
Trace(2012-Sep-10 08:48:18): CIDUpdateLocation::SyncProduct - Updating Product: Sophos AutoUpdate
Trace(2012-Sep-10 08:48:18): CIDUpdate(SyncProduct.Start): Sophos AutoUpdate, http://************/sophos/CIDs/S001/SAVSCFXP/
Trace(2012-Sep-10 08:48:19): Checksum found in master.upd matches cached cidsync.upd : bf9b3c06. Skipping download
Trace(2012-Sep-10 08:48:19): CIDUpdate(PrimarySuccess):
Trace(2012-Sep-10 08:48:20): ALUpdate(DownloadEnded):

:29307


This thread was automatically locked due to age.
Parents
  • Hi RogueViper,
     
    For XP, this is not that unusual unfortunately. It's important to understand the autoupdate process to know why this becomes a problem over time. AU starts by downloading the 'list' of current files from the CID and comparing these with it's local list. If a difference is established (no matter how small), the entire SAV cache folder is then linked using junction points to the tempsavxp folder (this process though only links is still quite IO intensive and you can see this if you ever 'view updating status' where you'll see nothing yet downloaded and the disk drive thrashing away with 'connecting to server' then 'downloading' (the actual downloading will probably occur very fast). Once downloaded, the old SAVXP folder is deleted from the cache and the TEMPSAVXP folder then moved to SAVXP and the installation/update commences.
     
    Moving this block of 100MB's+ constantly over time causes huge amounts of disk fragmentation on the drive and over time, the machine gets worse and worse until you see times very much like you are seeing. It used to be much more noticeable under v.7 than v.10 before junction points were introduced but it's still a significant problem in v.10.
     
    Fairly easy remedy is to run defrag not just the once, run it 2 or 3 times to properly consolidate the file pieces. Also, check that the pageing file is not defragmented at the same time and if it is, use pagedefrag (from sysinternals) to consolidate that after you have run a full disk defrag.
     
    Rule of thumb to remember, a disk with > 60% space used will fragment much more quickly than you would expect so it's worthwhile if you can, making sure that you keep below this golden number.
     
    The problem is not so apparent on Vista and 7 because they have built-in tasks to defrag disks all the time which means you don't tend to run into this problem as much.
     
    Matt

    :29347
Reply
  • Hi RogueViper,
     
    For XP, this is not that unusual unfortunately. It's important to understand the autoupdate process to know why this becomes a problem over time. AU starts by downloading the 'list' of current files from the CID and comparing these with it's local list. If a difference is established (no matter how small), the entire SAV cache folder is then linked using junction points to the tempsavxp folder (this process though only links is still quite IO intensive and you can see this if you ever 'view updating status' where you'll see nothing yet downloaded and the disk drive thrashing away with 'connecting to server' then 'downloading' (the actual downloading will probably occur very fast). Once downloaded, the old SAVXP folder is deleted from the cache and the TEMPSAVXP folder then moved to SAVXP and the installation/update commences.
     
    Moving this block of 100MB's+ constantly over time causes huge amounts of disk fragmentation on the drive and over time, the machine gets worse and worse until you see times very much like you are seeing. It used to be much more noticeable under v.7 than v.10 before junction points were introduced but it's still a significant problem in v.10.
     
    Fairly easy remedy is to run defrag not just the once, run it 2 or 3 times to properly consolidate the file pieces. Also, check that the pageing file is not defragmented at the same time and if it is, use pagedefrag (from sysinternals) to consolidate that after you have run a full disk defrag.
     
    Rule of thumb to remember, a disk with > 60% space used will fragment much more quickly than you would expect so it's worthwhile if you can, making sure that you keep below this golden number.
     
    The problem is not so apparent on Vista and 7 because they have built-in tasks to defrag disks all the time which means you don't tend to run into this problem as much.
     
    Matt

    :29347
Children
No Data