Skip to Content
avatar image
Former Member

Unix directory full

Hi friends,

In our production system under unix , the usr/sap/<SID> has become full, under which we have below directories,

<host>:<sid>adm 72> usr/sap/<SID>

<host>:<sid>adm 72> ls

conf data dump log work

Can we delete those files and shall we backup those files or move the files to a different directory and delete. please help me.

thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 02, 2009 at 11:17 AM

    > In our production system under unix , the usr/sap/<SID> has become full, under which we have below directories,

    check which directory is consuming the most space:

    cd /usr/sap
    for i in `ls`; do du -ks $i; done

    Markus

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hai,

      Do the following:

      Goto /usr/sap/sid/<inst dir>/work check whether you have any files called 'core', if found delete them.

      You can also remove the same from transaction ST03N->Expert mode->Collector and Performance DB

      ->Statistics Records & file -> Delete file. This will delete all the STAT and ASTAT files present under /usr/sap/sid/<inst dir>/data.

      You can also remove old default and applicaiton trace from /usr/sap/<SID>/<inst>/j2ee/cluster/serverX/log if you have JAVA engine running.

      Try resetting the work process trace files from SM50, this will reset all the trace files under the /usr/sap/sid/<inst dir>/work, do not do this if you need them for any analysis.

      Also check whether you are running all the standard hosekeeping jobs or not.

      Check the SA Note 16513.

      Regards,

      Yoganand.V

  • Feb 03, 2009 at 02:25 PM

    delete "core" files:

    find / -name core -type f -exec rm {} \;

    Add comment
    10|10000 characters needed characters exceeded