Anviam

Anviam is your one-stop solution to a variety of tech services and consultation custom- suited for your business needs. From building robust applications to understanding scalability in the future, integrating efficient systems and developing modern solutions, you'll find it all with us! We're here to break down scalability for you, guide you through large-scale web application development, and equip you with practical solutions ...First is software, design decisions and IT infrastructure. The second is the scalability of teams and processes. It is difficult to build ... Developing a robust, scalable, and efficient system can be daunting . However, understanding the key concepts and components can make the ...

美國威而鋼VIAGRA

性功能障礙是男性和女性中常見的問題。它可以由生理問題和醫學狀況引起

威而鋼的效果可能因個體差異而有所不同。大樹藥局威而鋼。 預防藥:用於預防特定疾病,如疫苗或抗瘧疾藥物。

Swap memory is a virtual memory. When we have low server configuration and our system is running out of memory then to reduce cost and increase performance we need swap memory. By default swap is not set-up on any AWS or other server.

So to setup swap below commands must be consider.

1. Use command free -mh to check we have swap already enabled or not

You can see there is no memory available.

Now the further process start

Use df -h command to check we have enough space to create swap.

Create a swap file using the following command

sudo /bin/dd if=/dev/zero of=/var/rpswap bs=1M count=2048

Now we can mark the file to swap by the following command:
sudo /sbin/mkswap /var/rpswap

File must be accessible to root user only use :
sudo chmod 600 /var/rpswap

To enable the swap to work
sudo /sbin/swapon /var/rpswap

To make this swap partition permanently in the system add below code in /etc/fstab
/var/rpswap swap swap defaults 0 0

Now the final step to make swap ready to use
sudo swapon -a

Now restart the system by init 6 and check again free -mh


You can see now swap is available for use.



Share This