السي بانال CPanel حل مشكلة امتلاء مساحة Swap Used 100%
cPanel - Swap Used 100% - 100% of SWAP used, MySQL is cause
Server Status Says Swap Used 92%



المشكلة :

بعد مرور شهر على السيرفر تجد ان Swap Used 100% ويحدث بطىء فى الغالب

وهو عبارة عن رام اضافية بجانب الرام الاساسية تستغل فى حالة ان الرام الاساسية لا تكفى

موارد السيرفر لذلك تاخذ من رام الهارد مساحة تستخدم للكاش المؤقت.
Swap space is the disk space that is set aside for virtual memory. Is apache and named running in the server?

This means that you don't have enough memory on the system for everything that's running. Swap is extra memory that you can use when your allocation of physical memory (RAM) is used up. It's allocated on the hard disk so is much slower, and will seriously impact system performance. For this reason, you should have enough RAM that you don't need to use swap under normal operating conditions, it's really for those usage spikes that happen occasionally. (You don't say what kind of hosting you have but if you are sharing the system with other people then your swapping is bad for everyone and your host might start getting cross).

If your swap is at 100% then you have used up all your main memory (the RAM) and then used up all the swap too. After that the system can't allocate any more, which is why your site won't load. You need to either get a lot more RAM (sounds like you need what you have now, plus what you have in swap, plus some more) or seriously cut back on what you're running. CPanel uses a lot of memory, as does apache by default. If you're not sure what you're doing you can probably hire somebody to take a look at it.

حل المشكلة :



قم بعمل ريستارت restarting MySQL

Home »Restart Services »SQL Server (MySQL)
وهيتم حل المشكلة
كيف يتم حل المشكلة نهائيا ؟ حيث بعد مرور شهر هيحدث امتلاء مرة اخري
لذلك يجب البحث عن السبب فى SQL Server المسبب لذلك
وهيتم شرحها فى موضوع اخر لاحقا
المرجع:
https://www.webhostingtalk.com/showthread.php?t=709747
https://forums.cpanel.net/threads/sw...lained.608019/
https://forums.cpanel.net/threads/10...-to-do.504301/
https://forums.cpanel.net/threads/sw...ver-90.446591/