1827286 Members
1776 Online
109717 Solutions
New Discussion

Large Files

 
SOLVED
Go to solution
A.G.M. Velthof
Valued Contributor

Large Files

We have a rp2470 system, running hpux11.11.
The filesystems are for large files.
When running Ansys and the outputfile > 2GB the result is ok.
When starting Ansys with the at command the program crashes with "write error possible full disk".
Anyone any Idea?

Greetings, Alfons
9 REPLIES 9
RAC_1
Honored Contributor
Solution

Re: Large Files

As the message says, is the FS full??
IS the required space available on FS??

Also at runs with a very minimal environment. May be ulimit is coming into picture. Ream the man page of proto. The file is /var/adm/cron/.proto. In this you can specify the ulimit file size limit. you may also want to execute the at with -f option and secify all ulimit options in that.

ulimit -f unlimited

Anil
There is no substitute to HARDWORK
Jean-Luc Oudart
Honored Contributor

Re: Large Files

Seems to me this has to do with ulimit
1) What value do you have for ulimit ?
with the at command ?

2) What shell do you use (POSIX or Korn) ?

Regards
Jean-Luc
fiat lux
Bill Hassell
Honored Contributor

Re: Large Files

The at command is just like cron--no login! So none of your 'normal' environment is present when the job runs. That means PATH is minimal and no special settings (variables) are present. The outputfile may not have a fullpath setup (never a good idea for cron or at). The complete environment for cron/at is:

HOME=user's-home-directory
LOGNAME=user's-login-id
PATH=/usr/bin:/usr/sbin:.
SHELL=/usr/bin/sh

Nothing else. You'll have to determine what Ansys requires then add these values to your Ansys script.


Bill Hassell, sysadmin
A.G.M. Velthof
Valued Contributor

Re: Large Files

There is plenty of space on the fs.
Without the at command it runs fine.
I have already found the .proto file and started the Ansys program.
I will let You know the result.

Greetings, Alfons
Franky_1
Respected Contributor

Re: Large Files

Hi,

seems that the limitation lies in the at command itself
I've tried to reproduce the error and only when using the at command the procedure stops. Calling the program from the shell or starting it using cron works just fine
So i would give it a try using cron

Regards

Franky
Don't worry be happy
Geoff Wild
Honored Contributor

Re: Large Files

May be a patch:

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_26562&context=hpux:800:11:11

( SR:8606179733 CR:JAGad48956 )
at/cron jobs are not able to create large files.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
A.G.M. Velthof
Valued Contributor

Re: Large Files

The Ansys program works fine no with the at
command.

Thanks to all,

regards, Alfons
RAC_1
Honored Contributor

Re: Large Files

A.G.M. Velthof,

Can you elaborate on how exactly you resolved it?? this could be helpful to other team members.

Anil
There is no substitute to HARDWORK
Tom Danzig
Honored Contributor

Re: Large Files

Actually, at jobs DO take on the environment of the shell that runs the at command. You can verify this by scheduling a command with at and then looking at the actual at job file stored in /var/spool/cron/atjobs/

You will see all of the shells enivironment defined in there.