My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping

Thursday, November 3, 2011

error: 452 Error writing:file larger than ulimit set

error: 452 Error writing file: A file cannot be larger than the value set by ulimit

Once I wanted to transfer file from a MAC machine to AIX 64 bit machine. It was an archived file. But after a few seconds of transfer, an abrupt notification of File size exceed was observed. It took me a while, but when the cause was found, I smiled. It was due to a basic setting in Unix based OSes.
The error seen was “Error Writing File : A file cannot be larger than the value set by ulimit”

So here comes the trick of Changing the maximum allowed file size (ulimit)
You cannot create or copy a file that is larger than the limit allowed by ulimit. The profit achieved by this restriction is that it prevents runaway processes from taking up too much disk space.

If you have to work with a file that exceeds the set limit, you must change the default user limit size.
It may be important to note at this point of discussion that the ulimit cannot exceed the values of the SFSZLIM and HFSZLIM tunable parameters.

In addition, do also note that the changed user limit is in effect for the current session only.
1. Use the su command to become root.
2. To view your current limit in blocks, enter:
ulimit -a
3. To set your limit to the new size for the current session, enter:
ulimit [-f] new_size< You can also permanently change your file size limit by setting the new limit in the /etc/profile or the /etc/default/login file. error: 452 Error writing file: A file cannot be larger than the value set by ulimit When trying to transfer a very big file (over ftp for example), you'll receive the error above, this limit is a security limit in AIX and you can solve it by simply editing the /etc/security/limits file and increasing the "fsize" limit or simply changing it to "-1" to be unlimited, and then retry your transfer, you don't have to restart the machine for changes to take effect. This problem have occurred to many as seen over the Internet. Many have reported to see this problem for the first time when they were trying to copy Oracle installer (of size : 1238844 KB) from Windows box to AIX 5.2 box through ftp and it throwed the following The error as already pointed was --" 452 Error writing file: A file cannot be larger than the value >set by ulimit."

Many have reported that they changed the ulimit value to unlimited and then tried copying even after
that the same error was thrown.
Then they changed fsize value in /etc/security/limits file.
Then I tried copying the Oracle installer and it was successful.

It should be remembered here that the problem here is the file system on AIX is JFS (Journalled File
System) and it supports files of size <=2GB. So, if we want to have a file
of size more than 2 GB we need to change the file system to Extended
Journalled File System.

Wish yo all the best,


  1. The future of software testing is on positive note. It offers huge career prospects for talented professionals to be skilled software testers. Software testing training|Software training|Software testing training in chennai

  2. Great article Glad to find your blog. Thanks for sharing.
    software training in chennai

  3. Very Nice Blog I like the way you explained these things.
    Indias Fastest Local Search Engine
    Indias Leading Local Business Directory

  4. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

  5. I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. Keep updating.
    MSC Project Center in Chennai | MSC Project Center in Velachery

  6. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Best Java Training Institute Chennai

  7. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    aws training in Chennai

  8. Thanks for this information; I hope it will use much reader who looking you frequently likes me…
    Summer Course Training Institute in Chennai | Summer Course Training Institute in Madipakkam

  9. Interesting post! This is really helpful for me. I like it! Thanks for sharing..Technical Workshop in Chennai | Technical Workshop in Velachery

  10. Good day! This is kind of off topic but I need some help from an established
    blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things
    out pretty quick.
    Good Summer Courses for Hardware Networking | Best Summer Course in Chennai

  11. Nice read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch since I found it for him smile Therefore let me rephrase that: Thanks for sharing...
    Good Vecation classes in Chennai | Best Summer Course in Guindy

  12. This blog is really useful and it is very interesting thanks for sharing, it is really good and exclusive..
    Best Summer Courses for School Students in Chennai | Best Summer Courses for School Students in Velachery

  13. Great article, really very helpful content you made. Thank you, keep sharing.

    Best Mobility Services | Austere Technology Solutions

  14. Needed to compose one little word yet thanks for the suggestions that you are contributed here, would like to read this blog regularly to get more important stuff...
    Best Online Software Training Institute | Angular 6 Training