Very Minor bug: Failed to rename 'log.txt'

Moderators: Site Moderators, FAHC Science Team

Post Reply
arachnaut
Posts: 1
Joined: Mon Apr 27, 2020 3:18 pm
Hardware configuration: Windows 10 Pro version 1903 (OS Build 18362.535)
CPU: Core i9-9900K 5.1GHz
MB: ASUS Maximus XI Hero (Wi-Fi)
Memory: 32 GB G.Skill TridentZ 4000Mhz (4x F4-4000C18-8GTZKW)
Boot SSD - Intel Optane 905P 960 GB
Data SSD - Samsung 970 EVO 2 TB
Hard drives - two Seagate Barracuda Pro 8TB each
ASUS ROG STRIX GeForce GTX 1080 TI 11GB
ASUS ROG Swift PG348Q 3440x1440 monitor
Corsair AX1600i power supply
Cooler Master MasterLiquid ML360R radiator + several auxiliary fans
Location: Sunnyvale, CA USA

Very Minor bug: Failed to rename 'log.txt'

Post by arachnaut »

Using version 7.6.9 and see a few nits like this in the Windows 10 Application Error log:

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-131910.txt': The process cannot access the file because it is being used by another process.

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-131911.txt': The process cannot access the file because it is being used by another process.

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-132012.txt': The process cannot access the file because it is being used by another process.
---
Jim Hurley
muziqaz
Posts: 905
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 7950x3D, 5950x, 5800x3D, 3900x
7900xtx, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Very Minor bug: Failed to rename 'log.txt'

Post by muziqaz »

These appear during the WU clean up process. WU is still being sent (or failing to be sent), and fahclient is trying to clean up the slot, and since WU files are attempting to upload, they are still in use.
This happens very often when you delete the slot in the middle of the running WU, and create new slot next to it. Fahclient just tries to clean deleted slot data, but it is still attempting to send the data to overloaded servers, thus cannot delete file which is being used.
Eventually that all clears up :)
FAH Beta tester
Joe_H
Site Admin
Posts: 7871
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Very Minor bug: Failed to rename 'log.txt'

Post by Joe_H »

Do you have an anti-virus or anti-malware application running on the system? These errors may be from the file being locked by being accessed from such software. If you running these, we recommend excluding the data directory from scans.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply