LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   file size limit exceeded (https://www.linuxquestions.org/questions/linux-software-2/file-size-limit-exceeded-588583/)

arunachalam 10-01-2007 05:10 AM

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

tronayne 10-01-2007 07:01 AM

Is your daemon writing to a log file (in, say, /var/log)? If that's the case, you might want to look at logrotate.

arunachalam 10-01-2007 07:29 AM

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

tronayne 10-01-2007 09:16 AM

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.


All times are GMT -5. The time now is 05:59 AM.