Major Onedrive Business client continuous sync loop bug

%3CLINGO-SUB%20id%3D%22lingo-sub-93880%22%20slang%3D%22en-US%22%3EMajor%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93880%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20utilized%20procmon%20and%20other%20methods%20and%20reproduced%20continually%20to%20be%20able%20to%20confirm%20now%20that%20there%20is%20in%20fact%20a%20MAJOR%20bug%20IMO%20in%20the%20Onedrive%20new%20gen%20client%20that%20handles%20both%20personal%20and%20business%20(both%20of%20which%20I%20use)%20-%20currently%20the%20latest%20%3CSTRONG%3Eversion%202016%20(Build%2017.3.6943.0625)%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20case%2C%20I%20literally%20BURNED%20OUT%20a%20newer%20SSD%20as%20it%20sat%20in%20a%20stuck%20%22processing%20changes%22%20sync%20loop%20-%20day%20after%20day%2C%20despite%20continually%20performing%20the%20canned%20suggestions%20my%20MS%20to%20blatently%20do%20full%20resets%20and%20resync%20the%20HUNDREDS%20OF%20GIGS%20of%20data%20and%20some%20of%20the%20other%20wildly%20severe%20suggestions.%3CBR%20%2F%3E%3CBR%20%2F%3EHere%20is%20the%20major%20bug%3A%26nbsp%3B%20To%20reproduce%20this%20(there%20are%20other%20ways%20but%20this%20is%20just%20the%20fastest%20sure-fire%20test%20that%20I%20have%20even%20scripted%20to%20a%20simple%20one-liner%20command%20(%3CSTRONG%3ENOTE%3A%20THIS%20COMMAND%20DEFAULTS%20TO%20YOUR%20FIRST%20ONEDRIVE%20BUSINESS%20ACCOUNT%20FOLDER%20-%20IF%20YOU%20HAVE%20MORE%20THAN%20ONE%20BUSINESS%20ACCOUNT%20DEFINED%20YOU%20MAY%20HAVE%20TO%20ADJUST%20THE%20COMMAND%20OR%20MANUALLY%20CHOOSE%20THE%20LOCATION%3C%2FSTRONG%3E%3A(%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3E1.%26nbsp%3B%20Ensure%20Onedrive%20Client%20is%20running%20and%20if%20goal%20is%20a%20reproduce%20ensure%20client%20in%20sync%20and%20idle%3CBR%20%2F%3E2.%26nbsp%3B%20Open%20a%20Powershell%20session%3CBR%20%2F%3E3.%26nbsp%3B%20Type%2FPaste%20the%20following%20in%20single%20line%3A%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSTRONG%3EStart-Transcript%20-Path%20%22%24(Get-ItemPropertyValue%20-path%20HKCU%3A%5CSoftware%5CMicrosoft%5COneDrive%5CAccounts%5CBusiness1%20-Name%20'UserFolder')%5CLockedFile.txt%22%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E4.%26nbsp%3B%20INSTANTLY%20-%20watch%20the%20Onedrive%20client%20switch%20to%20%22Processing%20Changes%22%20and%20as%20bonus%20open%20procmon%20to%20verify%20in%20fact%20the%20client%20is%20now%20CHURNING%20100%25%20INFINITE%20LOOP%20through%20ALL%20FILES%20in%20the%20Onedrive%20structure%20AND%20all%20Onedrive%20registry%20keys%3CBR%20%2F%3E%3CBR%20%2F%3E5.%26nbsp%3B%20At%20this%20point%2C%20you%20have%20TWO%20choices%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Ba)%20Continue%20to%20watch%20the%20HUNDREDS%20OF%20GIGABYTES%20PER%20DAY%20of%20NAND%20writes%20as%20the%20SSD%20burns%20out%20after%20a%20few%20months%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bb)%20Decide%20you%20are%20convinced%20of%20this%20issue%2C%20and%20in%20turn%20issue%20the%20following%20command%20in%20the%20same%20Powershell%20session%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSTRONG%3EStop-Transcript%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E6.%20%3CEM%3E(Assuming%20you%20opted%20for%20option%20b%20above)%3C%2FEM%3E%20Wait%20literally%20a%20few%20seconds%20and%20watch%20the%20magic%20as%20Onedrive%20regains%20it's%20mind%2C%20and%20at%20the%20same%20time%20watch%20in%20procmon%20how%20it%20then%20CEASES%20all%20activity%2C%20goes%20back%20into%20an%20%22in%20sync%22%20state%2C%20and%20back%20to%20fully%20IDLE.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E7.%20Remember%20to%20clean%20up%20and%20manually%20delete%20the%20%22LockedFile.txt%22%20in%20your%20Onedrive%20folder%20(I%20refuse%20to%20post%20delete%20commands).%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOf%20note%2C%20this%20was%20NOT%20easy%20to%20track%20down%20with%20procmon%2C%20because%20as%20you%20have%20seen%2C%20ALL%20your%20Onedrive%20files%20keep%20looping%20and%20will%20NOT%20show%20you%20an%20indication%20of%20this%20issue.%26nbsp%3B%20It%20was%20only%20through%20HOURS%20of%20trial%20and%20error%20and%20in%20my%20case%20only%20because%20on%20only%20one%20of%20my%20machines%20had%20I%20just%20moved%20my%20PSHOME%20folder%20into%20Onedrive%2C%20and%20very%20ironically%20because%20specifically%20because%20it%20was%20the%20TRANSCRIPTS%20of%20my%20daily%20PS%20sessions%20that%20I%20wanted%20synced%20via%20Onedrive%20which%20of%20course%20is%20clear%20is%20IMPOSSIBLE%20until%20MS%20addresses%20this%20issue.%26nbsp%3B%20So%2C%20if%20you%20have%20other%20apps%20that%20are%20putting%20a%20hard%20lock%20on%20files%20in%20your%20Onedrive%20folders%20somewhere%2C%20you%20may%20have%20to%20do%20some%20trial%20and%20error.%3CBR%20%2F%3E%3CBR%20%2F%3EMS%20needs%20to%20fix%20this.%26nbsp%3B%20To%20have%20a%20sync%20client%20that%20is%20at%20THIS%20maturity%20level%20and%20totally%20thrown%20into%20a%20broken%20fit%20by%20ONE%20SINGLE%20hard-locked%20file%20that%20of%20course%20will%20throw%20a%20SHARING%20VIOLATION%2C%20is%20utterly%20absurd%20(and%20bad%20exception%20handling%20code%2C%20IMO).%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20word%20to%20the%20wise%20-%20along%20with%20long%20paths%20%26gt%3B%20255%20char%2C%20zero-byte%20files%2C%20and%20about%20another%20dozen%20absolutely%20ABSURD%20things%20that%20basic%20error%20checking%20code%20%3CSTRONG%3Eshould%3C%2FSTRONG%3E%20be%20catching%20for%20exceptions%20(these%20too%20also%20cause%20sync%20issues)%20but%20instead%20we%20as%20BUSINESS%20users%20have%20to%20manually%20manage%20(and%20protect%20against)%20these%20exceptions%20ourselves%2C%20now%20please%20also%20be%20sure%20to%20move%20ANYTHING%20that%20may%20use%20a%20path%20that%20will%20result%20in%20EVER%20having%20a%20SINGLE%20fully%20locked%20file%20within%20-%20OUT%20of%20the%20Onedrive%20structure%20completely!%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20helps%20someone%20else%20save%20hours%20of%20troubleshooting%20and%20that%20MS%20folks%20can%20get%20this%20issue%20in%20front%20of%20DEVs%20to%20fix%20soon.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-93880%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-211006%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211006%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F123812%22%20target%3D%22_blank%22%3E%40p.schaefer%3C%2FA%3E%26nbsp%3BYou%20are%20correct%20on%20the%20registry%2C%20however%20no%20this%20is%20not%20resolved%20and%20the%20NAND%20writes%20the%20few%20above%20have%20argued%20with%20they%20clearly%20did%20not%20launch%20procmon%20to%20watch%20it%20continually%20both%20read%20and%20ultimately%20cause%20unneeded%20SSD%20NAND%20writes%20(in%20a%20loop%20-%20FOREVER)%20until%20you%20(through%20trial%20and%20error%20because%20Onedrive%20isn't%20(still)%20intelligent%20enough%20to%20actually%20indicate%20just%20which%20file(s)%20are%20currently%20making%20it%20lose%20it's%20mind%20and%20barf%20on%20my%20CPU.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20but%20as%20a%20paying%20customer%20of%20both%20Onedrive%20and%20Onedrive%20for%20business%2C%20I%20should%20be%20able%20to%20expect%20a%20sync%20app%20that%20at%20the%20very%20least%20will%20tell%20me%20if%20it's%20having%20trouble%20with%20one%20or%20more%20pieces%20of%20my%20data%20-%20and%20currently%20(06-30-2018)%20even%20the%20much%20improved%20client%20still%20does%20not.%26nbsp%3B%20I%20write%20code%20(and%20have%20for%20%26gt%3B%2030%20yrs)%20so%20why%20on%20earth%20the%20try%2Fcatch%20blocks%20they%20have%20in%20place%20can't%20manage%20to%20break%20the%20client%20out%20of%20a%20loop%20when%20it%20hits%20a%20file%20it%20cannot%20sync%2C%20even%20with%20%23%20of%20retries%2C%20and%20either%20log%20it%20and%2For%20report%20it%20to%20the%20user%20-%20is%20totally%20without%20excuse%20IMO.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-166609%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-166609%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EHas%20Microsoft%20fixed%20the%20issue%20or%20is%20this%20the%20pattern%20you%20refer%20to%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20try%20reproducing%20it%3A%3C%2FP%3E%0A%3CP%3EStart-Transcript%20-Path%20%22C%3A%5CUsers%5C%3CEM%3EmyUsername%3C%2FEM%3E%5COneDrive%20-%26nbsp%3B%3CEM%3EmyCompany%3C%2FEM%3E%5Ctest%5CLockedFile.txt%22%3C%2FP%3E%0A%3CP%3ENow%20the%20status%20of%26nbsp%3BLockedFile.txt%20is%20Syncing%20(overlay%20icon%20is%20blue%20circular%20arrows).%20(Astonishingly%20the%20status%20of%20the%20folder%20test%20and%20the%20top%20folder%26nbsp%3BOneDrive%20%E2%80%93%26nbsp%3B%3CEM%3EmyCompany%3C%2FEM%3E%26nbsp%3Bboth%20is%20UpToDate%20(green%20overlay%20icon)%20%E2%80%93%20so%20without%20drilling%20into%20the%20structure%20you%20never%20know%20whether%26nbsp%3BUpToDate%20(green)%20is%20really%26nbsp%3BUpToDate%20(green)%3F%20%3CSTRONG%3EFor%20me%20this%20is%20a%20bug%3C%2FSTRONG%3E.)%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EProcess%20Explorer%20now%20indicates%20that%20OneDrive.exe%20consumes%20between%203%25%20and%207%25%20of%20the%20CPU%20on%26nbsp%3Bmy%20old%202%20core%20machine%20(i5-2520M%402.5GHz%2C%208%20GB%20RAM)%20running%20Windows%207%20SP1.%20When%20I%20also%20start%20Process%20Monitor%2C%20the%20CPU%20consumption%20of%26nbsp%3BOneDrive.exe%26nbsp%3Bindicated%20by%20Process%20Explorer%20goes%20up%20to%20something%20between%208%25%20and%2010%25%20(reminds%20me%20of%20Heisenberg's%20uncertainty%20principle%20in%20quantum%20mechanics%20%E2%80%93%26nbsp%3Bcomprehensive%20measuring%26nbsp%3Bis%20affecting).%20Indeed%20OneDrive.exe%20is%20one%20of%20the%20top%20event%20contributors%20in%20Process%20Monitor.%20The%20vast%20majority%20of%20these%26nbsp%3Boperations%20are%20Registry%20operations%2C%20most%20of%20them%20reads.%20The%20file%20system%20operations%20of%20OneDrive.exe%20are%20much%20less.%20WriteFile%20operations%20are%20between%2010%20and%2030%20per%20second%20and%20even%20less%20CreateFile%20and%20CloseFile%20operations.%20The%20WriteFile%20operations%20basically%20are%20logging%20to%20C%3A%5CUsers%5C%3CEM%3EmyUsername%3C%2FEM%3E%5CAppData%5CLocal%5CMicrosoft%5COneDrive%5Clogs%5CBusiness1%5CSyncEngine-2018-3-1.332.20180.57.aodl%20.%20%3CSTRONG%3ECreateFile%20and%20CloseFile%20operations%20are%20performed%20on%20LockedFile.txt%20and%20the%20two%20folders%20above%2C%20but%20on%20no%20other%20files%20in%20the%20OneDrive%20for%20Business%20structure%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECollin%2C%20is%20that%20your%20error%20pattern%3F%20Or%20what%20exactly%20do%20you%20see%20when%20you%20%22watch%20the%20HUNDREDS%20OF%20GIGABYTES%20PER%20DAY%20of%20NAND%20writes%22%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20feel%20either%20%3CSTRONG%3EMicrosoft%20fixed%20the%20issue%20in%20the%20meantime%3C%2FSTRONG%3E%20%E2%80%93%20I%20am%20on%20version%2018.25.204.7%20%E2%80%93%20or%20this%20is%20not%20really%20an%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20a%20%3CSTRONG%3Ezero%20byte%20file%3C%2FSTRONG%3E%20does%20not%20create%20any%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAre%20there%20other%20issues%20around%20with%20the%20Next-gen%20Sync%20Client%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122528%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122528%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20similar%20issues%20as%20well%20with%20one%20of%20our%20OneDrive%20for%20Business%20users.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20also%20reproduce%20the%20problem%20with%20Start-Transcript%2C%20even%20on%20current%20OneDrive%20client%20version%2017.3.7074.1023%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-101645%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-101645%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37870%22%20target%3D%22_blank%22%3E%40Luke%20Gatchell%3C%2FA%3E%3A%3CBR%20%2F%3ETrial%20and%20error.%20Searching%20and%20ordering%20by%20creation%2Fmodified%20date%20and%20working%20backwards.%20It%20sucks%20as%20now%20I%20have%20to%20do%20it%20again%20today%20as%20it%20started%20again%20and%20hopefully%20is%20just%20some%20simple%20zero%20byte%20file%2C%20long%20path%20length%2C%20etc.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F12436%22%20target%3D%22_blank%22%3E%40Chris%20Moore%3C%2FA%3E%3A%3C%2FP%3E%3CP%3E%22Most%20straight-forward%20way%20to%20find%20the%20files%20is%20looking%20at%20the%20explorer%20file%20badges%3B%20folders%20and%20files%20with%20locks%20will%20constantly%20have%20the%20blue%20sync%20badge%20over%20their%20icon.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20ludicrious.%20So%20much%20so%2C%20that%20I%20won't%20even%20go%20on%20to%20ask%20if%20before%20you%20so%20dangerously%20stated%20that%20%22you%20do%20not%20see%20this%20as%20an%20operational%20issue%22%2C%20if%20you%20have%20actually%20DONE%20ANYTHING%20on%20this%3F%20Can%20you%20provide%20the%20research%20and%20logs%2C%20or%20are%20you%20just%20here%20to%20troll%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20clock%20this%20at%20generating%20HUNDREDS%20OF%20GIGS%20PER%20DAY%20of%20nand%20writes%20due%20to%20this%20behavior%20-%20do%20you%20know%20how%20to%20operate%20calc.exe%20to%20do%20that%20math%20over%20even%20a%20year%3F%20Show%20me%20a%20single%20recent%20SSD%20that%20can%20handle%20that%20many%20writes.......they%20can't%20and%20again%20unlike%20you%20I%20actually%20DO%20have%20dead%20SSDs%20to%20prove%20this.%3C%2FP%3E%3CP%3EI%20am%20also%20well%20aware%20that%20this%20has%20been%20an%20issue%20for%20%22some%20time%22%20as%20I'm%20approaching%20my%2030yrs%20in%20this%20business%20and%20have%20literally%20used%20Onedrive%20since%20it%20was%20in%20limited%20internal%20MS%20testing%20as%20Skydrive%20(for%20personal)%2C%20live%20mesh%20(before%20they%20bought%20it)%2C%20and%20blended%20it%20with%20Sharepoint%20to%20make%20this%20latest%20client.%20It's%20a%20mish-mosh%2C%20hodge-podge%20of%20code%20from%20three%20major%20sources%20that%20makes%20this%20latest%20%22next%20gen%22%20sync%20client.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20with%20all%20that%20said%2C%20since%20I've%20also%20been%20doing%20development%20for%20three%20decades%20let%20me%20ask%2C%20who%20has%20the%20excuse%20of%20why%20this%20client%20has%20been%20not%20in%20alpha%20or%20beta%2C%20but%20now%20in%20production%20desktop%20environments%20for%20YEARS%20yet%20can't%20handle%20the%20most%20BASIC%20of%20things%20like%20zero%20byte%20files%20and%20simple%20friggin%20PATH%20LENGTH%20ONE%20LINE%20OF%20CODE%20tests%20that%20I%20was%20writing%20in%20assembly%2030%20yrs%20ago%3F!%3F!%3F%20What's%20the%20excuse%20as%20to%20why%2C%20even%20today%20in%202017%2C%20I%20literally%20AGAIN%20am%20watching%20this%20%22next%20gen%22%20client%20cycle%20infinitely%20on%20my%20SSD%20undoubtedly%20because%20of%20a%20single%20zero%20byte%20file%20or%20long%20path%20I%20need%20to%20hunt%20down%2C%20yet%20STILL%20CANNOT%20GET%20a%20single%20simple%20verbose%20LOG%20FILE%20out%20of%20this%20client%20indicating%20WHAT%20FILE%20OR%20FOLDER%20is%20even%20a%20problem%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E.....And%20if%20you%20knew%20ANYTHING%20about%20this%20client%20you%20would%20know%20that%20if%20you%20can%20make%20it%20past%20the%20~11%20(also%20horrible%20coding)%20hard-coded%20OS%20limit%20in%202017%20for%20simple%20shell%20icon%20overlays%2C%20to%20even%20SHOW%20the%20Onedrive%20sync%20icon%20overlays%2C%20you%20would%20be%20well%20aware%20that%20they%20are%20HORRIBLY%20inaccurate%20at%20times%20and%20in%20this%20bug%20case%2C%20can%20show%20HUNDREDS%20of%20files%20not%20sync'd.......know%20why%3F%20Because%20of%20the%20ONE%20issue%20preventing%20it%20from%20continuing%20-%20yet%20unlike%20the%20cases%20where%20it%20DOES%20pop%20up%20with%20illegal%20filename%2C%20sharing%20issues%2C%20etc.%2C%20in%20this%20bug%20case%20it%20NEVER%20INDICATES%20A%20SINGLE%20ISSUE%20(along%20with%20no%20log)%2C%20and%20you%20can%20prove%20all%20of%20this%20in%202%20seconds%20with%20procmon%20(MS%20own%20tool%20now%20since%20they%20bought%20Russinovich)%20and%20watch%20all%20of%20this%20(I%20think%20I%20even%20already%20provided%20a%20real%20life%20video%20showing%20it)%20as%20it%20loops%20through%20in%20my%20case%20the%20HUNDREDS%20OF%20GIGS%20in%20my%20Ondrive%20Business%20structure......and%20I%20have%20yet%20to%20find%20any%20line%2Fevent%20to%20easily%20target%20the%20issues%20and%20wind%20up%20wasting%20HOURS%20each%20time.%20Last%20time%20it%20was%20a%20simple%20Powershell%20lock%20on%20transcripts%20that%20anyone%20can%20prove%20this%20bug%20in%202%20minutes%20just%20by%20opening%20a%20PS%20transcript%20anywhere%20in%20the%20Onedrive%20structure%20and%20boom%20sync%20loop%20bug%20and%20then%20leave%20it%20on%20for%20a%20year%20and%20call%20me%20and%20let%20me%20know%20how%20that%20SSD%20is%20doing.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20but%20this%20trolling%20is%20absurd%20when%20I've%20even%20shot%20VIDEOS%20of%20this%20issue%20when%20idiots%20show%20up%20just%20like%20if%20I%20passed%20a%20FATAL%20car%20accident%20on%20the%20freeway%2C%20rolled%20my%20window%20down%2C%20and%20said%20to%20the%20family%20of%20the%20deceased%20%22this%20accident%20is%20really%20not%20a%20big%20operational%20problem%20in%20your%20life%22%2C%20LOL.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20155%20files%20right%20now%20not%20syncing%20because%20of%20this%20issue%20right%20now%2C%20so%20you%20want%20to%20tell%20me%20again%20it's%20%22not%20really%20an%20operational%20issue%22%3F%20LOL.%20It%20really%2C%20really%2C%20is%20exactly%20that%20-%20a%20BIG%20operational%20issue%20that%20MS%20should%20be%20embarrassed%20of%20with%20this%20client%20maturity%20level%20and%20should%20get%20on%20it%20to%20eradicate%20such%20basic%20sync%20problems%20like%20this%20before%20it%20bites%20their%20paying%20corporate%20customers%20(like%20me)%20before%20they%20get%20tired%20of%20waiting%20and%20just%20move%20to%20a%20competitor%20for%20basic%20cloud%20syncing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20mean%2C%20I've%20been%20developing%20for%203%20decades%2C%20so%20seriously%20if%20MS%20can't%20afford%20friggin%20putting%20developers%20on%20major%20basic%20issues%20like%20this%20that%20again%20if%20I%20were%20them%20would%20be%20EMBRARRASED%20of%20and%20would%20want%20to%20squash%20immediately%2C%20then%20release%20the%20source%20code%20and%20I%20bet%20between%20me%20and%20the%20rest%20of%20the%20developers%20out%20here%20using%20their%20product%20daily%20with%20skin%20in%20the%20game%20that%20we%20could%20have%20this%20issue%20eradicated%20tested%20and%20rolled%20out%20quickly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96819%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96819%22%20slang%3D%22en-US%22%3E%3CP%3EInteresting.%20I've%20never%20seen%20this%20happen%20until%20a%20few%20weeks%20ago%2C%20but%20that%20could%20certainly%20be%20due%20to%20some%20file%20locking%20that%20I%22m%20not%20aware%20of.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20a%20few%20minutes%20ago%2C%20as%20I%20arrived%20to%20work%2C%20and%20docked%20my%20laptop%2C%20and%20resumed%20from%20hibernation%2C%20all%20of%20a%20sudden%2C%20every%20site%20started%20syncing%20again%2C%20and%20now%20it's%20cranking%20through%208GB%20of%20data.%20This%20never%20happened%20before%2C%20and%20now%20it%20seems%20to%20be%20almost%20every%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20good%20to%20know%20that%20my%20SSD%20won't%20burn%20out%2C%20but%20the%20bandwidth%20issue%20is%20annoying%2C%20and%20so%20is%20the%20fact%20that%20I%20can't%20really%20access%20my%20files%20while%20this%20is%20happening.%20It%20is%20true%20that%20the%20CPU%20seems%20to%20be%20under%20control%2C%20but%20my%20fans%20do%20kick%20in%20on%20the%20laptop%2C%20and%20the%20network%20speed%20is%20affected...especially%20when%20this%20has%20happened%20to%20several%20people%20at%20our%20company%20all%20at%20once.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I'm%20very%20interested%20to%20know%20why%20this%20is%20happening%2C%20whether%20a%20fix%20is%20coming%2C%20and%20if%20it%20is%20truly%20related%20to%20a%20locked%20file%20(does%20this%20mean%20I%20have%20locked%20files%20on%20EVERY%20site%2C%20or%20does%20one%20locked%20file%20cause%20all%20sites%20to%20be%20re-synced%3F)%2C%20how%20can%20identify%20which%20file%20that%20is%3F%20Should%20I%20just%20stop%20syncing%20all%20sites%20and%20re-sync%20them%20again%20to%20possibly%20%22fix%22%20the%20locked%20file%20situation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20wondered%20if%20this%20is%20due%20to%20the%20fact%20that%20two%20of%20the%20three%20sites%20I'm%20syncing%20have%20exceeded%20the%20List%20View%20Threshold.%20That%20used%20to%20just%20kill%20things%20entirely%2C%20but%20now%20OneDrive%20seems%20to%20work%2C%20and%20so%20do%20the%20sites%2C%20but%20I'm%20wondering%20if%20that%20is%20affecting%20the%20sync%20at%20all%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIncidentally%2C%20a%20few%20weeks%20ago%20I%20did%20end%20up%20having%20to%20resync%20everything%20because%20my%20One%20Drive%20kept%20crashing%20on%20a%20KernelBase.DLL%20error.%20I%20was%20finally%20able%20to%20get%20it%20to%20function%20long%20enough%20to%20try%20to%20resync%2C%20and%20it%20told%20me%20I%20was%20already%20syncing%20those%20sites%20(but%20it%20wasn't)%2C%20so%20most%20if%20not%20all%20of%20the%20registry%20settings%20were%20still%20there.%20But%20once%20I%20was%20able%20to%26nbsp%3Bstopp%20syncing%20all%20the%20sites%2C%20I%20was%20able%20to%20restart%20the%20sync.%20I'm%20not%20sure%20that%20was%20related%2C%20but%20these%20issues%20all%20started%20after%20that.%20(What%20seemed%20to%20cause%20this%20issue%20was%20one%20of%20our%20users%20dropping%20a%202.6GB%20zip%20file%20into%20a%20folder.%20I%20noticed%20the%20increased%20size%2C%20unchecked%20the%20folder%20it%20was%20in%2C%20and%20it%20seemed%20fine%20for%20a%20bit%2C%20and%20then%20the%20icon%20just%20disappeared%2C%20and%20I%20could%20never%20get%20it%20to%20restart%2C%20until%20finally%20checking%20event%20viewer%20to%20find%20the%20crash%20details.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20thing%20that%20I%20saw%2C%20and%20some%20of%20my%20co-workers%2C%20was%20a%20scenario%20where%20OneDrive%20got%20stuck%20syncing%2C%20and%20it%20showed%20remaining%20files%20of%2030-40GB%20(when%20our%20site%20is%20nowhere%20near%20that%20big).%20So%20something%20was%20messed%20up%2C%20and%20I'm%20not%20sure%20why.%20I%20haven't%20seen%20that%20since%20re-syncing%2C%20but%20now%20I'm%20experiencing%20this%20full%20sync%20issue%2C%20almost%20on%20a%20daily%20basis.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20on%20how%20to%20find%20the%20cause%20and%20fix%20it%20would%20be%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96814%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96814%22%20slang%3D%22en-US%22%3E%3CP%3ECouple%20of%20points%20(mostly%20in%20reply%20to%20OP)%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20point%26nbsp%3B-%20this%20has%20actually%20been%20a%20%22problem%22%20for%20a%20considerable%20amount%20of%20time%2C%20I%20recall%20certainly%20throughout%202016%20as%20encountering%20this%20(personal%20OneDrive%20with%26nbsp%3BiTunes%26nbsp%3Blibrary%20configuration%20stored%20there%20-%20iTunes%20causes%20a%20write%20lock%20throughout%20the%20time%20it's%20running).%20Any%20write%20lock%20will%20cause%20OneDrive%20to%20loop%20through%20looking%20for%20changed%20files%2C%20as%20it's%20reacting%20to%20writes.%20Consequently%2C%20I'm%20not%20convinced%20searching%20for%20an%20older%20client%20will%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMost%20straight-forward%20way%20to%20find%20the%20files%20is%20looking%20at%20the%20explorer%20file%20badges%3B%20folders%20and%20files%20with%20locks%20will%20constantly%20have%20the%20blue%20sync%20badge%20over%20their%20icon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESecond%20point%26nbsp%3B-%20the%20bit%20about%20destroying%20SSD%20through%20NAND%20writes%20is%20completely%20wrong.%20If%20you%20actually%20look%20at%20the%20procmon%20results%20you'll%20see%20the%20desired%20access%20for%20every%20file%20is%20Read%2FList%20%2B%20Read%20Attributes.%20Additionally%2C%20it's%20not%20hundreds%20of%20gigabytes%20worth%20of%20data%20since%20it's%20just%20scraping%20the%26nbsp%3Bproperties%20for%20the%20file%20to%20work%20out%20what's%20changed.%20You%20can%20confirm%20this%20by%20loading%20up%20Resource%20Manager%2C%20hitting%20the%20Disk%20tab%20and%20(if%20it%20even%20appears)%20selecting%20OneDrive.exe.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECPU%20nor%20disk%20performance%20never%20spirals%20out%20of%20control%2C%20so%20don't%20see%20this%20as%20being%20much%20of%20an%20operational%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96089%22%20slang%3D%22en-US%22%3ERe%3A%20Major%20Onedrive%20Business%20client%20continuous%20sync%20loop%20bug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96089%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20I'm%20seeing%20the%20exact%20same%20thing%20over%20the%20past%20few%20weeks.%20It%20appears%20to%20be%20the%20most%20recent%20version%20of%20OneDrive%20that%20was%20installed%20(17.3.6943.0625)%2C%20which%20also%20happened%20around%20the%20same%20time%20my%20laptop%20was%20forced%20to%20update%20to%20the%20Creator's%20Update.%20Randomly%20(it%20seems)%2C%20when%20I%20login%20to%20my%20computer%2C%20OneDrive%20feels%20like%20it%20needs%20to%20resync%20some%20or%20all%20of%20the%2012GB%20of%20sharepoint%20folders%20that%20I%20have%20synced.%20I%20have%203%20sites%20synced%2C%20and%20it%20doesn't%20always%20resync%20all%20of%20them%2C%20but%20usually%20at%20least%207GB%20of%20something.%20It%20is%20driving%20me%20crazy%2C%20and%20several%20other%20people%20in%20our%20office%20are%20experiencing%20it%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20did%20you%20identify%20the%20files%20that%20were%20the%20culprit%3F%20Someone%20else%20recommended%20the%20I%20tried%20the%20Support%20and%20Recovery%20Assistant%20and%20thought%20it%20was%20related%20to%20OneNote%2C%20but%20that%20tool%20found%20no%20issues%20for%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20go%20back%20to%20an%20old%20version%3F%20Is%20there%20any%20hope%20on%20the%20horizon%20for%20a%20fix%20for%20this%3F%20As%20you%20have%20said%2C%20this%20is%20not%20good%20for%20my%20SSD%20drive%2C%20and%20it's%20also%20not%20good%20for%20my%20home%2Foffice%20bandwidth%20usage.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have utilized procmon and other methods and reproduced continually to be able to confirm now that there is in fact a MAJOR bug IMO in the Onedrive new gen client that handles both personal and business (both of which I use) - currently the latest version 2016 (Build 17.3.6943.0625).

In my case, I literally BURNED OUT a newer SSD as it sat in a stuck "processing changes" sync loop - day after day, despite continually performing the canned suggestions my MS to blatently do full resets and resync the HUNDREDS OF GIGS of data and some of the other wildly severe suggestions.

Here is the major bug:  To reproduce this (there are other ways but this is just the fastest sure-fire test that I have even scripted to a simple one-liner command (NOTE: THIS COMMAND DEFAULTS TO YOUR FIRST ONEDRIVE BUSINESS ACCOUNT FOLDER - IF YOU HAVE MORE THAN ONE BUSINESS ACCOUNT DEFINED YOU MAY HAVE TO ADJUST THE COMMAND OR MANUALLY CHOOSE THE LOCATION:(

1.  Ensure Onedrive Client is running and if goal is a reproduce ensure client in sync and idle
2.  Open a Powershell session
3.  Type/Paste the following in single line:  

     Start-Transcript -Path "$(Get-ItemPropertyValue -path HKCU:\Software\Microsoft\OneDrive\Accounts\Business1 -Name 'UserFolder')\LockedFile.txt"

4.  INSTANTLY - watch the Onedrive client switch to "Processing Changes" and as bonus open procmon to verify in fact the client is now CHURNING 100% INFINITE LOOP through ALL FILES in the Onedrive structure AND all Onedrive registry keys

5.  At this point, you have TWO choices:

     a) Continue to watch the HUNDREDS OF GIGABYTES PER DAY of NAND writes as the SSD burns out after a few months

     b) Decide you are convinced of this issue, and in turn issue the following command in the same Powershell session:

     Stop-Transcript

6. (Assuming you opted for option b above) Wait literally a few seconds and watch the magic as Onedrive regains it's mind, and at the same time watch in procmon how it then CEASES all activity, goes back into an "in sync" state, and back to fully IDLE.

 

7. Remember to clean up and manually delete the "LockedFile.txt" in your Onedrive folder (I refuse to post delete commands). :)

 

Of note, this was NOT easy to track down with procmon, because as you have seen, ALL your Onedrive files keep looping and will NOT show you an indication of this issue.  It was only through HOURS of trial and error and in my case only because on only one of my machines had I just moved my PSHOME folder into Onedrive, and very ironically because specifically because it was the TRANSCRIPTS of my daily PS sessions that I wanted synced via Onedrive which of course is clear is IMPOSSIBLE until MS addresses this issue.  So, if you have other apps that are putting a hard lock on files in your Onedrive folders somewhere, you may have to do some trial and error.

MS needs to fix this.  To have a sync client that is at THIS maturity level and totally thrown into a broken fit by ONE SINGLE hard-locked file that of course will throw a SHARING VIOLATION, is utterly absurd (and bad exception handling code, IMO).

So, word to the wise - along with long paths > 255 char, zero-byte files, and about another dozen absolutely ABSURD things that basic error checking code should be catching for exceptions (these too also cause sync issues) but instead we as BUSINESS users have to manually manage (and protect against) these exceptions ourselves, now please also be sure to move ANYTHING that may use a path that will result in EVER having a SINGLE fully locked file within - OUT of the Onedrive structure completely!

Hope this helps someone else save hours of troubleshooting and that MS folks can get this issue in front of DEVs to fix soon.

 

7 Replies
Highlighted

Yes, I'm seeing the exact same thing over the past few weeks. It appears to be the most recent version of OneDrive that was installed (17.3.6943.0625), which also happened around the same time my laptop was forced to update to the Creator's Update. Randomly (it seems), when I login to my computer, OneDrive feels like it needs to resync some or all of the 12GB of sharepoint folders that I have synced. I have 3 sites synced, and it doesn't always resync all of them, but usually at least 7GB of something. It is driving me crazy, and several other people in our office are experiencing it as well.

 

How did you identify the files that were the culprit? Someone else recommended the I tried the Support and Recovery Assistant and thought it was related to OneNote, but that tool found no issues for me.

 

Is there any way to go back to an old version? Is there any hope on the horizon for a fix for this? As you have said, this is not good for my SSD drive, and it's also not good for my home/office bandwidth usage.

Highlighted

Couple of points (mostly in reply to OP):

 

First point - this has actually been a "problem" for a considerable amount of time, I recall certainly throughout 2016 as encountering this (personal OneDrive with iTunes library configuration stored there - iTunes causes a write lock throughout the time it's running). Any write lock will cause OneDrive to loop through looking for changed files, as it's reacting to writes. Consequently, I'm not convinced searching for an older client will help.

 

Most straight-forward way to find the files is looking at the explorer file badges; folders and files with locks will constantly have the blue sync badge over their icon.

 

Second point - the bit about destroying SSD through NAND writes is completely wrong. If you actually look at the procmon results you'll see the desired access for every file is Read/List + Read Attributes. Additionally, it's not hundreds of gigabytes worth of data since it's just scraping the properties for the file to work out what's changed. You can confirm this by loading up Resource Manager, hitting the Disk tab and (if it even appears) selecting OneDrive.exe.

 

CPU nor disk performance never spirals out of control, so don't see this as being much of an operational issue.

 

 

Highlighted

Interesting. I've never seen this happen until a few weeks ago, but that could certainly be due to some file locking that I"m not aware of.

 

Just a few minutes ago, as I arrived to work, and docked my laptop, and resumed from hibernation, all of a sudden, every site started syncing again, and now it's cranking through 8GB of data. This never happened before, and now it seems to be almost every day.

 

It's good to know that my SSD won't burn out, but the bandwidth issue is annoying, and so is the fact that I can't really access my files while this is happening. It is true that the CPU seems to be under control, but my fans do kick in on the laptop, and the network speed is affected...especially when this has happened to several people at our company all at once.

 

So I'm very interested to know why this is happening, whether a fix is coming, and if it is truly related to a locked file (does this mean I have locked files on EVERY site, or does one locked file cause all sites to be re-synced?), how can identify which file that is? Should I just stop syncing all sites and re-sync them again to possibly "fix" the locked file situation?

 

I also wondered if this is due to the fact that two of the three sites I'm syncing have exceeded the List View Threshold. That used to just kill things entirely, but now OneDrive seems to work, and so do the sites, but I'm wondering if that is affecting the sync at all?

 

Incidentally, a few weeks ago I did end up having to resync everything because my One Drive kept crashing on a KernelBase.DLL error. I was finally able to get it to function long enough to try to resync, and it told me I was already syncing those sites (but it wasn't), so most if not all of the registry settings were still there. But once I was able to stopp syncing all the sites, I was able to restart the sync. I'm not sure that was related, but these issues all started after that. (What seemed to cause this issue was one of our users dropping a 2.6GB zip file into a folder. I noticed the increased size, unchecked the folder it was in, and it seemed fine for a bit, and then the icon just disappeared, and I could never get it to restart, until finally checking event viewer to find the crash details.)

 

The other thing that I saw, and some of my co-workers, was a scenario where OneDrive got stuck syncing, and it showed remaining files of 30-40GB (when our site is nowhere near that big). So something was messed up, and I'm not sure why. I haven't seen that since re-syncing, but now I'm experiencing this full sync issue, almost on a daily basis.

 

Any help on how to find the cause and fix it would be appreciated.

Highlighted

 

@Luke Gatchell:
Trial and error. Searching and ordering by creation/modified date and working backwards. It sucks as now I have to do it again today as it started again and hopefully is just some simple zero byte file, long path length, etc.


@Chris Moore:

"Most straight-forward way to find the files is looking at the explorer file badges; folders and files with locks will constantly have the blue sync badge over their icon."

 

This is ludicrious. So much so, that I won't even go on to ask if before you so dangerously stated that "you do not see this as an operational issue", if you have actually DONE ANYTHING on this? Can you provide the research and logs, or are you just here to troll?

 

I clock this at generating HUNDREDS OF GIGS PER DAY of nand writes due to this behavior - do you know how to operate calc.exe to do that math over even a year? Show me a single recent SSD that can handle that many writes.......they can't and again unlike you I actually DO have dead SSDs to prove this.

I am also well aware that this has been an issue for "some time" as I'm approaching my 30yrs in this business and have literally used Onedrive since it was in limited internal MS testing as Skydrive (for personal), live mesh (before they bought it), and blended it with Sharepoint to make this latest client. It's a mish-mosh, hodge-podge of code from three major sources that makes this latest "next gen" sync client.

 

Now, with all that said, since I've also been doing development for three decades let me ask, who has the excuse of why this client has been not in alpha or beta, but now in production desktop environments for YEARS yet can't handle the most BASIC of things like zero byte files and simple friggin PATH LENGTH ONE LINE OF CODE tests that I was writing in assembly 30 yrs ago?!?!? What's the excuse as to why, even today in 2017, I literally AGAIN am watching this "next gen" client cycle infinitely on my SSD undoubtedly because of a single zero byte file or long path I need to hunt down, yet STILL CANNOT GET a single simple verbose LOG FILE out of this client indicating WHAT FILE OR FOLDER is even a problem?

 

.....And if you knew ANYTHING about this client you would know that if you can make it past the ~11 (also horrible coding) hard-coded OS limit in 2017 for simple shell icon overlays, to even SHOW the Onedrive sync icon overlays, you would be well aware that they are HORRIBLY inaccurate at times and in this bug case, can show HUNDREDS of files not sync'd.......know why? Because of the ONE issue preventing it from continuing - yet unlike the cases where it DOES pop up with illegal filename, sharing issues, etc., in this bug case it NEVER INDICATES A SINGLE ISSUE (along with no log), and you can prove all of this in 2 seconds with procmon (MS own tool now since they bought Russinovich) and watch all of this (I think I even already provided a real life video showing it) as it loops through in my case the HUNDREDS OF GIGS in my Ondrive Business structure......and I have yet to find any line/event to easily target the issues and wind up wasting HOURS each time. Last time it was a simple Powershell lock on transcripts that anyone can prove this bug in 2 minutes just by opening a PS transcript anywhere in the Onedrive structure and boom sync loop bug and then leave it on for a year and call me and let me know how that SSD is doing. :)

 

Sorry but this trolling is absurd when I've even shot VIDEOS of this issue when idiots show up just like if I passed a FATAL car accident on the freeway, rolled my window down, and said to the family of the deceased "this accident is really not a big operational problem in your life", LOL.

 

I have 155 files right now not syncing because of this issue right now, so you want to tell me again it's "not really an operational issue"? LOL. It really, really, is exactly that - a BIG operational issue that MS should be embarrassed of with this client maturity level and should get on it to eradicate such basic sync problems like this before it bites their paying corporate customers (like me) before they get tired of waiting and just move to a competitor for basic cloud syncing.

 

I mean, I've been developing for 3 decades, so seriously if MS can't afford friggin putting developers on major basic issues like this that again if I were them would be EMBRARRASED of and would want to squash immediately, then release the source code and I bet between me and the rest of the developers out here using their product daily with skin in the game that we could have this issue eradicated tested and rolled out quickly.

 

Highlighted

Have similar issues as well with one of our OneDrive for Business users.

 

I can also reproduce the problem with Start-Transcript, even on current OneDrive client version 17.3.7074.1023

Highlighted

Has Microsoft fixed the issue or is this the pattern you refer to?

 

I try reproducing it:

Start-Transcript -Path "C:\Users\myUsername\OneDrive - myCompany\test\LockedFile.txt"

Now the status of LockedFile.txt is Syncing (overlay icon is blue circular arrows). (Astonishingly the status of the folder test and the top folder OneDrive – myCompany both is UpToDate (green overlay icon) – so without drilling into the structure you never know whether UpToDate (green) is really UpToDate (green)? For me this is a bug.) 

 

Process Explorer now indicates that OneDrive.exe consumes between 3% and 7% of the CPU on my old 2 core machine (i5-2520M@2.5GHz, 8 GB RAM) running Windows 7 SP1. When I also start Process Monitor, the CPU consumption of OneDrive.exe indicated by Process Explorer goes up to something between 8% and 10% (reminds me of Heisenberg's uncertainty principle in quantum mechanics – comprehensive measuring is affecting). Indeed OneDrive.exe is one of the top event contributors in Process Monitor. The vast majority of these operations are Registry operations, most of them reads. The file system operations of OneDrive.exe are much less. WriteFile operations are between 10 and 30 per second and even less CreateFile and CloseFile operations. The WriteFile operations basically are logging to C:\Users\myUsername\AppData\Local\Microsoft\OneDrive\logs\Business1\SyncEngine-2018-3-1.332.20180.57.aodl . CreateFile and CloseFile operations are performed on LockedFile.txt and the two folders above, but on no other files in the OneDrive for Business structure.

 

Collin, is that your error pattern? Or what exactly do you see when you "watch the HUNDREDS OF GIGABYTES PER DAY of NAND writes"?

 

I feel either Microsoft fixed the issue in the meantime – I am on version 18.25.204.7 – or this is not really an issue.

 

Also a zero byte file does not create any issue.

 

Are there other issues around with the Next-gen Sync Client?

Highlighted

@p.schaefer You are correct on the registry, however no this is not resolved and the NAND writes the few above have argued with they clearly did not launch procmon to watch it continually both read and ultimately cause unneeded SSD NAND writes (in a loop - FOREVER) until you (through trial and error because Onedrive isn't (still) intelligent enough to actually indicate just which file(s) are currently making it lose it's mind and barf on my CPU. :)

 

Sorry but as a paying customer of both Onedrive and Onedrive for business, I should be able to expect a sync app that at the very least will tell me if it's having trouble with one or more pieces of my data - and currently (06-30-2018) even the much improved client still does not.  I write code (and have for > 30 yrs) so why on earth the try/catch blocks they have in place can't manage to break the client out of a loop when it hits a file it cannot sync, even with # of retries, and either log it and/or report it to the user - is totally without excuse IMO.