LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-01-2007, 05:10 AM   #1
arunachalam
Member
 
Registered: Sep 2005
Posts: 53

Rep: Reputation: 15
file size limit exceeded


hello ,

When i start a daemon, I am getting File Size limit exceeded. I am using suse linux. Can i know how to resolve this.


Thanks in advance,
Arunachalam
 
Old 10-01-2007, 07:01 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Is your daemon writing to a log file (in, say, /var/log)? If that's the case, you might want to look at logrotate.
 
Old 10-01-2007, 07:29 AM   #3
arunachalam
Member
 
Registered: Sep 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Hello tronayne,

thanks for the reply.

you mean if log files are huge, then if i try to do fopen , then it is a problem

Arunachalam
 
Old 10-01-2007, 09:16 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
you mean if log files are huge, then if i try to do fopen , then it is a problem
Uh, yeah.

You're getting an error that tells you that you have a file that's too big; find it, either delete it or empty it with
Code:
cat > file
^D
If you don't know how to find large files, here's a way to do that:
Code:
su -
<root password>
find / -size +1G -exec ls -l {} \;
That will find files greater than 1 G in size; if you don't find any that way, change 1G to 500M.
 
  


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
File size limit exceeded sidra Red Hat 17 04-09-2007 01:51 PM
File size limit exceeded debeus Slackware 4 11-07-2006 10:36 AM
File size limit exceeded wfernley Linux - Software 5 07-21-2006 03:31 PM
File size limit exceeded npuetz Linux - General 5 10-06-2004 07:34 AM
File size limit exceeded... Faeroon Linux - General 20 01-02-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 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