1748149 Members
3456 Online
108758 Solutions
New Discussion юеВ

not enogh space

 
doug mielke
Respected Contributor

not enogh space


I get the following error on an N class w/8 gig ram.

Below the error are parms from /stand/system and swapinfo.

There are many references on this site re: the error, but most point to swap or some of the mem parms. I doubled my swap, and raised a bunch more, a bunch.
I started with the tuned HP kernel for dbase servers, and have been raising some parms, but none have helped.

I'm assuming I should ignore the Java error, since the no space error occurs first, but our DBA's are looking into that one anyway.





==============================================


Error shl_load failed for: /filer/PATO/u01/oracle/product/8.0.5/lib/liboci805jdbc.sl, [errno 8: Exec format error]
/usr/lib/dld.sl: Call to mmap() failed - TEXT /filer/PATO/u01/oracle/product/8.0.5/lib/liboci805jdbc.sl
/usr/lib/dld.sl: Not enough space
java.lang.UnsatisfiedLinkError: no oci805jdbc in shared library path
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:142)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at oracle.apps.ak.Parameters.(Compiled Code)
at oracle.apps.ak.akload.main(akload.java:30)
Exception in thread "main"

+++=====================================+++++

Tunable parameters

NSTREVENT 200
NSTRPUSH 64
NSTRSCHED 4
STRCTLSZ 4096
STRMSGSZ 13170
bufcache_hash_locks 256
bufpages (NPROC*4)
dbc_max_pct 2
dbc_min_pct 2
maxdsiz 0X040000000
maxfiles 4096
maxfiles_lim 4096
maxssiz 0X16000000
maxssiz_64bit 0X16000000
maxswapchunks 5000
maxtsiz 0X16000000
maxtsiz_64bit 0X0000000080000000
maxuprc ((NPROC*9)/10)
maxusers 250
maxvgs 80
modstrmax 900
msgmap (MSGTQL+2)
msgmax 32768
msgmnb 65535
msgmni (NPROC)
msgseg (MSGTQL*4)
msgssz 128
msgtql (NPROC*10)
nfile (15*NPROC+2048)
nflocks (NPROC)
ninode (8*NPROC+2048)
nproc ((MAXUSERS*3)+64)
nstrpty 60
nstrtel (MAXUSERS)
nswapdev 25
semmni (NPROC*5)
semmns (SEMMNI*2)
semmnu (NPROC-4)
semume 64
semvmx 32768
shmmax 0X160000000
shmmni 1024
shmseg 64
swapmem_on 0
timeslice 100
unlockable_mem (MAXUSERS*10)



++======================================++
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 1024000 0 1024000 0% 0 - 0 /dev/vg01/lvoltmp
dev 4194304 0 4194304 0% 0 - 0 /dev/vg01/lvoltmp2
reserve - 1408988 -1408988
total 9412608 1408988 8003620 15% - 0 -

12 REPLIES 12
doug mielke
Respected Contributor

Re: not enogh space

...and, I'm not sure it matters, but this, like most of our other Oracle dbases are running on a NAS filer.
Steven E. Protter
Exalted Contributor

Re: not enogh space

Not suer ists a space problem.

Swap isn't bein used at all.

/filer/PATO/u01/oracle/product/8.0.5/lib/liboci805jdbc.sl
/usr/lib/dld.sl: Not enough space

Is your SHLIB_PATH in the startup or java script right?

Is java fully patched?
http://www.hp.com/go/java

SEP


Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: not enogh space

Your shmax seems a bit low - though I don't think it's the issue:

Mine is:

shmmax 0x400000000

Also:

maxssiz 0x800000
maxssiz_64bit 0x40000000
maxswapchunks 16384 maxtsiz 0x4000000
maxtsiz_64bit 0x40000000


It does sound like a java problem and/or patches - you sure you have the right java installed?

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.
doug mielke
Respected Contributor

Re: not enogh space

uh oh. Am I sure we have the right Java installed?

Certainly not. Every time a DBA/consultant/vendor touches this system, they seem to 'need' a different version, so now, we have many stashed in various places.

I'll start looking at the path.
Sanjay_6
Honored Contributor

Re: not enogh space

Hi,

check the permission of the file "/filer/PATO/u01/oracle/product/8.0.5/lib/liboci805jdbc.sl".

It should have execute permissions (555).

Hope this helps.

Regds
Indira Aramandla
Honored Contributor

Re: not enogh space

Hi Doug,

For errors such as /usr/lib/dld.sl: Call to mmap() failed - TEXT :Not enough space.

Check the SHLIB_PATH as it contains a reference to $ORACLE_HOME/lib. The problem could be due to the dependencies to the system libraries.

Have you relinked the executables after installing software. It is a good custom to relink the executables as part of the installation.

Oracle metalink says there are some issues with liboci805.sl on HP system. Check to see if the shared library liboci805jdbc.sl exists in $ORACLE_HOME/lib. On HP the files are compressed and need to be uncompressed using the utility 'oiuncomp'
% $ORACLE_HOME/orainst/oiuncomp liboci805jdbc.sl_

Check the kernel parameters
shmmax
shmmni
maxtsiz
maxdsiz
maxssiz


I hope this helps.

Indira A

Never give up, Keep Trying
Yogeeraj_1
Honored Contributor

Re: not enogh space

hi,

it must be related to the settings of your enviroment variables. Maybe you can post or review them them.

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Kent Ostby
Honored Contributor

Re: not enogh space

The key error appears to be the "errno 8"

ENOEXEC 8 /* Exec format error */

[ENOEXEC] Exec format error. A request is made to execute a file
which, although it has the appropriate permissions,
does not start with a valid magic number (see
a.out(4)), or the file is too small to have a valid
executable file header.

So basically there is something wrong with this file .. do a checksum on it and compare it to the same file on another box if possible.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Ted Buis
Honored Contributor

Re: not enogh space

My read is that the JVM is running out of space. So the default amount of memory available to the JVM is too low. You can invoke more memory when you run JVM, but I don't know where it picks up the defaults if not specified.
Mom 6