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

  15. Really an amazing post..By reading your blog post i gained more information.MatLab Project Center in Chennai | MatLab Project Center in Velachery

  16. Thank you for your information. I have got some important suggestions from it. Keep on sharing.
    No.1 MCSE and MCSA Certificate Exam Centre in Chennai |No.1 MCSE and MCSA Certificate Exam Centre in Chennai.

  17. Excellent information with unique content and it is very useful to know about the information based on blogs...
    Best Python Certificate EXAM Center in Chennai| Best Python Certificate EXAM Center in Velachery

  18. Great article. Really impressed by the technology. Thanks for sharing the valuable info and keep updating..DotNet Project Center in Chennai | DotNet Project Center in Velachery

  19. Those guidelines additionally worked to become a good way to
    recognize that other people online have the identical fervor like mine
    to grasp great deal more around this condition.

    white label website builder

  20. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work.
    Image Processing Project Center in Chennai | Image Processing Projects in Velachery

  21. Great post. Wonderful information and really very much useful. Thanks for sharing and keep updating.
    selenium training in chennai|aws training in chennai|python training in chennai

  22. Great article. Really impressed by the technology. Thanks for sharing the valuable info and keep updating..VLSI Project Center in Chennai | VLSI Project Center in Velachery

  23. Your blog is really amazing with useful information you are shared.Thank you so much for sharing such an wonderful article with us..keep updating....Mobile Computing Project Center in Chennai | Mobile Computing Projects in Velachery

  24. Great post. Wonderful information and really very much useful. Thanks for sharing and keep updating.
    java training in chennai
    java course in chennai

  25. Thanks for sharing your informative and impressive blog with us.keep updating..Embedded Project Center in Chennai | Embedded Project Center in Velachery

  26. Wow...Excellent informative blog, really helpful. Thank you.

    Best CMA Training in hyd | ISFS

  27. Your article gives lots of information to me. Thanks for sharing.
    acca course in hyderabad | ISFS

  28. Really very happy to say that your post is very interesting .I never stop myself to say something about it.You did a great job.Keep it up.
    We have an excellent IT courses training institute in Hyderabad. We are offering number of courses that are very trendy in the IT industry. For further information, please once go through our site.
    Python Training in Hyderabad

  29. I am really enjoying reading your well written articles.
    It looks like you spend a lot of effort and time on your blog.
    I have bookmarked it and I am looking forward to reading new articles.Keep up the good work..
    PHP Training in Chennai
    DOT NET Training in Chennai
    Big Data Training in Chennai
    Hadoop Training in Chennai
    Android Training in Chennai
    Selenium Training in Chennai
    Digital Marketing Course in Chennai
    JAVA Training in Chennai
    Java training institute in chennai

  30. This is really impressive post, I am inspired with your post, do post more blogs like this, I am waiting for your blogs.
    aviation courses in Bangalore
    aviation institute in Bangalore
    aviation courses
    airline courses

  31. Want to have fun and get paid for it? we have bonus slot machines .Come to us and have fun getting money for it.

  32. In the beginning, I would like to thank you much about this great post. Its very useful and helpful for anyone looking for tips. I like your writing style and I hope you will keep doing this good working.
    Data Science Course in Chennai
    Data Science Training in Chennai
    Blue Prism Training Chennai
    AWS Training in Chennai
    Digital Marketing Course in Chennai
    Data Science Training in Porur
    Data Science Training in Adyar
    Data Science Training in Velachery

  33. Hi, today I decided to find some kind of part-time job on the Internet at home and found this site slapping play real casino online
    at first I was afraid I was afraid that they would be deceived but I certainly took a chance and did not regret it, now I want to share with you

  34. Гибкая світлодіодна лента лучшая на рынке, я обычно покупа в Экодио, лучше не найти.