Skip to main content

How to increase Swap space on Running system without Downtime

If you want incrase 2 GB of swap then follow below Steps

dd if=/dev/zero of=/swapfile bs=1024 count=2097152

#mkswap /swapfile


#swapon /swapfile

#swapon -s

check the swap file


#cat /proc/swaps

If you want parmanent then add line in fstab file

#vi /etc/fstab
/swapfile none swap sw 0 0

save the file and check with free commands

#free

Comments

Popular posts from this blog

fatal: scan_dir_push: open directory defer: Permission denied

problem:- Nov 7 18:24:18 linuxxf postfix-archive/postsuper[20555]: fatal: scan_dir_push: open directory defer: Permission denied Nov 7 18:24:19 linuxxf postfix-archive/postfix-script: fatal: Postfix integrity check failed! Nov 7 18:28:26 linuxxf postfix-archive/postsuper[21162]: fatal: scan_dir_push: open directory defer: Permission denied Nov 7 18:29:57 linuxxf postfix-archive/postsuper[21334]: fatal: scan_dir_push: open directory defer: Permission denied soloution:- To correct queues that were created outside of Postfix: postfix -c /etc/postfix-archive set-permissions
hi friends I am Brijesh singh and I am Linux system administration,I can solve your linux problem please and qmail and ldap related problem.please update your own linux problem and you have any please share with me.

we changed in transport file and when we reload file then postfix not starting

when we change in transport file and reload the file then postfix not starting. maillog:- Dec 7 15:54:37 mailxf2RelayServer postfix-out/postfix-script: fatal: Postfix integrity check failed! Dec 7 16:05:10 mailxf2RelayServer postfix-out/postfix-script: fatal: the Postfix mail system is not running Dec 7 16:05:10 mailxf2RelayServer postfix-out/postsuper[21423]: fatal: scan_dir_push: open directory bounce/A/A: Not a directory Dec 7 16:05:11 mailxf2RelayServer postfix-out/postfix-script: fatal: Postfix integrity check failed! [brijesh@mailxf2RelayServer ~]$ sol:- rm -r /var/spool/postfix-out/bounce/A /etc/init.d/postfix-out start