1

My .cshrc had set up a "limit datasize 256000", however several of my running processes are currently exceeding that. For example:

VmPeak:   496840 kB
VmSize:   496840 kB
VmLck:         0 kB
VmHWM:    463408 kB
VmRSS:    463408 kB

VmData:   451552 kB

VmStk:        96 kB
VmExe:      7480 kB
VmLib:     35548 kB
VmPTE:       988 kB
StaBrk: 0a2bb000 kB
Brk:    19c90000 kB
StaStk: ffd4f010 kB

I had thought the process would fail upon encountering that limit, but obviously that didn't happen. So I'm unsure what that datasize limit is doing. Am I missing something?

  • Since this is set in the .cshrc, then that means it's limited to that session. I'm thinking that somehow these processes must be running under a different session and are therefore not bound by that limit. – Mutmansky Apr 28 '14 at 14:35
  • It's not an issue with running under a different session. I've read some other documents online that imply that either the datasize is not actually enforced by the kernel or the initial size of memory allocated to the process is large enough that brk() or sbrk() is not actually getting more memory from the OS and therefore the point of enforcement of the limit is never exercised. Still not certain exactly what's going on here. – Mutmansky May 19 '14 at 17:02

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.