Author Topic: Is it safe to remove Core files  (Read 976 times)

Offline Kavya

  • Full Member
  • ***
  • Join Date: Feb 2019
  • Posts: 35
  • Forum Citizenship: +0/-0
Is it safe to remove Core files
« on: 11 Nov 2020 02:24:57 pm »
Hello All,

Ours is a three tier structure with the servers in Linux. Cognos version 10.2.1
On these three dispatchers, I am seeing files core.xxxx (like core.1234, core.4673, core.5714) in c10/bin directory
Usually, we do cleanup heapdump*.phd, javacore*.txt, Snap*.trc and *.dmp files from c10/bin64 directory like once in a month.

Haven't paid attention to these core.xxx files. These core.xxxx files in bin directory are eating up the entire disk space. I also see some .bmf files (like afpmsg_kk.bmf, afpmsg_it.bmf, ansmgs_in.bmf, ansmgs_hu.bmf) in c10/bin directory. Each of these file is like 1 or 2 GB in size. Can these be safely deleted from c10/bin directory ?
Do we have to take back of these files before deleting? If we need to take backup of these files, does last one month files be good enough? Because I see some files from last one or two years.

Any help is appreciated.

Thanks in advance.

Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Join Date: Jul 2005
  • Posts: 11,376
  • Forum Citizenship: +665/-10
  • Cognos Software Muppet
Re: Is it safe to remove Core files
« Reply #1 on: 16 Nov 2020 07:52:13 am »
Hello All,

Ours is a three tier structure with the servers in Linux. Cognos version 10.2.1
On these three dispatchers, I am seeing files core.xxxx (like core.1234, core.4673, core.5714) in c10/bin directory
Usually, we do cleanup heapdump*.phd, javacore*.txt, Snap*.trc and *.dmp files from c10/bin64 directory like once in a month.

Haven't paid attention to these core.xxx files. These core.xxxx files in bin directory are eating up the entire disk space. I also see some .bmf files (like afpmsg_kk.bmf, afpmsg_it.bmf, ansmgs_in.bmf, ansmgs_hu.bmf) in c10/bin directory. Each of these file is like 1 or 2 GB in size. Can these be safely deleted from c10/bin directory ?
Do we have to take back of these files before deleting? If we need to take backup of these files, does last one month files be good enough? Because I see some files from last one or two years.

Any help is appreciated.

Thanks in advance.

Hi,

You can remove these files without doing any damage to your Cognos Analytics instance. They usually get created when a process crashes unexpectedly - often a BIBusTKServerMain process in my experience. If you needed to log a call with IBM support to understand what had caused these crashes, the core dump files could be useful in this diagnosis, so if you're planning on doing this take a backup of them. If not, then just delete them.

Cheers!

MF.
Meep!

Offline Kavya

  • Full Member
  • ***
  • Join Date: Feb 2019
  • Posts: 35
  • Forum Citizenship: +0/-0
Re: Is it safe to remove Core files
« Reply #2 on: 16 Nov 2020 10:21:33 am »
Thank You MF for the reply. I did remove some of the old core files (like 5 months+ old ones) and restarted Cognos services. Till now, I haven't see any issue. I will add this to my regular clean up schedule.

Thanks again !!