Tyler Carroll

Results comments of Tyler Carroll

I am also hitting this on version `3006.12` and `3007.6`. After a few days all of my top memory using processes are `ReqServer MWorker-` and systems are running out of...

I updated to the `3007.8` patch as well as the latest `msgpack` and `tornado` and I'm still seeing the leak: ``` Salt Version: Salt: 3007.8 Python Version: Python: 3.9.21 (main,...

Quick update, running the following command on the master was enough to grow the memory of the `ReqServer MWorker-` processes: ``` while true; do salt '*' saltutil.sync_all; done ```

@OrangeDog are you also using `tcp` for your transport?

If any saltstack maintainers have any tips on how to integrate `tracemalloc` into the codebase to track memory leaks then that would be greatly helpful since I can easily reproduce...

I used `tracemalloc` to track the source of the memory leak to local `salt.utils.msgpack.Unpacker()` objects which were being preserved in the exception stack in `salt/transport/tcp.py` in the `handle_stream` method of...

@OrangeDog yes I do. Here is the diff I used to integrate `tracemalloc` into the `ReqServer MWorker-` process. Note that this diff was created off of salt version `3007.8`: ```...

> > and the recommended method in the msgpack documentation to clear the unpacker object buffer. > > [@tcarroll25](https://github.com/tcarroll25) I could not find in the msgpack documentation where this is...

I recommend trying my fix from this comment: https://github.com/saltstack/salt/issues/67931#issuecomment-3369731255 @OrangeDog I know you are using zeromq but @dwoz mentioned that `tcp.py` is still used when using `zeromq`: > > No....

> [@tcarroll25](https://github.com/tcarroll25) yes, I know. We've been through that, and your leak was not the same as mine, which is what this issue was opened for. @OrangeDog sounds good, just...