* SUMMARY: Ulimit Question
@ 2001-02-19 19:47 BrianH
0 siblings, 0 replies; only message in thread
From: BrianH @ 2001-02-19 19:47 UTC (permalink / raw)
To: tru64-unix-managers
Wow! that was fast...
Thanks to:
Bob Sloane
David J. DeWolfe [sxdjd@java.sois.alaska.edu]
Gavin Kreuiter [gavin@transactive.usko.com]
Gavin hit it right on the head:
ulimit is usually a shell built-in function. check which shell you're using
on the command line; cron normally uses the default Bourne shell.
I just added a #!/usr/bin/ksh and everything is working great.
--Brian
-----Original Message-----
From: Brian Hostetter
Sent: Monday, February 19, 2001 1:34 PM
To: tru64-unix-managers@ornl.gov
Subject: Ulimit Question
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-02-19 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-19 19:47 SUMMARY: Ulimit Question BrianH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox