mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: "Paweł Sikora" <pawel.sikora@agmk.net>
Cc: linux-kernel@vger.kernel.org, mikey@neuling.org
Subject: Re: restrict initial stack space expansion to rlimit - the process  killer...
Date: Thu, 4 Mar 2010 18:05:03 +0800	[thread overview]
Message-ID: <2375c9f91003040205y7dff89bbl96de381f9e1393bc@mail.gmail.com> (raw)
In-Reply-To: <op.u81dn2i8zipv1w@pawels.alatek.krakow.pl>

2010/3/4 Paweł Sikora <pawel.sikora@agmk.net>:
> Hi all,
>
> i'm currently testing the 2.6.32.9 and observing random process killing
> on my builder machine (x86-64) which contains several tcl/bash
> scripts for svn checkout, compilation, archive and ftp deploying.
>
> here's a fragment of build log:
>
> (...)
> [CXX] obj-release-i486-gnu-linux/genMappingRst.o
> [CXX] obj-release-i486-gnu-linux/otelloVerdiThread.o
> i486-gnu-linux-g++: Internal error: Killed (program as)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make[1]: *** [obj-release-i486-gnu-linux/genMappingRst.o] Error 1
>
> the builder process tree looks like this:
>
> $ pstree -Acl
> ?---screen-+-bash---loop.sh-+-loop.sh---tclsh8.4---temp_9_12676174---tclsh8.4---temp_3_12676174---tclsh8.4---temp_4_12676174---tclsh8.4---temp_9_12676176---make---make-+-sh---ccache---x86_64-gnu-linu-+-as
>             |
> |
> |                               `-cc1plus
>             |
> |
> `-sh---ccache---x86_64-gnu-linu-+-as
>             |
> |
> `-cc1plus
>             |                `-tee
>             `-bash---pstree
>
>
> as you can see there're few levels of bash and tclsh(8.4)
> and make/ccache/binutils/g++ workers at the bottom.
>
> i've noticed that rolling back to the 2.6.32.8 (or just reverting
> the 'ulimit -s' commit: 35e2093d5d7b632c083af3578c05876375828314)
> fixes the problem.
>
> so, is it my stack ulimit (8192) to small, or maybe the new limit
> calculations are wrong? shoud i bump the stack limit for new kernels?


Please check if you have this patch:

http://lkml.org/lkml/2010/2/15/61

Thanks!

  reply	other threads:[~2010-03-04 10:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <op.u8zxvxnpzipv1w@pawels.alatek.krakow.pl>
2010-03-04  9:22 ` Paweł Sikora
2010-03-04 10:05   ` Américo Wang [this message]
2010-03-04 13:26     ` Paweł Sikora
2010-03-04 20:40       ` Michael Neuling

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=2375c9f91003040205y7dff89bbl96de381f9e1393bc@mail.gmail.com \
    --to=xiyou.wangcong@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikey@neuling.org \
    --cc=pawel.sikora@agmk.net \
    /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

all inboxes | Powered by JetHome®