consistent 2 second link downs on hEX

I have 19 pppoe clients connected to port 2-5 in hEX, I recently changed the default queue type to fq-codel and updated into v7.19.1 stable. Now I am consistently having 2 second link downs every 5-20mins and I can’t determine what exactly the cause is. Link down only appears to port 3 at first (connected to a non-gigabit switch hub) but after disconnecting this, the link downs are now in port 4 (connected to a non-gigabit fiber switch). Port 2 which is connected to a gigabit fiber switch where most of the clients are connected is doing fine with no link downs at all. My CPU usage does not go over 50% and only averages around 20%. I also plugged it into a UPS so power is not the issue. Also, under each port I made a simple queue which are the parent queues of the pppoe queues. Thats about it. Please help me in resolving this issue, Thanks

One of the common recommendations (not limited to Mikrotik devices and Ros) is to never change two things at the same time, particularly in production.

If I were you I would first try changing back the queue type to what it was before.
If this does not resolve the problem, downgrade the Ros version to what you had before.
This should put you in exactly the same situation you had before without the link downs. Then try changing again the queue type to fq-codel and see what happens.

With this procedure it should become clearer if the issue is originated by:
a) queue type
b) Ros version
c) a combination of the two above
d) something else

or change ONLY one and see how it performs for a week

yup, try in LAB/sandbox first - all good
next apply to one in situ and observe for one week.

how do I try it in sandbox/lab?

What devices are on the other sides of connections? Does anything change there?
What if you replace non-gigabit switch with gigabit one? Why non-gigabit one as it slows down everything to 100mb max?

only small routers, if ill replace it i have to replace media converters also (expensive option). My ISP is Starlink, it doesnt reach more than 200mbps so i used non-gigabit at first

USE GNS3 or EVE-NG