Posts

Showing posts from November, 2020

Fix Non Paged Pool Memory Leak

Image
Fix Non Paged Pool Memory Leak The Non-paged pool use system memory, basically it is use in kernel and drivers of machine operating system. You can never transfer the load of non-paged pool memory to system hard drive partition, that we can do for paged pool (paging file). If your machine operating system consume extra memory then you must see the size of operating system memory elements on task manager performance tab that are mention below. 1. Non-paged pool. 2. Paged Pool. 3. Cached. Here we will discuss only how fix non-paged pool memory leak on Windows Server 2012 R2, this procedure also applicable for other windows operating system. To check how much memory is consume by non-paged pool click on performance tab on task manager. To check processes that consume memory click on processes tab on task manager. In the above image you can see that the Microsoft SQL Server is consuming too much random access memory. To check the system configuration take the properties of computer. In the

How to Create a Backup Script in Windows

Image
Create a Backup Script in Windows Here we are creating Backup Script in Windows through batch file, the extension of batch file is " .bat ". In windows Task Scheduler is use to run script automatically. you will find in this article the commands of how to move data by use of robocopy command, how to archive (compress) data by use of 7-zip software, how to delete complete data inside a single folder by use of forfile command. To create a complete backup job script, the steps are list below. 1. Delete last day data that is inside Backup folder. 2. Set Variable of Date that will use with archive file. 3. Compress the Data that available inside Backup folder to Archive folder. 4. Use Robocopy to move data from Archive folder to Backup Server. 5. In Last delete current day data that is inside Backup folder. To delete last day data that is inside Backup folder by use of forfile command, type the below mention command. Here " 1 " is use to delete last day data that is insi

Reduce Logical Volume Size on Debian

Image
Reduce Logical Volume Size on Debian/CentOS/RedHat Reduce the logical volume size is not a good practice in terms of data therefore if you want to reduce the logical volume size must take the backup of data. Here we are reducing the size of logical volume "home" in Debian 9.8, you can also use this process on CentOS and RedHat. To Check the complete details of Debian version, type the below mention command. cat /etc/os-release To check how many users available in home directory first use command "cd" to enter in the directory "home" then use command "ls" to list the available users in directory "home" . cd /home ls In the above image you can see that only user "debian9" is available in directory "home" . For switch from user  "root"  to user "debian9" , type the below mention command. su debian9 Create a text file from user "debian9" by use of command "touch" , this is bec

Extend Logical Volume Size on Debian

Image
How to Extend Logical Volume Size on Debian Logical Volume (LV) is a storage area inside a Volume Group (VG). Volume Group can create during the installation of Linux Operating System (Debian, Red Hat, CentOS, Oracle Linux and etc) or after the installation of Operating System (Debian, Red Hat, CentOS, Oracle Linux and etc) by use of Logical Volume Management (LVM) concept. The benefit of Logical Volume is that, it can be easily resize (extend and reduce). There are various types of file systems that is use for logical volume or partitions. The file systems are XFS, Ext4, Ext3, Ext2 and etc. One thing to be remember is that the file system "xfs" is only have the ability to extend the size of logical volume, when logical volume have file system "xfs" the size cannot be reduce. Extend a logical volume size means increase the size of logical volume. Here we will extend the size of logical volume "var" that have a file system "Ext4"   from 2.7GB to 6