1752755 Members
4938 Online
108789 Solutions
New Discussion юеВ

Re: Kernel Parameter

 
augusto cossa
Frequent Advisor

Kernel Parameter

Hi all,

I have made some changes in the kernell and since here I have the below error messages:

FIRST:
This is also something strange, I have never seen it before.

%Internal DCE Threads problem (version CMA BL10+), terminating execution.
% Reason: init: can't create mutex
The current thread is 0 (address 0x7b001e00)
DECthreads scheduling database is locked.
Current threads:
Mutexes:
Condition variables:
DCE Threads internal VM manager statistics:
small (24 bytes): 0 allocated, 0 free
medium (72 bytes): 1 allocated, 0 free
large (1792 bytes): 0 allocated, 0 free
0 things currently on general pool list
0 sbrk alignments

SECOND:
Hi, the following errors in from listener.log file -

TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12540: TNS:internal limit restriction exceeded
TNS-12560: TNS:protocol adapter error
TNS-00510: Internal limit restriction exceeded
HPUX Error: 12: Not enough space

* causing the CHS users not to be able to connect to the database,
* and it causes replication between LAB and CHS to fail
* also a core dump in /home/chs, 100 % full.



NOTE: WHAT ALL THOSE ERROR MEANING? HELP!

Thanks,

Augusto
10 REPLIES 10
melvyn burnard
Honored Contributor

Re: Kernel Parameter

Well the first oner I cannot answer, but thet second one says error 12 not enough space, which means you have run out of memory, either pghysical or virtual.
I guees the first step would be for you to tell us WHAT you changed, and from what to what did you change it?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel Parameter

Hi

What changes did you make? also cat /stand/system and post the * Tunable parameters section, in will help to identify the problem.

Paula
If you can spell SysAdmin then you is one - anon
augusto cossa
Frequent Advisor

Re: Kernel Parameter

Hi,

Changes were made in the followings parameters:
The below were increased
ninode
dbc_max_pct
dbc_min_pct
shmmax
shmseg.
The next one were reduced
bufpages
maxvgs

NOTE: BELOW IS THE /STAND/SYSTEM FILE:mfm01[190] / # more system.today
* Drivers and Subsystems

CentIf
CharDrv
GSCtoPCI
asio0
asp
beep
btlan3
btlan4
c720
ccio
cdfs
cio_ca0
clone
core
diag0
diag1
diag2
disc1
disc3
dlpi
dmem
echo
eeprom
eisa
ffs
hpstreams
inet
inet_clts
inet_cots
klog
lan0
lan1
lan2
lan3
lanmux0
lasi
ldterm
lv
lvm
netdiag1
netman
nfs
ni
pa
pci
pckt
pfail
pipedev
pipemod
ps2
ptem
ptm
pts
sad
sc
scsi1
scsi2
scsi3
sctl
sdisk
sio
stape
strlog
strpty_included
tape1
tape1_included
tape2
tape2_included
target
timod
tirdwr
tpiso
uipc
vxbase
wsio


* Kernel Device info

dump lvol


* Tunable parameters

maxfiles 2048
maxfiles_lim 2048
maxswapchunks 4096
maxuprc ((NPROC*9)/10)
maxusers 200
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)
npty (MAXUSERS)
nstrpty 60
nswapdev 25
semmni (NPROC*5)
semmns (SEMMNI*2)
semmnu (NPROC-4)
semume 64
semvmx 32768
shmmax 0X40000000
shmmni 512
swapmem_on 0
timeslice 1
unlockable_mem (MAXUSERS*10)

THANKS,
Augusto

Pedro Sousa
Honored Contributor

Re: Kernel Parameter

Hi Augusto!
Maybe your problem is related to the kernel parameter "unlockable_mem".
Here is what I found on sam's help:
Specify minimum amount of memory that is to remain reserved for system overhead and virtual memory management use.
Acceptable Values:
Minimum: 0
Maximum: Available memory indicated at power-up
Default: 0 (system sets to appropriate value)
Pedro Sousa
Honored Contributor

Re: Kernel Parameter

Sorry, can you post the values for these parameters:
dbc_max_pct
dbc_min_pct
shmmax
shmseg.
bufpages
melvyn burnard
Honored Contributor

Re: Kernel Parameter

the system file you have posted does not contain the parameters you have changed.
There is no:
dbc_max_pct
dbc_min_pct
shmseg
bufpages
maxvgs

listed.
Also, if you set bufpages you are overriding the fact that you want to use dynamic buffercache.

What is the physical memory size of your system?
What does dmesg show for Physical, lockable and available memory when you boot the system with the new kernel?


What were the reasons for increasing the parameters you increased?

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
augusto cossa
Frequent Advisor

Re: Kernel Parameter

Hi Perdo,

Here are the values for:

dbc_max_pct 50
dbc_min_pct 5
shmmax 1073741824
shmseg 120
bufpages 0

Thanks,

Augusto
augusto cossa
Frequent Advisor

Re: Kernel Parameter

Melvyn,

The reason why I have increased some parameters was because I have doubled the physical memory from 256 to 512. Below is the information that you requested:

Memory Information:

physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 524288 Kbytes, lockable: 412292 Kbytes, available: 440816 Kbytes

Thanks,

Augusto
Pedro Sousa
Honored Contributor

Re: Kernel Parameter

Hi.
You should decrease your shmmax parameter (it's greater than your memmory size and it shouldn't), and maybe dbc_max_pct (to 10/15)