Operating System - HP-UX
1834142 Members
2138 Online
110064 Solutions
New Discussion

Error about /usr/lib/dld.sl

 
ANDREA_6
Frequent Advisor

Error about /usr/lib/dld.sl

Hello,
running an application i have this errors:

/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /lib/libpthread.1
/usr/lib/dld.sl: Exec format error
/usr/lib/dld.sl: Call to mmap() failed - TEXT /tmp/.nvdkit/00000067.uid/77d8e808b2bdd2cd/d8837a5a80a96c82/lib/libtclodbc.sl
/usr/lib/dld.sl: Not enough space
/usr/lib/dld.sl: Call to mmap() failed - TEXT /tmp/.nvdkit/00000067.uid/77d8e808b2bdd2cd/d8837a5a80a96c82/lib/libtclodbc.sl
/usr/lib/dld.sl: Not enough space
/usr/lib/dld.sl: Call to mmap() failed - TEXT /tmp/.nvdkit/00000067.uid/77d8e808b2bdd2cd/d8837a5a80a96c82/lib/libtclodbc.sl
/usr/lib/dld.sl: Not enough space
/usr/lib/dld.sl: Call to mmap() failed - TEXT /tmp/.nvdkit/00000067.uid/77d8e808b2bdd2cd/d8837a5a80a96c82/lib/libtclodbc.sl
/usr/lib/dld.sl: Not enough space
/usr/lib/dld.sl: Call to mmap() failed - TEXT /tmp/.nvdkit/00000067.uid/77d8e808b2bdd2cd/d8837a5a80a96c82/lib/libtclodbc.sl
/usr/lib/dld.sl: Not enough space

do you have an idea of the problem?
Any help will be appreciated.
Thanks,Andrea.
9 REPLIES 9
Jeff Schussele
Honored Contributor

Re: Error about /usr/lib/dld.sl

Hi Andrea,

Error indicates that you have hit a kernel parameter ceiling - probably maxtsiz.
So check that value as well as maxdsiz and maxssiz.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
ANDREA_6
Frequent Advisor

Re: Error about /usr/lib/dld.sl

Hello,
i already tuned this parameters but without results..

Can i do something else?

Steven E. Protter
Exalted Contributor

Re: Error about /usr/lib/dld.sl

Please post kmtune output.

Check /var/adm/syslog/syslog.log

Check that SHLIB_PATH is crorect and the objects exist. You may need to bump the kernel paramter up higher. Also check the 64 bit version of parameter metioned by Jeff.

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
Arunvijai_4
Honored Contributor

Re: Error about /usr/lib/dld.sl

Hi Andrea,

Check for any pthread patches available at ITRC patch dataase,. http://www1.itrc.hp.com/service/patch/search.do?BC=patch.breadcrumb.main|&pageContextName=hpux:::

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steve Steel
Honored Contributor

Re: Error about /usr/lib/dld.sl

Hi

Look at swap as well

ftp://eh:spear9@hprc.external.hp.com/memory.htm#examples

helps with what to check

Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)
ANDREA_6
Frequent Advisor

Re: Error about /usr/lib/dld.sl

Hello,
i have this path in my .profile:

export SHLIB_PATH=/u01/radia/ris/nvdmodbc/lib:/lib:.:/usr/lib

and the file dld.sl exists at the /usr/lib path..

Here the output of kmtune:


Parameter Value
===============================================================================
NSTRBLKSCHED 2
NSTREVENT 50
NSTRPUSH 16
NSTRSCHED 0
STRCTLSZ 1024
STRMSGSZ 65535
acctresume 4
acctsuspend 2
aio_listio_max 256
aio_max_ops 2048
aio_physmem_pct 10
aio_prio_delta_max 20
allocate_fs_swapmap 0
alwaysdump 0
bootspinlocks 256
bufcache_hash_locks 128
bufpages 0
chanq_hash_locks 256
create_fastlinks 0
dbc_max_pct 20
dbc_min_pct 5
default_disk_ir 0
desfree 0
disksort_seconds 0
dnlc_hash_locks 64
dontdump 0
dskless_node 0
dst 1
eisa_io_estimate 0x300
eqmemsize 15
fcp_large_config 0
file_pad 10
fs_async 0
ftable_hash_locks 64
hdlpreg_hash_locks 128
hfs_max_ra_blocks 8
hfs_ra_per_disk 64
hpux_aes_override 0
initmodmax 50
io_ports_hash_locks 64
iomemsize 40000
km_disable 0
ksi_alloc_max (NPROC*8)
ksi_send_max 32
lotsfree 0
max_async_ports 50
max_fcp_reqs 512
max_mem_window 0
max_thread_proc 1000
maxdsiz 2000000000
maxdsiz_64bit 2000000000
maxfiles 2048
maxfiles_lim 2048
maxqueuetime 0
maxssiz 128000000
maxssiz_64bit 1000000000
maxswapchunks 4096
maxtsiz 0x04000000
maxtsiz_64bit 0x0000000040000000
maxuprc ((NPROC*8)/10)
maxusers 150
maxvgs 80
mesg 1
minfree 0
modstrmax 500
msgmap (MSGTQL+2)
msgmax 32768
msgmnb 65535
msgmni (NPROC)
msgseg (MSGTQL*4)
msgssz 128
msgtql (NPROC)
nbuf 0
ncallout (16+NPROC)
ncdnode 150
nclist (100+16*MAXUSERS)
ncsize (NINODE+VX_NCSIZE)
ndilbuffers 30
netisr_priority -1
netmemmax 0
nfile (15*NPROC+2048)
nflocks (NPROC)
nhtbl_scale 0
ninode (8*NPROC+2048)
nkthread (((NPROC*7)/4)+16)
nni 2
no_lvm_disks 0
nproc (((10*MAXUSERS)/3)+128)
npty 60
nstrpty 60
nstrtel (MAXUSERS)
nswapdev 25
nswapfs 10
nsysmap ((NPROC)>800?2*(NPROC):800)
nsysmap64 ((NPROC)>800?2*(NPROC):800)
num_tachyon_adapters 5
o_sync_is_o_dsync 0
page_text_to_local 0
pfdat_hash_locks 128
public_shlibs 1
region_hash_locks 128
remote_nfs_swap 0
rtsched_numpri 32
scroll_lines 100
scsi_max_qdepth 8
scsi_maxphys 1048576
sema 1
semaem 16384
semmap (SEMMNI+2)
semmni (NPROC*2)
semmns (SEMMNI*2)
semmnu (NPROC-4)
semmsl_override 2048
semume 64
semvmx 32768
sendfile_max 0
shmem 1
shmmax 0X40000000
shmmni 512
shmseg 120
st_ats_enabled 0
st_fail_overruns 0
st_large_recs 0
st_san_safe 0
streampipes 0
swapmem_on 0
swchunk 2048
sysv_hash_locks 128
tcphashsz 0
timeslice 1
timezone 420
unlockable_mem (MAXUSERS*10)
vnode_cd_hash_locks 128
vnode_hash_locks 128
vps_ceiling 64
vps_chatr_ceiling 65536
vps_pagesize 4
vx_maxlink 32767
vx_ncsize 1024
vx_ninode 0
vx_noifree 0
vx_nothrottle 1
vxfs_max_ra_kbytes 1024
vxfs_ra_per_disk 1024

James R. Ferguson
Acclaimed Contributor

Re: Error about /usr/lib/dld.sl

Hi Andrea:

Insufficient swap space can also lead to this error. Check (and post) your swap utilization with:

# swapinfo -tam

Regards!

...JRF...
ANDREA_6
Frequent Advisor

Re: Error about /usr/lib/dld.sl

In attach my swap space:

swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 49 -49
total 4096 49 4047 1% - 0 -

Do you think that PHSS_33032 can help me?

James R. Ferguson
Acclaimed Contributor

Re: Error about /usr/lib/dld.sl

Hi (again) Andrea:

I presume that the 'swapinfo' snapshot was taken without the application running (assuming that you can get it to start).

I would enable pseudoswap ('swapmem_on=1'). This will allow 75% of your physical memory to be counted for the purposes of swap reservation. A reboot will be required, but having this enabled on systems with generous amounts of physical memory is very beneficial and can eliminate "out of memory" errors during process initiation.

Regards!

...JRF...