Hep me---File size limit exceeded--error
Hi,
I am running a tool and its output is a text file,the tool stops throwing the error 'file size limit exceeded' once the size of file reaches 2GB. file system is ext3 and Linux OS is Red hat enterprise AS Please Suggest me a Linux OS version which supports LFS |
Hi, and welcome to LQ,
And what do you mean when you say LFS, Linux from Scratch? And what is the tool you're using? Cheers, Tink |
Quote:
The command ulimit says its unlimited and there is no quota set and am logged in as root I know the output file will come more than 4 GB but it stops after 2GB throwing the error 'file size limit exceeded' Thanks Ratheesh |
If ulimit is not the problem, then the problem is with the third party tool.
If it was written in C (which is quite likely), then they probably did not compile it to use LFS. Many developers either are unaware that they need to do something special to allow files to be larger than 2GB, or (worse) they are unaware that their customers might need to deal with files that large. |
Quote:
|
It is almost certain that your system has Large File Support. But "almost certain" isn't good enough, I'm sure. (grin)
Run the following shell script. It will create a C program, compile it, and run it. That C program will attempt to create a file called data which is slightly over 2GB. If _FILE_OFFSET_BITS had not been defined, that program would have failed. Hope this helps. Code:
#!/bin/sh |
Quote:
Hi, Thanks To all I have run the command dd if=/dev/zero of=largefile bs=100M count=21 Which created file greater than 2GB so i can confirm that tool is having problem.... Again thanks to all for kind help... and please let me know if there is more info. on this Thanks and Regards Ratheesh |
All times are GMT -5. The time now is 05:39 AM. |