-
Notifications
You must be signed in to change notification settings - Fork 340
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
duplicacy command startup is extremely slow, does it do some network connection check? #658
Comments
Experiencing this issue as well on Debian 12, takes exactly 2 minutes to start |
any help? |
@realzhang @sw684 I created a Debian 12 VM and can't reproduce this, even with networking disabled. If you are still having the problem and don't mind a little work, run the following and attach the output:
If When you are done, you can remove |
strace.log |
@realzhang I should have also asked initially, but please comment with the output of Also, please try running it with the following command (for testing purposes only, if this happens to work, performance would be very degraded, it's just a data point): |
The output of
|
@realzhang Interesting. You have a very high core count. Unfortunately I don't have a 256 core machine laying around, but I'll see if When you ran |
I hit Ctrl+C to interrupt |
Just type the duplicacy command and press enter (to print out the help info), the comman will take about 3 min to show the help info.
I've tried the precompiled bin and the binary file compiled from downloaed source. Both are very slow.
I do not understand why, but it seems that duplicacy does some network connection which last about 2 min.
OS is almalinux with kernel 5.4.17-2136.307.3.1.el8uek.x86_64 GNU/Linux
~ time ./duplicacy_linux_x64_3.2.3 -h
NAME:
duplicacy - A new generation cloud backup tool based on lock-free deduplication
USAGE:
duplicacy [global options] command [command options] [arguments...]
VERSION:
3.2.3 (254953)
COMMANDS:
init Initialize the storage if necessary and the current directory as the repository
backup Save a snapshot of the repository to the storage
restore Restore the repository to a previously saved snapshot
list List snapshots
check Check the integrity of snapshots
cat Print to stdout the specified file, or the snapshot content if no file is specified
diff Compare two snapshots or two revisions of a file
history Show the history of a file
prune Prune snapshots by revision, tag, or retention policy
password Change the storage password
add Add an additional storage to be used for the existing repository
set Change the options for the default or specified storage
copy Copy snapshots between compatible storages
info Show the information about the specified storage
benchmark Run a set of benchmarks to test download and upload speeds
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
-verbose, -v show more detailed information
-debug, -d show even more detailed information, useful for debugging
-log enable log-style output
-stack print the stack trace when an error occurs
-no-script do not run script before or after command execution
-background read passwords, tokens, or keys only from keychain/keyring or env
-profile address:port enable the profiling tool and listen on the specified address:port
-comment add a comment to identify the process
-suppress, -s [+] suppress logs with the specified id
-print-memory-usage print memory usage every second
-help, -h show help
./duplicacy_linux_x64_3.2.3 -h 0.04s user 0.04s system 0% cpu 2:00.15 total
Please help, Thanks.
The text was updated successfully, but these errors were encountered: