LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   File Size limits (https://www.linuxquestions.org/questions/linux-general-1/file-size-limits-18290/)

ascii2k 04-11-2002 10:13 AM

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.

ascii2k 04-11-2002 01:47 PM

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?

DMR 04-12-2002 05:13 PM

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.

ascii2k 04-15-2002 08:23 AM

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.

ascii2k 04-15-2002 10:25 AM

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


All times are GMT -5. The time now is 01:49 PM.