Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not handle named pipes; error causes status display to stop #14

Open
idallen opened this issue Nov 22, 2022 · 0 comments
Open

does not handle named pipes; error causes status display to stop #14

idallen opened this issue Nov 22, 2022 · 0 comments

Comments

@idallen
Copy link

idallen commented Nov 22, 2022

I was copying a TB or two of data and it choked on a "named pipe" file, issued an error message, and after that the status display only incremented the Elapsed time field and none of the other fields. The copy operation appears to be continuing but the status display is not being updated. The iotop command suggests the disk copy speeds have dropped to a few MB/sec, down from several hundred MB/sec to start. The data includes a large number of small files, which can slow things down, and atop says the source md0 disk array is at busy 101% for read operations.

Also: I note that the error message does not include the name of the program issuing it. We sysadmin hate tracking down that sort of unidentified error message in our log files and cron jobs. Please consider adding argv[0] to the start of all program messages.

# wcp /mnt/disk1raid5/3tbA/. /mnt/3tbA

Unhandled file type: "/mnt/disk1raid5/3tbA/./foo": 1                     Calculating, found: 230.02 GiB                         
 Elapsed: 9m43s                  32.79 GiB / ???            0.00 B/s   ETA: ??? 
                         Calculating, found: 237.91 GiB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant