No swap message in GUI – Freepbx No Swap warning

No Comments

Are you getting “No swap message in GUI – Freepbx No swap warning” this message in notification area, it does not give any instructions but says:

Your system has Free PBX no swap space. This should be fixed as soon as possible. Once fixed issue a reload to remove this message.

you might wondering have never made any changes memory or storage – you might be looking for someone to advise a fix?

Here comes the solution what I am letting you know today as if you are facing this issue than you are on right platform. FreePBX No Swap error means is that you machine is lacking in RAM or random access memory as it is required for FreePBX to perform efficiently for not letting the system to go corrupt or create mess for the incoming ot out going call logs.

First you would need to run a command to check the disk space available on your freepbx machine.

freepbxroot#df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda 546G 546G 0G 100% /

After checking that your HD drive files size is increasing very fast and FreePBX have showed “No swap message in GUI – Freepbx No swap warning” on your dashboard. The you would need to login in your Google cloud console and connect with your SSH. Once you are connected with the SSH type Sudo -i or Sudo su to be as root user.

That warning is just letting you know that your system is not set up with memory swap. This means that if you were to run out of memory, the system will not be able to utilise disk swap which, from experience, is not much fun at all!Then follow the instructions bellow…..

Swap File

dd if=/dev/zero of=/swapfile count=1024 bs=1MiB
chmod 600 /swapfile
mkswap /swapfile
echo ‘/swapfile none swap sw 0 0’ >> /etc/fstab
swapon -a

free -m

After you are finished you just need to run

fwconsole restart

fwconsole chown

 

 

About Me: I'm the digital marketing specialist, competent in SEO (Google, Yahoo & Bing), Google Adwords (Search, Display, Google Shopping etc.), Facebook & Instagram Advertising etc. I can work in all platforms of digital marketing & advertise the legitimate products/services in a specific country, city or all over the world. I am very confident, dynamic, energetic, enthusiastic & dedicated freelancer as I want to build my career as a full time professional freelancer for long time. I prefer quality work rather than quantity & hard working is my way to become successful. If you hire me, then I will provide you my best quality services for your project until you achieve your goal with complete satisfaction. Expertise I do have: ✓ Managed AdWords and PPC for diversity of companies with a budget up to $500,000 per annum. All campaigns with a positive ROI. ✓ Successfully increased organic (SEO) traffic for websites with 1,000,000+ unique visits every month. ✓ In-depth Google Analytics analysis (and other tools) to make appropriate suggestions and drive positive change. ✓ Easy to understand reports and full transparency on everything I do and everything your budget is spent on. Let's get started! Contact me to discuss your plans.

About us and this blog

We are a digital marketing company with a focus on helping our customers achieve great results across several key areas.

Request a free quote

We offer professional SEO services that help websites increase their organic search score drastically in order to compete for the highest rankings even when it comes to highly competitive keywords.

Subscribe to our newsletter!

More from our blog

See all posts

Leave a Comment