After my experience this is caused by a loopback in the network.
This is not necessarily because of the switch, but can be caused by a bad cable or a bad device plugged into the switch.
This is an unmanaged switch that means you can not configure it. It will learn the ip/mac addresses on the network by itself.
The loops in the network are most often caused by hubs (you just want to get rid of those). What a hub does, it sends all of the data it receives on one port to all other ports. If you connect two ports on a hub together, there will be an infinite loop and I saw this bring down even huge networks.
You should troubleshoot the devices. It might be caused by the switch, it might be caused by a bad cable, and might be caused by any devices connected to the switch.
I forgot to mention that I replaced an old switch, with the new one. When I put the old one again the problem solved. Is this means that the cables are fine and the switch has the problem? – yaylitzis – 2016-04-18T08:26:04.490
@yaylitzis - no, you can not be 100% sure. It is possible that the old one can shut down ports if it recognizes a looping issue, or it might have a better processor that can handle it better but will also cause latency in the network. If only the switch is connected to the network and you experience the issue, you can be sure that it is causing the problem. When you experience the lag, unplug cables one by one and check if it is gone. This is the only way you can narrow down the possibilities to find out what causes the problem. – Divin3 – 2016-04-18T09:20:33.447