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
GOMAXPROCS use defaults to the value of runtime.NumCPU
Konstantin Lebedev9ce82a9cd288
diff --git a/weed/command/master.go b/weed/command/master.goindex 82e33bae1a..0f5e2156dc 100644--- a/weed/command/master.go+++ b/weed/command/master.go@@ -6,7 +6,6 @@ import ("google.golang.org/grpc/reflection""net/http""os"- "runtime""sort""strconv""strings"@@ -86,7 +85,6 @@ func runMaster(cmd *Command, args []string) bool {util.LoadConfiguration("security", false)util.LoadConfiguration("master", false)- runtime.GOMAXPROCS(runtime.NumCPU())grace.SetupProfiling(*masterCpuProfile, *masterMemProfile)parent, _ := util.FullPath(*m.metaFolder).DirAndName()diff --git a/weed/command/server.go b/weed/command/server.goindex 7b184a3294..aef61a93c9 100644--- a/weed/command/server.go+++ b/weed/command/server.go@@ -3,7 +3,6 @@ package commandimport ("fmt""os"- "runtime""runtime/pprof""strings""time"@@ -192,7 +191,6 @@ func runServer(cmd *Command, args []string) bool {webdavOptions.filer = &filerAddressmsgBrokerOptions.filer = &filerAddress- runtime.GOMAXPROCS(runtime.NumCPU())go stats_collect.StartMetricsServer(*serverMetricsHttpPort)folders := strings.Split(*volumeDataFolders, ",")diff --git a/weed/command/volume.go b/weed/command/volume.goindex 7fd31665f1..b75af0f716 100644--- a/weed/command/volume.go+++ b/weed/command/volume.go@@ -6,7 +6,6 @@ import ("net/http"httppprof "net/http/pprof""os"- "runtime""runtime/pprof""strconv""strings"@@ -111,8 +110,6 @@ func runVolume(cmd *Command, args []string) bool {util.LoadConfiguration("security", false)- runtime.GOMAXPROCS(runtime.NumCPU())-// If --pprof is set we assume the caller wants to be able to collect// cpu and memory profiles via go tool pprofif !*v.pprof {