minio icon indicating copy to clipboard operation
minio copied to clipboard

I/O timeout error

Open tnagyce opened this issue 8 years ago • 3 comments

Hi,

I'm getting an I/O timeout sometimes when I try to sync with restic:

Fatal: unable to open config file: Stat: Get https://1.2.3.4:1/bucket/?location=: dial tcp 1.2.3.4:1: i/o timeout
Is there a repository at the following location?
s3:https://1.2.3.4:1/bucket

I have the latest version from minio that I've pulled yesterday with docker:

VERSION
2018-05-11T00:29:24Z
MEMORY
Used: 5.4 MB | Allocated: 1.2 GB | Used-Heap: 5.4 MB | Allocated-Heap: 19 MB
PLATFORM
Host: 91bf281e1d83 | OS: linux | Arch: amd64
RUNTIME
Version: go1.10.1 | CPUs: 2

I have a dynamic IP address with no-ip domain, although it seems stable enough, the response is around 25ms.

PING ****.noip.me (1.2.3.4) 56(84) bytes of data.
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=1 ttl=58 time=25.3 ms
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=2 ttl=58 time=25.0 ms
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=3 ttl=58 time=24.4 ms
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=4 ttl=58 time=26.4 ms
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=5 ttl=58 time=25.2 ms
64 bytes from ****.dsl.pool.telekom.hu (1.2.3.4): icmp_seq=6 ttl=58 time=23.5 ms

I'm running the minio server with the following command:

docker run -d --restart=unless-stopped -p 9901:9000 --name minio \
  -e "MINIO_ACCESS_KEY=****" \
  -e "MINIO_SECRET_KEY=****" \
  -v /path/to/minio/data:/data \
  -v /path/to/minio/config:/root/.minio \
  minio/minio server /data

The data and config folders are in an encryptfs folder on an hdd.

The read/write speeds on the drive are the following:

hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   1326 MB in  2.00 seconds = 663.39 MB/sec
 Timing buffered disk reads: 368 MB in  3.00 seconds = 122.66 MB/sec
dd if=/dev/zero of=/mnt/storage/out bs=8k count=100k; rm -f /mnt/storage/out
102400+0 records in
102400+0 records out
838860800 bytes (839 MB, 800 MiB) copied, 4.91023 s, 171 MB/s

And my internet speed is 50Mbit/s down and 10Mbit/s up.

tnagyce avatar May 14 '18 21:05 tnagyce

@tamas-nagy-px are you sure this is not a network problem on your side ?

I can test on my side if you are still seeing this.

vadmeste avatar Oct 24 '18 21:10 vadmeste

Closing for non response, please free to open again if you need it @tamas-nagy-px

vadmeste avatar Dec 17 '18 15:12 vadmeste

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Apr 19 '20 07:04 lock[bot]