I am using Embedded Weaviate (version 1.21), via python client on a shared machine. When running Weaviate in embedded mode, it listens to a number of ports. One of them is port 6060, which is apparently used for Go profiling. I don’t need to do profiling and it is problematic if multiple instance of Weaviate are running
Is it possible to disable Go profiling or assign a different port number than 6060?
Hi @AN_Colab !! Welcome to our community!!
You can pass some parameters to Weaviate EmbeddedOptions:
from weaviate import EmbeddedOptions
client = weaviate.Client(
But please, bear in mind that Weaviate Embedded is marked as experimental, and should not be used in production.
Let me know if that helps
Thank you !
I am indeed using the way you suggested to pass parameter.
Unfortunately, I couldn’t figure out the parameter to change port 6060.
port parameter changes the HTTP port, also there is a parameter to change the GRPC port, but there is nothing to to change this profiling port (or to disable profiling).
Oh, I see. I don’t think this is possible with the embedded option as you have limited options when starting an Embedded Weaviate instance.
I believe docker compose is the best option here, as you will be able to have a better control on port mappings.