From: Richard Hirst <rhirst@linuxcare.com>
To: Bdale Garbee <bdale@gag.com>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] ntpd fails on mlockall()
Date: Tue, 10 Oct 2000 21:53:15 +0100 [thread overview]
Message-ID: <20001010215315.J9399@linuxcare.com> (raw)
In-Reply-To: <20001010120841.F9399@linuxcare.com>; from rhirst@linuxcare.com on Tue, Oct 10, 2000 at 12:08:41PM +0100
On Tue, Oct 10, 2000 at 12:08:41PM +0100, Richard Hirst wrote:
> On Mon, Oct 09, 2000 at 08:57:00PM -0600, Bdale Garbee wrote:
> > I built a package of ntp, and it installed ok, but when ntpd goes to launch,
> > I get the following in daemon.log:
> >
> > Oct 9 20:51:27 j5k ntpd[19416]: ntpd 4.0.99g Mon Oct 9 20:44:40 MDT 2000 (1)
> > Oct 9 20:51:27 j5k ntpd[19416]: mlockall(): Cannot allocate memory
>
> A simple prog that just calls mlockall() fails as well. It is because
> we currently allocate a massive stack (256MB?) for every process, and
> mlockall() tries to actually claim the memory for that stack. I tried
> allocating just a 1MB stack in fs/exec.c, and my simple mlockall()
> prog then worked.
I've changed the kernel to grow the user stack dynamically, so
hopefully your ntpd will work now.
Richard
next prev parent reply other threads:[~2000-10-10 20:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-10 2:57 [parisc-linux] ntpd fails on mlockall() Bdale Garbee
2000-10-10 11:08 ` Richard Hirst
2000-10-10 20:53 ` Richard Hirst [this message]
[not found] ` <8766n0ynjw.fsf@rover.gag.com>
2000-10-11 12:09 ` Richard Hirst
2000-10-11 14:47 ` David Huggins-Daines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001010215315.J9399@linuxcare.com \
--to=rhirst@linuxcare.com \
--cc=bdale@gag.com \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox