Page MenuHomePhabricator

Raise the default memory allocation to jsub/jstart jobs from 256M to at least 400M.
Closed, ResolvedPublic

Description

https://wikitech.wikimedia.org/wiki/Help:Tool_Labs#Why_am_I_getting_errors_about_libgcc_s.so.1_must_be_installed_for_pthread_cancel_to_work.3F states:
"As a rule, most scripting language require around 300-350M of virtual memory to load completely".
OOM issues are sometimes hard to discover and annoying. Please raise the default settings to avoid many such issues.

Details

Related Gerrit Patches:

Event Timeline

Stigmj created this task.Dec 5 2015, 1:14 PM
Stigmj raised the priority of this task from to Needs Triage.
Stigmj updated the task description. (Show Details)
Stigmj added a project: Toolforge.
Stigmj added a subscriber: Stigmj.
Restricted Application added a project: Cloud-Services. · View Herald TranscriptDec 5 2015, 1:14 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
zhuyifei1999 added a subscriber: zhuyifei1999.

Change 257062 had a related patch set uploaded (by Zhuyifei1999):
jsub: Raise default memory allocation to 400M

https://gerrit.wikimedia.org/r/257062

Change 257062 merged by coren:
jsub: Raise default memory allocation to 400M

https://gerrit.wikimedia.org/r/257062

coren added a comment.Dec 7 2015, 5:24 PM

400M is still reasonable; and 256M was arguably too conservative given it didn't allow most scripting langues.

coren claimed this task.Dec 7 2015, 5:30 PM

After discussion on IRC, we'll go with a more generous and round 512M limit.

coren triaged this task as Medium priority.Dec 7 2015, 6:02 PM

Change 257383 had a related patch set uploaded (by coren):
jsub: Default memory allocation to 512M

https://gerrit.wikimedia.org/r/257383

Change 257383 merged by coren:
jsub: Default memory allocation to 512M

https://gerrit.wikimedia.org/r/257383

coren closed this task as Resolved.Dec 7 2015, 7:35 PM

New version (1.7) with 512M default sent to tools' apt repo.