Thursday, April 20, 2017

Swap size error

This error occurs due to the less space of the swap file than the expected value to resolve this error we have to increase the size of the swap file
The following dd command example creates a swap file with the name “myswapfile” under /root directory with required size
#free -k {to see the current swap size} # dd if=/dev/zero of=/root/myswapfile bs=1M count=1024

Cahnge last line into /root/myswapfile swap swap defaults 0 0 ;
Save it and exit

No comments:

Post a Comment

Loading xml file data to oracle table using python

Sample xml file (test.xml): <?xml version="1.0"?> <data>     <customer name="Ravi" >     ...