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

duplicacy command startup is extremely slow, does it do some network connection check? #658

Open
realzhang opened this issue Oct 12, 2023 · 2 comments

Comments

@realzhang
Copy link

realzhang commented Oct 12, 2023

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.

@realzhang realzhang changed the title duplicacy command startup is extreamly slow duplicacy command startup is extremely slow, does it do some network connection check? Oct 12, 2023
@sw684
Copy link

sw684 commented Jul 7, 2024

Experiencing this issue as well on Debian 12, takes exactly 2 minutes to start

@realzhang
Copy link
Author

any help?

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

2 participants