Hi everyone, hope you all are doing good. I'm fac...
# support
h
Hi everyone, hope you all are doing good. I'm facing an issue that my rudderstack server memory usage keeps increasing. I checked the article "https://www.rudderstack.com/docs/user-guides/administrators-guide/admin-troubleshooting-guide/#the-memory-usage-keeps-increasing-what-should-i-do" and noticed that I need to add "sessionThreshold" and "sessionEvents" into the config.yml file. I have added both settings but when I try to build it using the dockerfile, the backend server does not connect to the database and I get empty reply from server. ques1: Am I correctly adding these 2 options? Please see the attached picture ques2: Do I need to configure anything else in order to build the backend server? Thank you
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Bilal are you using a self-hosted data-plane?
Also what version of the server are you using?
h
Hi @shy-kite-21035. Yes, I am using self hosted plane and not sure of the server version. I cloned the github repo and made changes in the config file and build the image using the dockerfile
s
cc @helpful-island-54641
h
Can you port-forward your rudder-server on 7777 and run
Copy code
go tool pprof -http=":8081"  http://localhost:7777/debug/pprof/heap
Wanted to check the memory profile of your server
Also is this happening due to a recent change in version or has been happening since the inception ?
You can create an issue here which can be better tracked by the team
g
@helpful-greece-48716 A1: Yes, that is the correct file you're making changes in A2: There are 3 ways to setup the backend server (docker, kubernetes, local). Follow all the instructions provided on docs for your choice of method.