Other Terms
Disk space for files
Reason and Prerequisites
- Unnecessary files in the file system
- The dimensions of the file system are too small
Solution
In the example below, we assume the system ID is "P22". This means:
-
The work directory is
/usr/sap/P22/DVEBMGSnn/work (Unix, WindowsNT)
-
The data directory is
/usr/sap/P22/DVEBMGSnn/data (Unix, WindowsNT)
-
The global directory (for all instances) is:
/sapmnt/P22/global (UNIX)
\\<sapglobalhost>\sapmnt\P22\sys\global (WindowsNT)
-
1. Files that you definitely will no longer need:
-
Only Unix:
The work directory often contains an old core file from previous program terminations. You can delete this file at any time.
-
2. Old spool and log files:
-
They are not needed for R/3 to function properly. We recommend that you delete them on a regular basis no matter what (also see SAP Note 16083). After you delete them, of course, the information they contain is lost. These files are:
- Spool requests nnnSPOOL (nnn = client)
- Job logs nnnJOBLG
- Batch input logs BI<host name<instance number>
These files are contained in the global directory.
Use the following reports for selective deletion of these files (also see SAP Note 16083):
- RSPO0041
- RSBTCDEL
- RSBDCREO (see SAP Note 18307)
Alternatively, you can also store spool requests in the database. For more information, see SAP Notes 11070 and 20176.
For information about problems associated with very large lists, see SAP Note 7140.
-
3. Old archiving files:
-
When you archive old data, files are written to the global directory. The naming convention is usually Rxxmmddn (xx = application, mm = month, dd = day, n = number), for example: RMM12280.
-
If you no longer need this data for production operations and you have backed them up to tape (and only if you have backed them up) you can delete them from the disk.
-
4. Old ABAP trace files:
-
These are files named AT<instance_number>nnnn in the data directory. The maximum available space for all files in total is defined by the system parameter abap/atrasizequota (in KB; default = 10,000 KB). You can use transaction SE30 to delete these files.
-
5. Page and roll files:
-
The page file, PAGFILnn and the roll file, ROLLFLnn, are usually located in the data directory. You must not delete these files while the system is running under any circumstances. If you have shut down the R/3 System (and only in this case), you can delete the roll and page files. They are then created again when you start up the R/3 System and grow as needed, up to the allowed maximum. Therefore, it does not make much sense to delete them.
-
Exception: If the file has reached a size that it does not need during regular operations as the result of a special activity (such as a client copy), you can delete the file to release this space. However, as already stated, you must only do so if you have shut down the R/3 instance first.
-
The maximum size of the roll file is specified by the formula (rdisp/ROLL_MAXFS - rdisp/ROLL_SHM) * 8 KB. A corresponding formula applies to the page file.
-
If desired, you can use the system parameters DIR_ROLL and DIR_PAGING to move these files to a different file system, freeing up space in /usr/sap.
-
6. Old output requests:
-
Output requests are saved in the data directory as SP* files. Normally, they are deleted automatically after they are output. For details, see SAP Note 11070.
-
7. Old sort and extract files
-
The ABAP commands SORT and EXTRACT create temporary files. The temporary files for the sort are named S++++++<extension> (the extension .dat is used on NT; Unix normally does not have an extension) and E++++++<extension> for the extract. These files are deleted automatically once the commands are complete. If programs terminate, however, these files can be left behind. You can delete old files. You can use the profile parameters DIR_SORT and DIR_EXTRACT to configure the storage locations of these files. The exact file names of the files are defined in the profile parameters FN_SORT and FN_EXTRACT.
-
8. Emergency workarounds:
- If you cannot start up the R/3 System at all, as an emergency workaround (but only in a real emergency case), you can use operating system utilities to delete the job logs and then run RSBTCDEL in FORCED mode.
- The trace files are created again when you restart the system; you can also delete them beforehand. They are located in the work directory.
-
9. Miscellaneous:
- Check whether the "stat" file, which contains the workload statistics (in the data directory) hasn't been reorganized for a while, and has therefore become too large. See SAP Note 6833 for further information.
- In an emergency, you can move the location of this file as well (system parameter "stat/file"). If the trace files (dev_*) in the work directory are very large (their normal size is 0.1 to 20 KB), this indicates that that the parameter rdisp/TRACE has been changed. The normal value is 1. If it is set to 2, you should reset it. For more information, see Note 16665.
Header Data
| Released On | 27.11.2013 13:21:08 | |||||
| Release Status | Released for Customer | |||||
| Component | BC-CCM-MON-OS Operating System Monitors | |||||
| Other Components |
|
|||||
| Priority | Recommendations / Additional Info | |||||
| Category | Help for error analysis |
Validity
This document is not restricted to a software component or software component versionReferences
This document refers to:
SAP NotesThis document is referenced by:
SAP Notes (12)