SUMMARY: Problem with program using more than 1gig of memory

From: <A.Moar_at_latrobe.edu.au>
Date: Thu, 17 Dec 1998 14:25:33 +1100 (EST)

Hi all,

I posted a message regarding a program failing with a "/sbin/loader
: cannot map Main" error message when compiled to run with more the 1gig
of virtual memory. Thanks to Kevin Partin, Alan Rollow, Wesley Darlington
and Randy Cable for their responses.

The program seems to work now, although I'm not exactly sure what fixed
it. The machine was taken down yesterday and some disks and things moved
around by an engineer after the arrival of a second 8400 (the reason they
were delivered more than 2 months apart is another story). To get the
machine to reboot I had to boot the generic kernel. I also double-checked
my sysconfigtab parameters and realised I hadn't added things like
per-proc-stack-size, only max-per-proc-stack-size (but I thought this
restriction could be raised to max-per-proc-stack-size by using the ulimit
shell command?). It was also mentioned to me that I should check how much
swap I had and the mode I was using (lazy - no /sbin/swapdefault - was
suggested). According to the /etc/fstab, I should've had around 6gig of
swap, but I was in "eager" mode. Although it should've been enough, I
changed to "lazy" anyway.

So I guess any of the above 3 changes could've fixed the problem. My gut
feeling is that it was the addition of the max-* parameters in
sysconfigtab that fixed it.

Thanks once again to those who responded.

Andrew
-- 
        Andrew Moar : Ph +61 3 9479 1505  email A.Moar_at_latrobe.edu.au
          Unix Environment Manager, Information Technology Services
                    La Trobe University, Melbourne
Received on Thu Dec 17 1998 - 03:26:32 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT