My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com









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,
Anwar

84 comments:

  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

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

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  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

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

    Best Mobility Services | Austere Technology Solutions

    ReplyDelete
  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

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

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

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

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

    Best CMA Training in hyd | ISFS

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  35. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot! สล็อต

    ReplyDelete
  36. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it…
    No.1 Software Testing Training institute in Chennai|No.1 Software Testing Training institute in Pallikaranai

    ReplyDelete
  37. Informative article you shared. Thanks for sharing such nice article, keep on updating such good articles.
    Best Python Training Institute in Chennai |Best Python Training Institute in Pallikaranai

    ReplyDelete
  38. This is great and really informative.. I’ll keep following your web and your article, thanks for sharing
    Best Software Testing Training in Chennai | Best Software Testing Training in Velachery

    ReplyDelete
  39. This is great and really informative.. I’ll keep following your web and your article, thanks for sharing..
    Best dotnet Training Institute in Chennai |Best dotnet Training Institute in Velachery

    ReplyDelete
  40. Nice post... Really you are done a wonderful job. Thanks for sharing such wonderful information with us. Please keep on updating...
    Best Hardware and Networking Training Institute in Chennai |Best Hardware and Networking Training Institute in Kanchipuram

    ReplyDelete
  41. Excellent information with unique content and it is very useful to know about the
    information based on blogs...
    Best Tally training Institute in Chennai | Best Tally training Institute in Velachery

    ReplyDelete
  42. very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing

    Best AWS Training Academy in Kanchipuram

    ReplyDelete
  43. Thanks for sharing such an informative article. Hopefully you will continuously share such article.
    Best Python Training Institute in Chennai | Best Python Training Institute in Velachery

    ReplyDelete
  44. Such an excellent and interesting blog, do post like this more with more information, this was very useful, Thank you.
    Tally Training Institute in Chennai | Tally course in Pallikaranai

    ReplyDelete
  45. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it…
    Best Tally Training Institute in Chennai |Best Tally Training Institute in Pallikaranai

    ReplyDelete

  46. The information you have here is really useful to make my knowledge good. It is truly supportive for us and I have accumulated some essential data from this blog.
    Best Linux Training Institute in Chennai | Best Linux Training Institute in Guindy

    ReplyDelete
  47. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…

    Best Web Designing Training Academy in Kanchipuram

    ReplyDelete
  48. Post is very informative… It helped me with great information so I really believe you will do much better in the future.
    Best Software Testing Training Institute in Chennai | Best Software Testing Training Institute in Velachery

    ReplyDelete
  49. Post is very informative… It helped me with great information so I really believe you will do much better in the future.
    Best Java Training Institute in Chennai|Best Java Training Institute in Taramani

    ReplyDelete
  50. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Best Software Testing Training Institute in Chennai | Best Software Testing Training Institute in Velachery

    ReplyDelete
  51. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Graphics Designing & Multimedia Training Institute in Chennai | Graphics Designing & Multimedia Training Institute in Velachery

    ReplyDelete
  52. This is really impressive post, I am inspired with your post, do post more blogs like this, I am waiting for your blogs.
    Best Tally Training Institute in Chennai|Best Tally Training Institute in Velachery

    ReplyDelete
  53. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating...
    Best Microsoft .net Training Institute in Chennai | Best Microsoft .net Training Institute in Velachery

    ReplyDelete
  54. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it…
    Best Tally Training Institute in Chennai | Best Tally Training Institute in Pallikaranai

    ReplyDelete
  55. Really an amazing post..! By reading your blog post i gained more information.
    Best Dotnet Training Institute in Chennai |Best Dotnet Training Institute in Guindy

    ReplyDelete
  56. Your article was so impressive and informative. Its very interesting to read. Thanks for sharing,
    Best web design Training Institute in Kanchipuram

    ReplyDelete
  57. The information which you have provided is very good. It is very useful who is looking for selenium training

    ReplyDelete
  58. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it…
    AWS Exam Centre in Chennai |
    AWS Exam Centre in Perugudi

    ReplyDelete
  59. This comment has been removed by the author.

    ReplyDelete
  60. Excellent post. I have read your blog it's very interesting and informative. Keep sharing.
    Best JAVA / J2EE / J2ME Course Training Institute in kanchipuram|

    ReplyDelete
  61. Nice post.. Really you are done a wonderful job. Thanks for sharing such wonderful information with us. Please keep on updating...
    Best C & C++ Course Training Institute in kanchipuram|

    ReplyDelete
  62. Very nice post here and thanks for it .I always like and such a super blog of these post.Excellent and very cool idea and great blog of different kinds of the valuable information's.
    Best Tally Erp 9.0 Course Training Institute in kanchipuram|

    ReplyDelete