AMD Ryzen 7 1700 crashing after 4 days. Need help.

Have been testing for about 2 weeks and failing everytime. Need help on what to do next.

Hardware.

Motherboard: Gigabyte GA-AM350M-D3H

GA-AB350M-D3H (rev. 1.0) | Motherboard - GIGABYTE

Latest bios: F5a

Four sticks of 8GB Crucial ram totalling to 32GB

CPU: AMD Ryzen 7 1700 Eight-Core Processor

Serial number: 9R79037R70266

 

Software.

OS: CentOS Linux release 7.4.1708 (Core) Minimal Server install

Running the latest kernel 4.13.5-1.el7.elrepo.x86_64

 

Just running the application "top" to see the processes.

After running for 4 days it crashes.

Changed the power supply but no improvement. It still crashes.

Upgraded the bios but no improvement. It still crashes.

Upgraded the kernel but no improvement. It still crashes.

 

The last crash had the following text on the screen.

"watchdog: BUG: soft lockup - CPU#12 stuck for 22s! [pool: 20286]"

 

Need advice on what else I can try. Please advice.

 

P.V.Anthony