1823114 Members
3253 Online
109646 Solutions
New Discussion юеВ

crontab and nfs problem

 
щЩИчлЛшЩ╣
New Member

crontab and nfs problem

hp-ux b.11.00,9000/800,oracle 8i.
the crontab are shell programs that read sth. from oracle and write results to a file named
xxxx that is on other server through nfs.
problem:
the shell programs execute very slowly and some
even can't exit normally.why?
suitor23
4 REPLIES 4
RAC_1
Honored Contributor

Re: crontab and nfs problem

Your starting point should be nfs directories.

Can you create/write on these nfs directories with problems?

If no crontab scripts will have same problem writing to nfs directories.

how you have mounte nfs directories. Post the options.
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: crontab and nfs problem

Your starting point should be nfs directories.

Can you create/write on these nfs directories without problems?

If no crontab scripts will have same problem writing to nfs directories.

how you have mounte nfs directories. Post the options.
There is no substitute to HARDWORK
Bill Hassell
Honored Contributor

Re: crontab and nfs problem

What happens when you run these jobs manually (ie, wuthout using cron?) Remember that cron never logs in...it runs on behalf of the owner of the cron job (ie, oracle) but does NOT inherit any of the standard environment seen with an interactive login. So if running manually works OK, you are likely seeing problems with unset enviroment values.


Bill Hassell, sysadmin
щЩИчлЛшЩ╣
New Member

Re: crontab and nfs problem

my englist is poor!sorry

1.the environment is ok.
2.in the nfs directory,i can mv files to other directories or change the file name.
3.but when i use vi to create a new file,it is very slowly,that is,i can't use
"wq" to exit.
4.execute the job manually:sometimes ok,sometime failed.

i think may be:

1.the network performance
2.the server performance
suitor23