LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2005, 02:58 AM   #1
yoursmile
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Rep: Reputation: 15
core.xxxx ?


OS£ºred hat 9.0

I find too many files in root directory .

[root@localhost /]# ll |more
total 3082181
drwxr-xr-x 2 root root 4096 May 30 23:45 bin
drwxr-xr-x 4 root root 1024 May 30 22:33 boot
-rw------- 1 root root 442368 Jun 21 10:52 core.1002
-rw------- 1 root root 446464 Jun 21 10:52 core.1003
-rw------- 1 root root 438272 Jun 21 10:52 core.1004
-rw------- 1 root root 442368 Jun 21 10:52 core.1005
-rw------- 1 root root 446464 Jun 21 10:52 core.1007
-rw------- 1 root root 442368 Jun 21 10:52 core.1010
-rw------- 1 root root 446464 Jun 21 10:52 core.1011
-rw------- 1 root root 438272 Jun 21 10:52 core.1012
-rw------- 1 root root 442368 Jun 21 10:52 core.1013
-rw------- 1 root root 446464 Jun 21 10:52 core.1015
-rw------- 1 root root 442368 Jun 21 10:52 core.1018
-rw------- 1 root root 446464 Jun 21 10:52 core.1019
-rw------- 1 root root 438272 Jun 21 10:52 core.1020
-rw------- 1 root root 442368 Jun 21 10:52 core.1021
-rw------- 1 root root 446464 Jun 21 10:52 core.1023
-rw------- 1 root root 442368 Jun 21 10:52 core.1026
-rw------- 1 root root 446464 Jun 21 10:52 core.1027
-rw------- 1 root root 438272 Jun 21 10:52 core.1028
-rw------- 1 root root 442368 Jun 21 10:52 core.1029
-rw------- 1 root root 442368 Jun 21 10:52 core.1033
-rw------- 1 root root 446464 Jun 21 10:52 core.1034
-rw------- 1 root root 438272 Jun 21 10:52 core.1035
-rw------- 1 root root 446464 Jun 21 10:52 core.1036
-rw------- 1 root root 442368 Jun 21 10:52 core.1037
-rw------- 1 root root 446464 Jun 21 10:52 core.1041
-rw------- 1 root root 438272 Jun 21 10:52 core.1042
-rw------- 1 root root 446464 Jun 21 10:52 core.1043
-rw------- 1 root root 442368 Jun 21 10:52 core.1044
-rw------- 1 root root 442368 Jun 21 10:52 core.1045

why? how to avoid ?
 
Old 06-24-2005, 07:10 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Core dumps are used by the developers for debugging an executable.
They are created when programs crash.
First, delete all these files.
Then, to avoid creation of these files, you need to restrict the core dump size before the desktop initialises.
ulimit -c 0 will let you disable creation of cores, but this will only apply to processes launched from this particular instance of the bash shell.
You need to restrict core dump size before the desktop initialises, so you have to put this line in the beginning of ~/.xsession or /etc/X11/Xsession file.
 
Old 06-26-2005, 08:47 PM   #3
yoursmile
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by hfawzy
Core dumps are used by the developers for debugging an executable.
They are created when programs crash.
First, delete all these files.
Then, to avoid creation of these files, you need to restrict the core dump size before the desktop initialises.
ulimit -c 0 will let you disable creation of cores, but this will only apply to processes launched from this particular instance of the bash shell.
You need to restrict core dump size before the desktop initialises, so you have to put this line in the beginning of ~/.xsession or /etc/X11/Xsession file.
Thank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
core.XXXX files? Ha1f Linux - General 3 07-21-2005 06:44 AM
Synaptic is to apt-get as xxxx is to URPMI... Kujila Linux - Software 1 02-05-2004 02:59 PM
bash:xxxx:command not found sandiegon Red Hat 6 09-04-2003 11:58 PM
RX bytes: xxxx stop incrementing gyu Linux - Networking 1 03-10-2003 09:42 AM
tar, cannot change mode to XXXX bit7 Linux - Software 3 02-12-2003 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration