cancel
Showing results for 
Search instead for 
Did you mean: 

delete dev_23 in work directory

Former Member
0 Kudos

Hi

Can I delete 1.7 GB size file dev_w23 from work directory?

Ashraf

Accepted Solutions (1)

Accepted Solutions (1)

former_member185954
Active Contributor
0 Kudos

Hi Ashraf,

You can delete the file in UNIX even if the file is open.

After deletion you should then restart the work process 23 from SM50.

On Windows the system may complain that the file is open, however I cannot confirm that at this moment cause i don't have access to any windows SAP servers.

If windows does not complain you can go ahead and delete it, however make sure you restart the process in SM50.

Also,

As sachin has mentioned earlier, please check the trace file before deleting if you are on UNIX you can simply check by tailing the end of file continuously.

tail -f dev_23

On windows there is no such utility.

Regards,

Siddhesh

Regards,

Siddhesh

Answers (4)

Answers (4)

tim_buchholz
Active Participant
0 Kudos

Dear Ashraf,

this can be done from transaction SM50, Process->Trace->Reset->All files. You can also use the profile parameter

rdisp/TRACE_LOGGING = on, <size>m

to restrict the trace file size. dev_w*.old files can be deleted without any problems. A restart would not have been necessary.

Best Regards,

Tim

Former Member
0 Kudos

Your question is answered on SAPfans.com

Former Member
0 Kudos

Hi Ashraf,

As mentioned by others, is this Windows or Unix? Is there repeating entries when viewing the file contents at OS level?

Note <a href="http://service.sap.com/sap/support/notes/112">#112</a> has information about reducing the trace level to 0 before removing contents of trace file for the relevant PID.

The parameters 'rdisp/TRACE_LOGGING' can be used to limit trace file sizes to a certain amount also as in notes <a href="http://service.sap.com/sap/support/notes/112">#112</a> and <a href="http://service.sap.com/sap/support/notes/396750">#396750</a>.

Regards, Mark

Former Member
0 Kudos

Thank you for your valuable replies.

I restarted SAP. The file became .old. Then I deleted it.

Server is Solaris 9/ Oracle 9.2 / R3 4.71

Ashraf.

Former Member
0 Kudos

Hi Ashraf,

Glad to hear that the problem was resolved. You can always restart the instance so that dev_w* files become dev_w*.old and can be deleted if too large.

Please award points if you found any answers useful for how to delete a trace file when the instance is still running as in the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">Rules of Engagement</a>.

Regards, Mark

Former Member
0 Kudos

Hi,

This is developer trace file for workprocess no 23, as you said the size of the file is 1.7GB, that means there might be some continious warnings or errors which are incresing the log file size.

You will be not able to delete this file as it will say the file is use if your system is running. to delete this file you need to stop your SAP R3.

Best Regards,

Sachin.

Message was edited by:

Sachin Pokalwar

Message was edited by:

Sachin Pokalwar