Alexandros Kosiaris has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/331959 )

Change subject: zotero: Actually limit as not rss
......................................................................


zotero: Actually limit as not rss

Limiting RSS was not having the effect we wanted in the first place,
since funnily enough it only affects calls to madvise and only in <
2.4.30 kernels. Instead limit the entire address space of the process,
limiting calls to brk(2), mmap(2), mremap(2).

Change-Id: I77bfefff3d64603ce1fdb7a1463bade429ded5b4
---
M modules/zotero/templates/upstart.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/modules/zotero/templates/upstart.erb 
b/modules/zotero/templates/upstart.erb
index 0844333..43051d2 100644
--- a/modules/zotero/templates/upstart.erb
+++ b/modules/zotero/templates/upstart.erb
@@ -7,7 +7,7 @@
 
 # up ulimit -n a bit
 limit nofile 10000 10000
-limit rss 4294967296 4294967296
+limit as 4294967296 4294967296
 
 setuid "zotero"
 setgid "zotero"

-- 
To view, visit https://gerrit.wikimedia.org/r/331959
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I77bfefff3d64603ce1fdb7a1463bade429ded5b4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to