Hello
please read pinned posts they say provide a logfile
https://obsproject.com/forum/threads/please-post-a-log-with-your-issue-heres-how.23074/
Please try to include a recording/streaming session when you experience problems while streaming or recording,
as OBS only writes important performance data during recording or streaming sessions.
If you have solved your problem yourself, please let the others know how you did it If someone else has the same problem,
he will find your post, read it through, is no step closer to solving it, and has wasted some time.