Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Mauro Santos
On 29-07-2011 23:55, Jorge Almeida wrote: > Agreed. But how is one supposed to know how to choose sane values? For the "max user processes" what I've seen is that you want to set it a little over the maximum number of tasks you expect to run (the number that top reports) so there is some protectio

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jorge Almeida
On Fri, Jul 29, 2011 at 11:26 PM, Mauro Santos wrote: > > Are you sure you haven't personalized that? Yes. For a good reason: what little I knew about ulimit (from Gentoo) was forgotten, and it only came to mind now that I was bitten. 'ulimit -v' says unlimited > here and I haven't changed that

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Mauro Santos
On 29-07-2011 22:50, Jorge Almeida wrote: > On Fri, Jul 29, 2011 at 10:46 PM, Byron Clark > wrote: >> On 07/29/11 at 05:28pm, Jorge Almeida wrote: > >>> # ulimit -a >>> virtual memory (kbytes, -v) 58593 >> >> You might need more than ~57MB of address space to run the compilation. >> >

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jorge Almeida
On Fri, Jul 29, 2011 at 10:46 PM, Byron Clark wrote: > On 07/29/11 at 05:28pm, Jorge Almeida wrote: >> #  ulimit -a >> virtual memory          (kbytes, -v) 58593 > > You might need more than ~57MB of address space to run the compilation. > Yes, although I have no idea of what values would be righ

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Byron Clark
On 07/29/11 at 05:28pm, Jorge Almeida wrote: > I'm not sure this is an Arch issue, but I can't figure out what else can be. > > I'm trying to compile non-Arch stuff in an arch host. I tried Binutils > (of LFS) and Buildroot (of uclibc). Both failed with the "virtual > memory exhausted: Cannot allo

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jorge Almeida
On Fri, Jul 29, 2011 at 10:21 PM, Jan Steffens wrote: > On Fri, Jul 29, 2011 at 1:28 PM, Jorge Almeida wrote: >> I'm not sure this is an Arch issue, but I can't figure out what else can be. >> >> I'm trying to compile non-Arch stuff in an arch host. I tried Binutils >> (of LFS) and Buildroot (of

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jan Steffens
On Fri, Jul 29, 2011 at 1:28 PM, Jorge Almeida wrote: > I'm not sure this is an Arch issue, but I can't figure out what else can be. > > I'm trying to compile non-Arch stuff in an arch host. I tried Binutils > (of LFS) and Buildroot (of uclibc). Both failed with the "virtual > memory exhausted: Ca

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jorge Almeida
On Fri, Jul 29, 2011 at 5:30 PM, Jeffrey Lynn Parke Jr. wrote: >> > > what exactly are you trying to compile.. maybe that's your problem > > As I said, Binutils (for building a Linux From Scratch system). But I also tried to compile Buildroot, which is totally unrelated with LFS. That's why I thi

Re: [arch-general] virtual memory exhausted

2011-07-29 Thread Jeffrey Lynn Parke Jr.
On Fri, Jul 29, 2011 at 11:28 AM, Jorge Almeida wrote: > I'm not sure this is an Arch issue, but I can't figure out what else can > be. > > I'm trying to compile non-Arch stuff in an arch host. I tried Binutils > (of LFS) and Buildroot (of uclibc). Both failed with the "virtual > memory exhausted