LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-01-2005, 11:23 PM   #1
FoxyLad
LQ Newbie
 
Registered: Apr 2004
Location: New Zealand
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
50M user file size limit


I have an application that fields inbound mail from Postfix and processes it into a database. It also spools a copy into a log file in the user's home directory - the .forward file for the user that the mail comes in for is...

"| tee -a /home/weblink/mail.log | /usr/local/bin/weblink_mpa localhost"

The problem is that the mail.log file is hitting a limit at 50M (51200000 to be precise), and no more is added to it. Where is this limit set, and how do I change it?

This is Redhat AES 3 and postfix-2.0.16-14.RHEL3.

Thanks for listening!

Greg.

Linux version 2.4.21-27.0.1.ELsmp (bhcompile@bugs.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 SMP Mon Dec 20 18:47:45 EST 2004
 
Old 02-02-2005, 12:14 AM   #2
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
I haven't used it, but it probably has something to do with disk quotas. Perhaps you could use "quotacheck".

-- the dudeman
 
Old 02-02-2005, 01:32 AM   #3
FoxyLad
LQ Newbie
 
Registered: Apr 2004
Location: New Zealand
Distribution: Red Hat
Posts: 2

Original Poster
Rep: Reputation: 0
Running quota as the user shows:

Disk quotas for user weblink(uid 500): none

I did some more research, and found out about ulimit. It shows:

ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 4
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

So neither of these show a 50M limit. Any more ideas?

Thanks!

Greg.
 
Old 02-02-2005, 07:53 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

maybe something to do with "logrotate" or "syslog" config...

Oliv'
 
Old 02-02-2005, 08:04 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
My advice would be, set this up for log rotation so the file doesn't even get that big in the first place. Trying to deal with files that large or even larger become useless to you at times, especially log files.

And what is this so-called application that spools the log file into the users home directory? I would think since your kernel and system have no file limits, it would be this application. Postfix as far as I know would not do this by default either.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user/folder size limit dfcc Linux - Software 5 10-08-2005 05:56 AM
limit file size ust Linux - General 2 02-24-2005 07:33 AM
File Size Limit?? Manuel-H Linux - Software 1 04-16-2004 03:23 AM
File size limit petway56 Linux - General 4 05-07-2003 11:19 PM
file size limit jaysan Slackware 5 07-12-2002 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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