on 02-15-2007 10:30 AM
Hi all...
I have an urgent issue here.please give some suggestions
in /usr/sap/SID/DVEBMGS00/work/ directory one core file is abnormally increasing how it can be rectified? and how it is happening?
Kinda regards
Umesh K
Hello Umesh,
Go ahead and just delete the file.
System administrators usually limit core size to avoid dangerous core files filling file systems. Core file size can be limited with the "ulimit" or "limit" commands. Look at these examples
$ ulimit -a # Display limits for your session under sh or ksh
$ limit # Display limits for your session under csh or tcsh
$ ulimit -c SIZE_IN_BLOCKS # Limit core size under sh or ksh
$ limit coredumpsize SIZE_IN_KB # Limit core size under csh or tcsh
Regards,
Ammey Kesarkar
<i>'Award points for useful info'</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
to get rid of core files permanently in this directory:
rm core
ln -s /dev/null core
or
rm core
touch core
chmod 000 core
THERE YA GO, NO MORE BIG CORE FILES.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
from my expericience you can delete it...
the core file is a oracle dump file...
normally you have a dump in SAP too, so try checking it (SYSTEM_CORE_DUMP or something) it might help you
Message was edited by:
Joaquim Pereira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can always make a script running to eliminate the core file...
for example:
#!/bin/ksh
if [ -e /usr/sap/SID/DVEBMGS00/work/core ]
then
echo `date +%Y-%m-%d.%Hh%Mm%Ss`" - Core Deleted : "`ls -l /usr/sap/SID/DVEBMGS00/work/core` >> log_core
/usr/bin/rm /usr/sap/SID/DVEBMGS00/work/core
fi
i have this little script running each 5 minutes to check and delete core files
altho this solves your space problems, it may not solve your true problem... i advise you to analise any core dump in SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.