cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/sap/<sid > full in MDM system

Former Member
0 Kudos

Hello Experts,

What files we can delete if the /usr/sap/<sid> is full in MDM system as I checked the J2EE engine is on different host.

I checked all the folders in that path but didn't find any log files that could be deleted, help me with providing the path of log files for MDM system.

Regards,

Amit Singh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Look at the work directory for the workprocess trace files and RFC trace file grown.

You can execute the command below(credit goes to Kedar) in /usr/sap/<SID> to filed out top 10 big fishes.

du u2013sk *|sort u2013nr|head -10

You can reset workprocess trace files from SM50 and RFC traces(dev_rfc*) from SM59.

Former Member
0 Kudos

Thanks Vijay. Yeah du u2013sk *|sort u2013nr|head -10 will list the top 10 files of work directory. Generally we will find the core file in that list and we can remove them with command.

Best Regards,

Kedar

Nibu
Contributor
0 Kudos

Hi Amit,

check the note Note 16513 .

Refer .

Check whether trans directory has any files and if not needed you can clear it off . Also you can redirect the EPS/IN to any other spaceous disks if needed . for this you need to set relevant profile parameters .

Regards,

Nibu Antony

Former Member
0 Kudos

We generally follow below steps.

Steps to be followed to maintain /usr/sap/PRD Filesystem u2013 Do it once a week

u2022 Reset trace files from SM51

u2022 Delete stats file from ST03N

u2022 Remove dev_*.old files from work directory

Command u2013 ls u2013lrt dev*.old

u2022 Remove core file from work directory

Command u2013 du u2013sk *|sort u2013nr|head -10

u2022 Remove files with name (TRACE and TRACE*) from the location where it exists (generally work/log). These files get generated when user trace is active in the system. We can remove it if the user trace or any other trace is switched off. (We can check its status in ST01 and ST05)

u2022 Remove *.conv & *.read files from work directory. These files are generated due to lsmwu2019s and no longer required in the system.

u2022 Check the global directory and identify different logs that can be removed from the system.

u2022 (Deletion of old spool jobs, workflow logs or job logs)

u2022 Execute the report RSBDCREO from SE38. It removes the log of Batch Input Sessions (SM35).

u2022 Note - Above report is executed from job SAP_REORG_BATCHINPUT. Perform this action once in a month.

Thanks and Regards,

Kedar

Former Member
0 Kudos

Kedar,

u2022 Remove core file from work directory

Command u2013 du u2013sk *|sort u2013nr|head -10

Command (du u2013sk *|sort u2013nr|head -10) wont remove the core files rather it list the top 10 files by larger to small.