I have a script that I am trynig to add a ulimit to. It is used to make an
export of an oracle database nightly for backups. I have found the problem
to be in ulimit. When I try to run the script from the command line it
works fine, but from cron it dies.
Export: Release 8.1.7.0.0 - Production on Mon Feb 19 12:55:00 2001
(c) Copyright 2000 Oracle Corporation. All rights reserved.
EXP-00056: ORACLE error 1034 encountered
ORA-01034: ORACLE not available
ORA-27102: out of memory
Compaq Tru64 UNIX Error: 12: Not enough space
Additional information: 1
Additional information: 259
EXP-00005: all allowable logon attempts failed
EXP-00000: Export terminated unsuccessfully
If I put the following inside the script
ulimit -v 7340032
I get the following running from cron.
Usage: ulimit [-H | -S] [-a | -c | -d | -f | -h | -m | -n | -s | -t] [limit]
It is like the -v flag is not there... but that is a valid flag. It can
handle all my other ulimits, and I can run that ulimit command from the
command line.
Ideas?
--Brian
Received on Mon Feb 19 2001 - 19:35:48 NZDT