LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2003, 06:49 PM   #1
pshepperd
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Disabling core dumps in mandrake


I have a program running in a wrapper I found which restarts it when it goes down. I can make it go down from within the software on purpose but my problem is that it generates huge >200mb core dumps.

How do i disable core dumps in mandrake 9.1 or any other distrobution?
My app autostarts via a perl script in KDE autostart.

THANKS for your help ladies and gents!
 
Old 09-26-2003, 07:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"How do i disable core dumps in mandrake 9.1 or any other distrobution?"

I am not certain but i think that you need to put the following command in /home/user/.profile and /root/.profile

ulimit -c 0


See:
man bash
for a description of ulimit.

Also, Mandrake most likely sets your user variables in .profile but it could use .bashrc
 
Old 09-26-2003, 10:16 PM   #3
pshepperd
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
eh ill put that into my script...will probably do the same thing...lets hope so...there are people using my app so i cant test it quite yet. but soon i will. thanks for the info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disabling boot image in Fedora Core 2 coolfrog Fedora 2 10-22-2004 11:09 AM
Does limewire cause x server core dumps, or have I been hacked? cyberdwarf Linux - Software 0 07-01-2004 02:52 PM
installing Fedora Core 2- disabling IRQ #10 loop message Sardaukar Linux - Newbie 1 06-05-2004 07:55 PM
Reading Core Dumps bru Linux - General 3 05-07-2004 08:19 PM
Upgraded glibc to 2.3; now rpm segfaults/dumps core nfisk Linux - Software 0 08-26-2003 05:50 PM


All times are GMT -5. The time now is 07:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration