You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should implement a way to write current heap dump to a file when process receives a special SIGNAL.
Such a thing can slow down the ruby process (not altogether unexpected), for first iteration we can keep it in same thread/process as main application but later on perhaps worth exploring forking a process for writing the dump file.
The text was updated successfully, but these errors were encountered:
basically, what I am thinking is - you can take a offline dump (assuming was started with profiling enabled) by sending a signal to the process. and then SCP the dump and analyze the dump for possible leaks etc.
It is useful in scenarios where client lets say does not want us to connect to the process via zeromq online but he can still create a memory dump which we can use to analyze the leak etc.
We should implement a way to write current heap dump to a file when process receives a special SIGNAL.
Such a thing can slow down the ruby process (not altogether unexpected), for first iteration we can keep it in same thread/process as main application but later on perhaps worth exploring forking a process for writing the dump file.
The text was updated successfully, but these errors were encountered: