Cannot open files larger than 2GiB with a message "errno:27[File too large]". How to open the file?

Solution Verified - Updated -


  • In my system, vi editor can open files larger then 2GiB but my application could not open it with an error message:

    errno:27[File too large]
  • What is the reason? How to open the files?


  • Red Hat Enterprise Linux all x86 versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In