Operating System - HP-UX
1832906 Members
2648 Online
110048 Solutions
New Discussion

Re: Error when performing more command.

 
MarkW_1
Regular Advisor

Error when performing more command.

When using the more function on a unix file and doing a Shift G to go to the bottom of the file I get the following error.
"Pid 8982 received a SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space or stack size exceeded maxssiz." We have 4 gig memory on this N class box, maxssiz value is 8388608. Is there an upper limit to what maxssiz can be?
6 REPLIES 6
Vincenzo Restuccia
Honored Contributor

Re: Error when performing more command.

Check with swapinfo -mt for swap problem.
Vincenzo Restuccia
Honored Contributor

Re: Error when performing more command.

Workaround is open the file with vi,cat,pg.
John Bolene
Honored Contributor

Re: Error when performing more command.

How big is the file you are trying to look at? It must be incredible.

SIGSEGV alludes to an invalid memory address

You might use view to look at the file in read only mode.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Andrew Maslin
Frequent Advisor

Re: Error when performing more command.

Is this file a pure text file? I've had problems using more on files that are mostly text but have a few binary characters thrown in - sometimes more flips out in those instances. Maybe it's something similar in your case?
Philip Chan_1
Respected Contributor

Re: Error when performing more command.

I think that was just because the file being opened was way too big for the 'more' program. Try using 'vi' for it (I remember having same problem myself when open HUGE file with more).

~Philip
Steffi Jones_1
Esteemed Contributor

Re: Error when performing more command.

Hello Mark,

there is a known bug report for the more command and large files.

From what I see it is known and is been worked on and it will be fixed in a future release of the OS.

In the meantime go with the above recommendations like vi, cat, etc.

Steffi Jones