Operating System - HP-UX
1835912 Members
2638 Online
110086 Solutions
New Discussion

2GB size limitation using the "at" command

 
Leo Rojas
Occasional Contributor

2GB size limitation using the "at" command

Is there a 2GB size limitation using the "at" command in 11.0? Even when I do a copy command using "at" it stops a 2GB, however when I don't use the "at" command I can run the same copy with files greater than 2GB's.
5 REPLIES 5
Cheryl Griffin
Honored Contributor

Re: 2GB size limitation using the "at" command

There are some commands that are limited to a 2 gig limit, as documented in the release notes in /usr/share/doc/10.20RelNotes or 11.0RelNotes.

Also, make sure that largefiles is enabled on the filesystem. There is also a white paper for this in /usr/share/doc/lg_files.txt.
"Downtime is a Crime."
James R. Ferguson
Acclaimed Contributor

Re: 2GB size limitation using the "at" command

Leo:

There have been many recent discussions on this. Do a search in the forums for "2GB" and "at". Hope this helps.

...JRF...
Stefan Farrelly
Honored Contributor

Re: 2GB size limitation using the "at" command


I think this is a problem caused by ulimit for your shell. There are a few possible workarounds;

1. Modify the file /var/adm/cron/.proto to change the line ulimit $1 to ulimit 4194303 or ulimit unlimited
2. change your shell to ksh and run ulimit unlimited before sudmitting the at job
3. do ulimit unlimited in your .profile
Im from Palmerston North, New Zealand, but somehow ended up in London...
Rita C Workman
Honored Contributor

Re: 2GB size limitation using the "at" command

I would double check first that you have set up the file system as 'largefiles'. You can check this by doing:
# fsadm /dev/vg_name/rlvol_name (This will display largefiles or nolargefiles)
To change it to largefiles do:
#fsadm /dev/vg_name/rlvol_name
#umount /file_sys
#fsadm -o largefiles /dev/vg_name/rlvol_name (This changes it to largefiles..and you
then need to change your etc/fstab to reflect largefiles also)
Regards,
Leo Rojas
Occasional Contributor

Re: 2GB size limitation using the "at" command

I think my parameter settings for large files are correct because I don't have any problems copying files greater than 2G by themselves, but when I use the "at" command then it stops at 2. Any other suggestions?PLEASE...