From 5d10b89ee80c3171a89db2d2ab4af64d7eefd767 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Wed, 15 Jan 2014 13:43:52 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20521=20-=20le=20cluster=20ne=20prend=20plu?= =?UTF-8?q?s=20de=20jobs=20et=20qstat=20ne=20marche=20pas=20:=20ajout=20d'?= =?UTF-8?q?un=20hack=20pour=20d=C3=A9sactiver=20la=20collecte=20d'infos=20?= =?UTF-8?q?sur=20l'utilisation=20m=C3=A9moire=20quand=20il=20y=20a=20trop?= =?UTF-8?q?=20de=20jobs=20(ou=20de=20taches)=20car=20ce=20code=20est=20exc?= =?UTF-8?q?essivement=20lent=20et=20paralyse=20sge=5Fqmaster.=20En=20atten?= =?UTF-8?q?dant=20de=20trouver=20un=20vrai=20correctif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ClusterController/Job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ClusterController/Job.py b/ClusterController/Job.py index 84b7e53..9fd3f17 100644 --- a/ClusterController/Job.py +++ b/ClusterController/Job.py @@ -67,6 +67,7 @@ class Job: self.m_slots = {} self.m_stateFlags = 0 self.m_jobRequirements = JobRequirements() + self.m_requestedRamPerCore = 0 def getId( self ): return self.m_jobId def setState( self, state ): @@ -116,4 +117,4 @@ class Job: """ requestedRam : requested RAM per core in bytes """ - self.m_requestedRamPerCore=requestedRam \ No newline at end of file + self.m_requestedRamPerCore=requestedRam