Problem
Root and non-root users are unable to write to a file larger than 1073741312 bytes (1 Gigabyte).
Solution
The maximum file size that can be written in OpenServer 5.0.0 is
2GB (4194303 512 byte blocks). The default value is 2097152 (1GB
measured in 512 byte blocks). The ULIMIT parameter controls the
host's maximum value.The user's current ULIMIT value can be determined by invoking 'ulimit -f', which is reported in 512 byte blocks. The maximum size allowable for ULIMIT is configured into the kernel.
The default login ULIMIT is configured in /etc/default/login.
The root user is affected by this limit.
In order to change the ULIMIT configured into the kernel, it is
necessary to use the configure(ADM) utility and then relink the
kernel for this change to take effect. Verify that no users are
on the system and then shut down the computer into System
Maintenance mode (shutdown -y -g0 -i1).Once in System Maintenance mode, to configure the kernel, you can
cd /etc/conf/cf.d and then run the configure(ADM) utility
directly (./configure).Once you are running the configure(ADM) utility, select option
"7. User and group configuration".Press <Enter> on each entry until you reach the parameter ULIMIT.
Press <Enter> for all other values you do not wish to change.
After you have updated the kernel parameter, relink the kernel
by invoking ./link_unix from /etc/conf/cf.d.Now edit the entry for ULIMIT in /etc/default/login to the default value you want for your users.
Reboot the system.If you wish to restrict the maximum files' size further for some users, you can edit the startup profile (.profile or .login) for that user and reset ULIMIT there.