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
fix volume server pprof
Chris Lub9365de47b04
diff --git a/weed/command/server.go b/weed/command/server.goindex da74f47603..0af583a7f2 100644--- a/weed/command/server.go+++ b/weed/command/server.go@@ -63,6 +63,8 @@ var (isStartingMsgBroker = cmdServer.Flag.Bool("msgBroker", false, "whether to start message broker")serverWhiteList []string++ False = false)func init() {@@ -95,6 +97,7 @@ func init() {serverOptions.v.compactionMBPerSecond = cmdServer.Flag.Int("volume.compactionMBps", 0, "limit compaction speed in mega bytes per second")serverOptions.v.fileSizeLimitMB = cmdServer.Flag.Int("volume.fileSizeLimitMB", 256, "limit file size to avoid out of memory")serverOptions.v.publicUrl = cmdServer.Flag.String("volume.publicUrl", "", "publicly accessible address")+ serverOptions.v.pprof = &Falses3Options.port = cmdServer.Flag.Int("s3.port", 8333, "s3 server http listen port")s3Options.domainName = cmdServer.Flag.String("s3.domainName", "", "suffix of the host name, {bucket}.{domainName}")diff --git a/weed/command/volume.go b/weed/command/volume.goindex 31f068f0a3..d0fdd2ed19 100644--- a/weed/command/volume.go+++ b/weed/command/volume.go@@ -11,10 +11,11 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/util/grace""github.com/spf13/viper""google.golang.org/grpc"+ "github.com/chrislusf/seaweedfs/weed/util/grace"+"github.com/chrislusf/seaweedfs/weed/pb""github.com/chrislusf/seaweedfs/weed/security""github.com/chrislusf/seaweedfs/weed/util/httpdown"@@ -33,15 +34,14 @@ var ()type VolumeServerOptions struct {- port *int- publicPort *int- folders []string- folderMaxLimits []int- ip *string- publicUrl *string- bindIp *string- masters *string- // pulseSeconds *int+ port *int+ publicPort *int+ folders []string+ folderMaxLimits []int+ ip *string+ publicUrl *string+ bindIp *string+ masters *stringidleConnectionTimeout *intdataCenter *stringrack *string@@ -55,6 +55,7 @@ type VolumeServerOptions struct {fileSizeLimitMB *intminFreeSpacePercent []float32pprof *bool+ // pulseSeconds *int}func init() {