Operating System - HP-UX
1753797 Members
6783 Online
108799 Solutions
New Discussion юеВ

maxdsiz exceed physical memory

 
SOLVED
Go to solution
chuanpeng_1
Occasional Advisor

maxdsiz exceed physical memory

OS: HPUX 11.23
Server: rx2620
The system only has 1GB memory, but the customer modified the parameter maxdsiz to 2GB and hasn't backup the kernel. Now the command kctune, sam, top failed, return error message as follow:
The operation could not complete due to insufficient memory.
But the command swapinfo can run, return message:
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2097152 0 2097152 0% 0 - 1 /dev/vg00/lvol2
reserve - 218344 -218344
memory 1037072 376168 660904 36%


What can I do about this???
7 REPLIES 7
Peter Godron
Honored Contributor

Re: maxdsiz exceed physical memory

Hi,
why is your customer changing kernel parameters? Boot to the previous kernel (/stand/vmunix.prev) and lock all root access or wash your hands of the system.
rariasn
Honored Contributor

Re: maxdsiz exceed physical memory

Hi,

Modify kernel parameter with SAM.

# /usr/sbin/sam

-> Kernel configuracion -> Configurable parameters

- double-click "maxdsiz" parameter and put old value.

This change do reboot.

rgs,

rariasn
Honored Contributor

Re: maxdsiz exceed physical memory

Sorry,

"...maxdsiz to 2GB and hasn't backup the kernel. Now the command kctune, sam, top failed, return error message..."

ran
rariasn
Honored Contributor
Solution

Re: maxdsiz exceed physical memory

Hi,

# cd /stand/build

#/usr/lbin/sysadm/system_prep -v -s system
NOTE: Saving the current system file at "system" to"system.prev"
NOTE: Dynamic tunable values (if applicable) have been added to "system".
NOTE: The template file has been extracted from "/stand/vmunix" It has been placed in "system" where it will be used
to build a new kernel.

Modify "maxdsiz" parameter in /stand/build/system file.

# mk_kernel -s system

# mv /stand/system /stand/system.prev

# /usr/sbin/kmupdate
# shutdown -r -y 0

rgs,







chuanpeng_1
Occasional Advisor

Re: maxdsiz exceed physical memory

Now, system dump and reboot when customer try to restart.
rariasn
Honored Contributor

Re: maxdsiz exceed physical memory

Hi chuanpeng,

That messages appear in the console?

rariasn
Don Morris_1
Honored Contributor

Re: maxdsiz exceed physical memory

When the machine reboots, don't let it autoboot - pause the boot process (rx is IPF, right? So when the EFI shell runs, boot to your Primary but tell it to let you interact).

Then do: hpux ls

That will show you the files/directories in /stand. The directories are your other configurations. Look for a backup or previous one (backup should be there, if I recall correctly).

Boot to the backup with: hpux backup/vmunix

If you're still having problems, it would help to see what the console displays at the problem state.