When File System is Full Sap

download When File System is Full Sap

of 4

Transcript of When File System is Full Sap

  • 8/9/2019 When File System is Full Sap

    1/4

    When file system is full what need to be done?

    This article answers the following queries:

    If le systems in SAP server is full, what need to be done?

    ow to avoid le system full in SAP?

    ow to delete un!necessary les in le systems of SAP?

    ow to delete core les in SAP?

    ow to delete trace les in SAP?

    ow to delete stat les manually in SAP?

    "hat is the transaction code used to delete stat les manually in SAP?

    "hat are various re#orts to be run to cleanu# when le system is full?

    ow to #rune the le systems in SAP?

    ow to delete old archive les in SAP?

    "hat is the location of wor$ and data directories in SAP?

    "hat is the location of global directory in SAP?

    %an we delete old #age le and role les when the SAP system is online?

    "hat is the sa# #arameter to set the trace level in SAP?

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Sometimes, a basis consultant will get alerts or information from customers that the lesystems are full& To avoid system issues and to increase u#time of the SAP system, Inthose cases, we have ' o#tions&

    i( )elete un!necessary les in the le systemii( In case you found le system is dened as too small then increase the si*e of them&

    In this article, am covering the o#tion + mentioned above&

    et us assume that the system id -SI)( of the sa# system is )P+& Then the

    i( wor$ directory in -.ni/, "indows0T o#erating system( is1usr1sa#1)P+1)23456Snn1wor$ -where nn is the instance number(

    ii(

    data directory in -.ni/, "indows0T( is1usr1sa#1)P+1)23456Snn1data -where nn is the instance number(

    iii( 6lobal directory -i&e& for all instances( is1sa#mnt1)P+1global -for .0I7 (889sa#globalhost8sa#mnt8)P+8sys8global -for "indows0T(

    Please follow below ste#s to avoid this issue :

    1) Delete core fles rom work directory

    "or$ directory in .ni/ often contains old core les which were generated due to#revious #rogram terminations& These core les need to be deleted

    2) Delete old log fles and spool fles

    .nder global directory there will be many log les which can be deleted regularly&

    http://sapbasisdurgaprasad.blogspot.com/http://sapbasisdurgaprasad.blogspot.com/
  • 8/9/2019 When File System is Full Sap

    2/4

    Those les areog le ty#e 0aming %onvention

    S#ool requests nnnSP;;- wherennnollowing re#orts can be run using S3@ or through bac$ground ob for selectivedeletion of the les mentioned above&BSP;CCD+ ! This re#ort is used for deletion of old s#ool lesBS4T%)3 E .sed for deletion of old ob logsBS4)%B3; ! Be#ort can be used for deletion of batch in#ut log les andreorgani*ation&

    3) Deletion o old ABAP/4 trace fles

    Some trace les with the name AT9instance numbernnnn will be in the data directory&;ld les of this ty#e can be deleted& The ma/imum available s#ace for all les is denedby the #arameter aba#1atrasi*equota& Also transaction S3C can be used to delete theles&

    4) Deletion o old archiing fles

    "hen old data is archived, some les are written to the global directory& The namingconvention of those les is B//mmddn -//< a##lication, mm< month, dd

  • 8/9/2019 When File System is Full Sap

    3/4

    &) Deletion o 'ld sort and (tract fles

    4y the A4AP commands S;BT and 37TBA%T, tem#orary les are created& The location ofthese les are set using #role #arameter )IBJS;BT or )IBJ37TBA%T&

    The tem#orary les for sort are named SMMMMMMM93/tension -;n "indows 0T &dat

    is used as e/tension and on .ni/ there is no e/tension(& Similarly for 3/tract, 3MMMMMMM93/tension will be the le naming convention&

    These les will be automatically deleted after the e/ecution of these S;BT and 37TBA%Tcommands& owever, in some scenarios, an abru#t termination can ha##en and theseles wonNt get deleted automatically& Those old les can be deleted by an administrator&

    The e/act le names for these are stored in the #role #arameters >0JS;BT or>0J37TBA%T

    *)

    Deletion o trace fles

    Trace les are created during a new system startu# and they can be deleted& They arecontained in the wor$ directory

    +) Deletion o stat fle or moing to di,erent location

    Please chec$ whether the stat le which consists the wor$ load statistics, has not beenreorgani*ed for some time and has therefore become too large& In emergency cases,this le can be either deleted manually or can be moved to diLerent location&

    To delete the stat le manually, #lease #roceed as follows:6oto STC transaction , call the delete function on the relevant instance by choosing :"or$load ! Beorgani*e ! )elete seq&stat&le

    To change the location of stat le, change the value of system #arameter Ostat1leN to a

    new location&

    1-)Deletion o .o logs at operating system leel

    In some emergency cases, where you cannot start the B1 system at all, the measure isto delete the ob logs at o#erating system level and run BS4T%)3 re#ort in forcedmode&

    0ote: ow to delete ob logs at o#erating system level will be covered in a se#aratearticle later

    11)0hanging the trace leelIf the trace les -devJH( in the wor$ directory are very large-normal si*e C&+ to 'CKbyte(,

    it is li$ely that the trace level is set to very high value& In SAP, rdis#1TBA%3 #arameter isused to set the trace level& 0ormal value for trace is +&

    Please cross chec$ this SAP #arameter and reset to + if the value is maintained as ' orhigher& If this value is set to high, much more detailed trace will be collected and tracele si*es are li$ely to increase& Therefore recommending to decrease or set the tracelevel to +&

    Please refer below lin$ to $now, how to set the trace level in SAP&

  • 8/9/2019 When File System is Full Sap

    4/4

    How to change developer trace level in SAP?

    Iam sure, if you duly follow the ste#s mentioned above, le system full issues can beaddressed& owever, if after carrying out all the above ste#s there is no im#rovement,then #lease consider to increase the le system si*e by requesting s#ace to the relevantteam&

    http://sapbasisdurgaprasad.blogspot.com/2012/06/how-to-change-developer-trace-level-in.htmlhttp://sapbasisdurgaprasad.blogspot.com/2012/06/how-to-change-developer-trace-level-in.html