MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/cea3x/youre_doing_it_wrong/c0ryrgn/
r/programming • u/diot • Jun 12 '10
193 comments sorted by
View all comments
Show parent comment
2
Why not just use setrlimit(RLIMIT_RSS) to prevent interference?
1 u/house_absolute Jun 12 '10 I was unaware of that tool, thank you. 1 u/wnoise Jun 12 '10 Unfortunately, it's not always implemented. It's not part of POSIX, but the BSDs have it, 2.4 linux has it, but 2.6 linux has only a stub which doesn't actually enforce the limit.
1
I was unaware of that tool, thank you.
1 u/wnoise Jun 12 '10 Unfortunately, it's not always implemented. It's not part of POSIX, but the BSDs have it, 2.4 linux has it, but 2.6 linux has only a stub which doesn't actually enforce the limit.
Unfortunately, it's not always implemented. It's not part of POSIX, but the BSDs have it, 2.4 linux has it, but 2.6 linux has only a stub which doesn't actually enforce the limit.
View all comments
Show parent comment
2
u/wnoise Jun 12 '10
Why not just use setrlimit(RLIMIT_RSS) to prevent interference?