File system becomes full due to large PDF spool files.
Usually spool files are generated in /sapmnt/SID/global directory based on this parameter rspo/store_location value. If this directory becomes full, it will affect background jobs and others to fail.
Usually payroll users print large amount of PDF files and that may fill up the file system space at OS level in the above directory. Also, .PDF file does not appear at OS level. PDF files create as *.xfd, *.cfg, *.pfg in the OS global directory.
To address the file system issues and delete the PDF files, please follow the steps below
- At OS level, putty into the affected system
- cd /sapmnt/SID/
- df -h - This command display the usage of file system (see screenshot), in this example, it has 29% space left, but when file system becomes full, you will see 100% usage.
- enter this command du1 - This command display size of each directory in that folder (/sapmnt/SID). As you can see in the below figure, the size of the global directory is 586 MB.
- Now cd to global directory and do ls -lart to display the files in that global directory.
- You will see files similar to the following. The spool files are prefixed with SPOOL0000 then spool number. In this example, the spool number is 138496.
SPOOL0000138496_00020.pcl
SPOOL0000138496_00020.cfg
SPOOL0000138496_00021.xfd
- Login into SAP, enter Tcode SP01, select the PDF files with large number pages and delete. If you want save these files on your PC before deleting, run this report RSTXPDFT4 based on this note: 1833550
- Then check the space at the OS level, you should see plenty of space created.
Hope this help.
Thank you
Adil