This repository was archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 764
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
[bugfix] Dragonfly bind an already in used port make dfdaemon.log file size huge #364
Copy link
Copy link
Closed
Labels
Description
Ⅰ. Issue Description
Dragonfly bind an already in used port make dfdaemon.log file size huge
Ⅱ. Describe what happened
Dragonfly bind an already in used port make dfdaemon.log file size huge, and dragonfly write into dfdaemon.log file frequently, below is the log content:
time="2019-01-28 12:27:00" level=info msg="start dfdaemon param:&{DfPath:/software/servers/df-client/dfget DFRepo:/data/dragonfly/.small-dragonfly/dfdaemon/data/ RateLimit:1000M CallSystem:com_ops_dragonfly URLFilter:Signature&Expires&OSSAccessKeyId Notbs:true MaxProcs:4 Version:false Verbose:false Help:false HostIP:127.0.0.1 Port:65001 Registry:http://repo.image.local DownRule: CertFile: KeyFile:}"
time="2019-01-28 12:27:00" level=fatal msg="listen tcp :65001: bind: address already in use"
time="2019-01-28 12:27:00" level=info msg=init...
time="2019-01-28 12:27:00" level=info msg="dfget version:0.2.0\n"
time="2019-01-28 12:27:00" level=info msg="init finish"
time="2019-01-28 12:27:00" level=info msg="start dfdaemon param:&{DfPath:/software/servers/df-client/dfget DFRepo:/data/dragonfly/.small-dragonfly/dfdaemon/data/ RateLimit:1000M CallSystem:com_ops_dragonfly URLFilter:Signature&Expires&OSS
But there is another confused thing is that dragonfly actually already bind on port 65001, but it still output the message time="2019-01-28 12:27:00" level=fatal msg="listen tcp :65001: bind: address already in use"
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
- dragonfly version: 0.2.1
- OS (e.g. from /etc/os-release):
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
- Kernel (e.g.
uname -a):
Linux ******* 3.10.0-693.5.2.1.el7.x86_64 Add a Gitter chat badge to README.md #1 SMP Thu Aug 23 15:56:23 CST 2018 x86_64 x86_64 x86_64 GNU/Linux - Install tools:
- Others:
/cc @allencloud
earthdiaosi

