Operating System - HP-UX
1753609 Members
6157 Online
108797 Solutions
New Discussion

Re: X-server can not be started

 
Matti_Kurkela
Honored Contributor

Re: X-server can not be started

The screenshot you attached contains an interesting error message:

config: ran out of internal memory(malloc)

 This suggests there is not enough RAM+swap space to configure the kernel.

 

Please run "dmesg |grep Physical": if the system has not produced too many kernel messages since the last time it was rebooted, the output should be a line that indicates the amount of RAM memory in the system.

 

Please run "swapinfo -tam" and copy & paste the output to this thread. Knowing your amount of system RAM and swap should allow us to evaluate your current configuration and make better suggestions for next steps.

 

Adding more swap space should allow you to successfully configure a new kernel. The outputs of "vgdisplay" and "bdf" would help in deciding where to place the new swap space.

MK
Yaroki
Super Advisor

Re: X-server can not be started

First thing i did when receiving this HP was run the bdf. As you shell see the results are fine. But I also suspect that you point to the problem.

I attached as per your request the commands' display.

 

Thank you,

 

Yali

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>The screenshot you attached contains an interesting error message:
>config: ran out of internal memory(malloc)
> This suggests there is not enough RAM+swap space to configure the kernel.

 

I noticed that too.  But it appears to be a strings(1) output from the core or executable, I.e. useless and counterproductive.

>Please run "swapinfo -tam". Knowing your amount of system RAM and swap


There seems to be 6 Gb free, so if that malloc message was the problem, it would be maxdsiz being too small.

Yaroki
Super Advisor

Re: X-server can not be started

So, what next? Can I supply more information that should help?

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>Can I supply more information that should help?

 

Where did you get those config error messages?

What is your maxdsiz kernel value?

Yaroki
Super Advisor

Re: X-server can not be started

Those config error messages come from the "strings" command to the /etc/config file.

I tried to attached it but I couldn't (see above).

 

Sorry, but I don't know what is the maxdsize and how to find out its value?

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>Those config error messages come from the "strings" command to the /etc/config file.

 

Don't do that.  That gives a list of ALL possible messages, not the one you got,

 

>but I don't know what is the maxdsiz and how to find out its value?

 

/usr/sbin/kmtune -q maxdsiz  # for 11.11

Yaroki
Super Advisor

Re: X-server can not be started

Oppsss, Ok.

 

Parameter           Current             Dyn                  Planned

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

maxdsiz              3221225472    -                      3221225472

 

What does this parameter mean?

V. Nyga
Honored Contributor

Re: X-server can not be started

>Sorry, but I don't know what is the maxdsize and how to find out its value?

Also in SAM - Kernel Configuration - Configurable Parameters.
Mine is set to (hex) 0xc0000000 (or 3*1024*1024*1024)

V.
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>What does this parameter mean?

 

Your value is 3 Gb, plenty enough.  Unless you have maxdsiz too large or have used ulimit to make it smaller.

/usr/sbin/kmtune -q maxssiz  # for 11.11

ulimit -a