Grokbase
Topics Posts Groups | in
x
[ help ]

Re: strict memory

View PostFlat  Thread  Threaded | < Prev - Next >
Mag Gam Re: [CentOS] strict memory
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
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 <pierce@hogranch.com> wrote:
> 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 usage
>> per process? If the process goes over 32G simply kill it. Any thoughts
>> or ideas?
>>
>>
>
> In /etc/profile, use "ulimit -v NNNN" (in kilobytes) to limit the max
> virtual of all processes spawned by that shell
>
>
> 32G per process on a 64G machine sounds like a bit much. wouldn't a limit
> more like 4GB per user session be more appropriate on a multiuser system?
> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

Thread : strict memory
1)
Mag Gam Hello All: Running 5.2 at our university. We have several student's processes that take up too much...
2)
Filipe Brandenburger Hi, You can limit the amount of virtual memory of a process with "ulimit -v". See "help ulimit" or...
3)
Mag Gam Yes. Thanks. I was thinking of that too. Any other suggestions? TIA ...
4)
Joshua Baker-LePain Have a look at /etc/security/limits.conf.
5)
John R Pierce In /etc/profile, use "ulimit -v NNNN" (in kilobytes) to limit the max virtual of all processes...
6)
Mag Gam Hi John: Well, we run a lot of statistical analysis and our code loads a lot of data into a vector...
7)
John R Pierce well, if you got several processes that each need 32GB in a 64GB machine, you're gonna end up...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >
Home > Groups > CentOS > strict memory (7 posts) > View Post