Linux often crashes, what should I do if it gets stuck?

If the Linux operating system server crashes or freezes, you can refer to the following items for overall troubleshooting:
a. Check whether the server process or service takes up too much memory or does not release the memory. When the server memory is used up, it will go down soon;
b. Check if there is cron (scheduled task, automatic task) in your /var/spool/cron to execute in the corresponding time period;
c. Check whether the parameters of the web server exceed the performance of the server, such as the maximum number of connections allowed is too high.