SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
avoid fatal error if port is already in use
chrisluef6c6c450e1e
diff --git a/weed/util/net_timeout.go b/weed/util/net_timeout.goindex 21aab30f87..536359eec9 100644--- a/weed/util/net_timeout.go+++ b/weed/util/net_timeout.go@@ -1,6 +1,7 @@package utilimport (+ "github.com/chrislusf/seaweedfs/weed/glog""net""time"@@ -112,7 +113,8 @@ func NewIpAndLocalListeners(host string, port int, timeout time.Duration) (ipLisif host != "localhost" && host != "" && host != "0.0.0.0" && host != "127.0.0.1" && host != "[::]" && host != "[::1]" {listner, err = net.Listen("tcp", JoinHostPort("localhost", port))if err != nil {- return+ glog.V(0).Infof("skip starting on %s:%d: %v", host, port, err)+ return ipListner, nil, nil}localListener = &Listener{