Re: [CentOS] strict memory

2008-10-23 Thread Mag Gam
ulimit is good for per process. What about for total usage? If a user has 5 processing -- each taking up 10G, will account for 50G. Is there a way to avoid this? Or have the VM be sensative, once its swapping we want to start killing the processing that take the most memory? TIA On Wed, Oct 22, 2

Re: [CentOS] strict memory

2008-10-21 Thread Amos Shapira
2008/10/17 Mag Gam <[EMAIL PROTECTED]>: > Hi John: > > Well, we run a lot of statistical analysis and our code loads a lot of > data into a vector for fast calculations. I am not sure how else to do > these calculations fast without loading it into memory. Thats why we > have to do it this way. Ab

Re: [CentOS] strict memory

2008-10-16 Thread John R Pierce
Mag Gam wrote: Hi John: Well, we run a lot of statistical analysis and our code loads a lot of data into a vector for fast calculations. I am not sure how else to do these calculations fast without loading it into memory. Thats why we have to do it this way. well, if you got several proces

Re: [CentOS] strict memory

2008-10-16 Thread Mag Gam
Hi John: Well, we run a lot of statistical analysis and our code loads a lot of data into a vector for fast calculations. I am not sure how else to do these calculations fast without loading it into memory. Thats why we have to do it this way. TIA On Thu, Oct 16, 2008 at 1:00 PM, John R Pierce <

Re: [CentOS] strict memory

2008-10-16 Thread John R Pierce
Mag Gam wrote: Hello All: Running 5.2 at our university. We have several student's processes that take up too much memory. Our system have 64G of RAM and some processes take close to 32-48G of RAM. This is causing many problems for others. I was wondering if there is a way to restrict memory usa

Re: [CentOS] strict memory

2008-10-16 Thread Joshua Baker-LePain
On Thu, 16 Oct 2008 at 12:48pm, Mag Gam wrote Running 5.2 at our university. We have several student's processes that take up too much memory. Our system have 64G of RAM and some processes take close to 32-48G of RAM. This is causing many problems for others. I was wondering if there is a way to

Re: [CentOS] strict memory

2008-10-16 Thread Mag Gam
Yes. Thanks. I was thinking of that too. Any other suggestions? TIA On Thu, Oct 16, 2008 at 12:56 PM, Filipe Brandenburger <[EMAIL PROTECTED]> wrote: > Hi, > > On Thu, Oct 16, 2008 at 12:48, Mag Gam <[EMAIL PROTECTED]> wrote: >> I was wondering if there is a way to restrict memory usage >> per p

Re: [CentOS] strict memory

2008-10-16 Thread Filipe Brandenburger
Hi, On Thu, Oct 16, 2008 at 12:48, Mag Gam <[EMAIL PROTECTED]> wrote: > I was wondering if there is a way to restrict memory usage > per process? If the process goes over 32G simply kill it. You can limit the amount of virtual memory of a process with "ulimit -v". See "help ulimit" or "man bash"

[CentOS] strict memory

2008-10-16 Thread Mag Gam
Hello All: Running 5.2 at our university. We have several student's processes that take up too much memory. Our system have 64G of RAM and some processes take close to 32-48G of RAM. This is causing many problems for others. I was wondering if there is a way to restrict memory usage per process? I