LinuxQuestions.org
Review your favorite Linux distribution.
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 04-11-2002, 10:13 AM   #1
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
Unhappy File Size limits


OK, here is my situation. At work, I built a new Linux machine. It is being used primarily as a MySQL database server. I am running Red Hat 7.2. I have a 150GB RAID5 partition setup to store the data. The file system is ext3. The problem is, I tried to FTP a large (3GB+ ) file over to the server so I could add it to the database. Around 2/3 of the way through it quit with an error message about "file size limit exceeded.." I don't remember the exact message. Anyway, I was thinking the 2.4 kernel fixed the 2GB limitation. Anyone have any thoughts on this? I was pretty much forced to use RedHat because I had to have drivers for the RAID controller. The strange thing is that Some of my database files are already over 2GB and I have not had any problems with those. Any help would be appreciated.
 
Old 04-11-2002, 01:47 PM   #2
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
forgot to mention..

I am running the default Red Hat 7.2 Kernel. 2.4.7-10 I think. From what I have read, ext2 has full support for large files so shoulddn't ext3 have the same support? Only other possibility is that I am missing support in the kernel. I'm not sure if LFS is on by default or not. Anyone have any ideas?
 
Old 04-12-2002, 05:13 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
There is a default filesize limit in Linux, which can be changed with the ulimit command. Do ulimit -a to view your current limits, including filesize. I seem to recall that a file size limit of "unlimited"can be misleading, as some limit (2G?) is still applied. It's probably better to set the limit to some numeric value. Read the information regarding changing the limit on this site.

Last edited by DMR; 04-12-2002 at 05:15 PM.
 
Old 04-15-2002, 08:23 AM   #4
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Thanks...

But does root have a limit applied? I can uinderstand how normal users would have a limit, but I don't see how root would. Anyway, when I do the command "ulimit -a" almost everything is "unlimited", including filesize. I am going to try setting a bigger value.

Thanks.
 
Old 04-15-2002, 10:25 AM   #5
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Thanks...

***********Sorry . Double post******************

Last edited by ascii2k; 04-15-2002 at 01:38 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition size limits pedromdsantos Linux - General 7 07-01-2005 03:56 PM
Configure mailbox size limits email server...please help! locoiguana Linux - Software 7 05-11-2005 04:15 AM
Quotas and File Size Limits wenberg Slackware 1 12-02-2004 04:40 AM
Samba User Home Drive Size Limits sunnyee Linux - Networking 3 07-13-2004 06:57 PM
HD size limits under slackware horndude Slackware 6 02-10-2004 07:34 PM

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

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