• Home
  • Linux
  • UNIX
  • Website Development
  • SAP Basis
  • SAP Solution Manager
  • SAP PI/XI
  • SLD

SAP NW Java: Delete old dumps and trace files with command find

We recomend regulary check directory /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/, where can be hold old dumps and trace files.

For examle, in Note 1289240 – How to deal with out of memory errors we can read

The heap dump is generated in directory /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/ where N is the server node number.
Automatically created heap dump on out of memory event is in OOM.hprof and OOM.addons files.
User generated heap dump is in files named as java_pid<PID>.hprof and java_pid<PID>.addons, where PID is the process ID (9848 for example).

Also we can find *.trc files.

We recomend delete unnecessary files

In case Unix We use command find

cd /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/

find . -mtime  +30 -name “*.trc” -exec rm {} \;  -print 

find . -mtime  +30 -name “*.addons” -exec rm {} \;  -print 

and then

rm OOM.hprof

« errpt – aix system log report
Problem with stop/start saposcol »
Еще по теме:
This entry was posted in SAP Basis and tagged find, logs.
Оставить Ответ
Click here to cancel reply.

  • Курсы валют

    RUB/USD - 69,1263

    RUB/EUR - 75,3348

  • Tags
    ABAP AIX AI_RUNTIME_JCOSERVER Arch Linux awk BPE brtools CHARM client copy cp CUA dd dev_w logs download basket download or upload files drivers EarlyWatch Alert epson ESR file system find firefox FTP GRUB HA systems hot keys HTTPS ibus icm Internet Explorer iso Java kernel keyboard language Linux Linux Mint logs Managed System Configuration mount mpv NWA ORACLE pacman PI Cache READ_USER RFC authorization robots.txt roles RWB RZ20 rz21 SAPCAR sapgui saposcol SAP Web Dispatcher SAP по русски Secure store Service Desk shared memory Shutter SLD sm21 sm59 SMD agent SOLAR_PROJECT_ADMIN spam ST03 STAD STMS STZAC Super L SUSE swap terminal text editors timezone tp Unix client Upgrade USB UTF-8 viber waterfox wordpress xterm YouTube youtube-dl zoom Альтернатива Windows Горячие клавиши Зависания Клавиша Win Кодировка Отмена перехода на зимнее время Температура процессора загрузка Excel минимальные требования к аппаратному обеспечению
  • Posts with most comments
    • SAP Solution Manager не работает отправка сообщения в SAP (4)
    • Error: Remote access to the NetWeaver Administrator is forbidden. See SAP Note 1451753 for details. (4)
    • AI_RUNTIME_JCOSERVER – Timeout while waiting for a connection to be established (2)
    • Script for UnSAPCAR Multiple SAR files in single shot (2)
    • Problem with stop/start saposcol (2)

© 2011 - 2023 30 years in IT. All Rights Reserved.