Hi guys Im trying to self host the data-plane usin...
# support
w
Hi guys Im trying to self host the data-plane using the helm chart, it seemingly works forever until enough volume reaches it, then the data-plane stops responding giving socket hang up. I noticed it spitting out influxdb errors so, the only change i made to the values file is setting the telegraf_sidecar: enabled to false, and also the workspace token ofc I attached some logs hope they help. Tyvm for any help, and sorry for the inconvenience, its prolly some simple mistake on my part 😅
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.
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
w
So I tried port forwarding like you asked and running the command you gave me just gives back an error
Copy code
PS C:\Users\nj> go tool pprof -http=":8081"  http://localhost:7777/debug/pprof/heap
Fetching profile over HTTP from http://localhost:7777/debug/pprof/heap
http://localhost:7777/debug/pprof/heap: server response: 404 Not Found
failed to fetch any source profiles
I did notice however that all events and the health endpoint work when I try to use the port forwarded host. It looks like everything works as it should. So it's prolly a problem on my end and nothing to do with rudder-server 😄
h
Can you check what’s the version of rudder-server you are running ?
w
1.4.3 I think
or rudderstack-0.6.0 dont know which one you need 😄
h
Can you send me the output of
<dataplaneUrl>/version
?
w
Copy code
{
  "BuildDate": "2024-01-18,07:20:36",
  "BuiltBy": "25be168c4d7c55be1a503bafc5a187eed52b7ff7",
  "Commit": "25be168c4d7c55be1a503bafc5a187eed52b7ff7",
  "Features": [
    "gzip-req-payload"
  ],
  "GitUrl": "",
  "Major": "",
  "Minor": "",
  "Patch": "",
  "TransformerVersion": "1.48.0-amd64",
  "Version": "1.19.2"
}
h
Do you have any idea as to whats taking up most of the volume ?
w
Give me a sec, tyvm for your help 😄
Do you mean inside the data-plane pod? if so:
Copy code
/ # find . -mindepth 1 -maxdepth 1 -type d -exec du -sh {} + | sort -hr | head -n 10
34.2M   ./usr
5.6M    ./lib
1.5M    ./bin
1.2M    ./etc
76.0K   ./sbin
72.0K   ./var
24.0K   ./run
24.0K   ./data
16.0K   ./root
16.0K   ./media
h
I probably didn’t understand but what did you mean when you mentioned in your query Untill enough volume reaches it?
w
Sorry I meant like enough events, like it would run seemingly forever untill I pointed our prod events to the data-plane then it would go down after a little while
So my assumption is it dies after some amount of events
h
When you say dies you mean it starts crashing.. or it just stops responding? Did you observe any abnormal cpu or memory consumption?
w
Sorry for being so vague, I mean when I try to reach the external ip it spawns it will stop responding suddenly giving a socket hangup error, but I cant see anything else wrong with it, port forwarding directly to the pod allows me to reach it.
I didnt see any spikes of any kinda, usage of course goes down after requests stop reaching it
m
Hi Nicolaj is your issue resolved?