cancel
Showing results for 
Search instead for 
Did you mean: 

dev_disp file reset

Former Member
0 Kudos

     Hello all,

In order to troubleshoot an error, I had to increase the trace level to 2 for dispatcher. It caused /usr/sap/SID FS full. So I quickly moved dev_disp file to another location so as to bring the FS utilization to normal. It happened and system is running fine.

But here is the issue,

I got the FS extended by 15 GB and now when I check, no dev_disp file has been created by SAP application to write log.

Is it not created automatically?

I thought making a file manually would help.. Created a file by touch command

> touch dev_disp

but nothing is getting written to the dev_disp file even if I increase the trace level to 2.

I tried resetting the trace files from SM50, thought it would create a file but it did not help also.

Could you please suggest how can i get a normal dev_disp file back where all the logs would be written normally.

Regards,

Tariq

Accepted Solutions (1)

Accepted Solutions (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Tariq,

Since you moved the dev_disp to a different location, the Dispatcher process still has a "file pointer" to a file that does not exist at the file system.

The file system is writing the Dispatcher trace to "nowhere" .

This would be the normal and expected behavior of the file system in this situation (nothing related to SAP).

In order to get the trace file "back", access the transaction SM50, menu path Administration -> Trace -> Dispatcher -> Reset file.

Once you access that, the Dispatcher will:

  • Delete the "dev_disp.old" file;
  • Rename the "ghost" dev_disp to dev_disp.old (so, I'm guessing that no ".old" file will appear);
  • Start writing a new dev_disp trace.

Regards,

Isaías

Former Member
0 Kudos

thanks Isaias for the reply.

I do not see the exact path as you mentioned.

But I even tried selecting the option Reset files but it also did not help.

Please check once.

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Tariq,

The menu path may vary depending on the SAP_BASIS release.

I see that you fund the correct menu path, but your system does not have the option there (again, due to SAP_BASIS release in use).

In this case, I believe that the only option would be to restart the instance.

Regards,

Isaías

Former Member
0 Kudos

Thanks for the update Isaías,

I could conclude the same after going through various blogs that for 46C SAP_BASIS,

it would be corrected by taking a restart of the system.

Regards,

Tariq

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Tariq,

You system would have been down if you were moving the dev_disp file as in a running system it's always in use.

These files are created when you start your SAP application. Please start it now and check.

Thanks,

Manas

Former Member
0 Kudos

Manas,

System was up when I moved the file.. I though it would not be possible to move as system is running but I was able to.   I cannot take system restart now. Do you think there could be any workaround.

cris_hansen
Advisor
Advisor
0 Kudos

Hi Tariq,

Please have a look at SAP note 112.

Kind regards,

Cris