资源描述:
《Trouble-shooting SAP job program》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Trouble-shootingSAPjob/programterminationonmemoryerrorPostedon2013年08月04日星期日byericItisnotunusualthataSAPjob/programcanbeterminatedonmemoryerror.Inmyexperience,IhaveseenSAPjob/programterminationsonfollowingmemoryerrors:TSV_TNEW_PAGE_ALLOC_FAILED,TSV_TNEW_BLOCKS_NO_ROLL_ME
2、MORY,TSV_TNEW_OCCURS_NO_ROLL_MEMORYandSYSTEM_NO_ROLL.Thispostwouldsharemyexperienceonhowtodotrouble-shootingonsinglesapJob/programterminationduetomemoryerrors.Itwouldcover:1.Howtotrouble-shootjob/programterminationonmemoryerror,2.Case1–TSV_TNEW_PAGE_ALLOC_FAILEDduetoserv
3、er/instancememorycontention,3.Case2–TSV_TNEW_PAGE_ALLOC_FAILEDduetoexceedingSAPmemoryquotaforindividualworkprocess,4.CasesTSV_TNEW_BLOCKS_NO_ROLL_MEMORY,TSV_TNEW_OCCURS_NO_ROLL_MEMORYandSYSTEM_NO_ROLL5.GeneralrecommendationonhowtofixSAPjob/programterminationonmemoryerror
4、,6.Furtherclarification1Howtotrouble-shootjob/programterminationonmemoryerror1.1understandingSAPmemoryareaandallocationsequenceforindividualSAPprocess/programsArunningSAPprocessneedsmemorytostoreusercontextlikeprograminternaltableetc.ThereareseveralSAPmemoryareasfromwhic
5、hthememoryrequirementsofuserprogramsaresatisfied.Fortechnicalreasons,approximatelythefirst250KBofausercontextisalwaysstoredintherollarea,additionaldataoftheprogramisstoredaccordingtofollowingsequencebasedonSAPdesignfordialogworkprocess.1.tothelimitztta/roll_firstintherol
6、larea,then2.Inextendedmemory,tothelimitztta/roll_extensionor,ifextendedmemoryisexhausted,then3.Intherollareaagain,untiltherollareaisfull,then4.Intheheapmemory(PRIVmode),tothelimitabap/heap_area_diaorabap/heap_area_totaloruntiltheaddressspaceortheswapspaceisexhausted.Inth
7、ecaseofnon-dialogSAPworkprocesses,thesequence1->3->4->2applies.Afterthis,processisterminatedwitherroriftheprocessneedsmorememory.SAPusers’onlineactivitieslikecreatingcustomerorderusingva01transactionaretypicaltaskswhichwouldengageSAPdialogworkprocess.RemoteFunctionCallor
8、ALEtaskuseSAPdialogworkprocessaswell.ASAPSM37JobwouldengageSAPbackgroundworkprocesses.Dependsondesignan