Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
wiki:ht_type [2015/07/02 14:35] – created bzizouwiki:froggy_job_resources_manager_ht [2015/07/05 10:22] – Page name changed from wiki:ht_type to wiki:froggy_job_resources_manager_ht neyron
Line 1: Line 1:
-<code>+<code diff>
 --- /etc/oar/job_resource_manager_cgroups_memory.pl 2013-06-03 15:55:30.282952914 +0200 --- /etc/oar/job_resource_manager_cgroups_memory.pl 2013-06-03 15:55:30.282952914 +0200
 +++ /etc/oar/job_resource_manager_cgroups_memory_ht.pl 2014-07-07 14:36:44.730720175 +0200 +++ /etc/oar/job_resource_manager_cgroups_memory_ht.pl 2014-07-07 14:36:44.730720175 +0200
Line 11: Line 11:
  my $Cpuset;  my $Cpuset;
  my $Log_level;  my $Log_level;
-@@ -161,10 +163,10 @@ 
-                              cat '.$Cgroup_directory_collection_links.'/cpuset/cpuset.cpus > '.$Cgroup_directory_collection_links.'/cpuset/'.$Cpuset->{cpuset_path}.'/cpuset.cpus && 
-                              /bin/echo 1000 | cat > '.$Cgroup_directory_collection_links.'/blkio/'.$Cpuset->{cpuset_path}.'/blkio.weight 
-                             ')){ 
--                    exit_myself(4,"Failed to create cgroup $Cpuset->{cpuset_path}"); 
--                } 
-+     exit_myself(4,"Failed to create cgroup $Cpuset->{cpuset_path}"); 
-+     } 
-             } 
--            flock(LOCKFILE,LOCK_UN) or exit_myself(17,"flock failed: $!"); 
-+           flock(LOCKFILE,LOCK_UN) or exit_myself(17,"flock failed: $!"); 
-             close(LOCKFILE); 
-         }else{ 
-             exit_myself(16,"Failed to open or create $Cpuset->{oar_tmp_directory}/job_manager_lock_file"); 
 @@ -191,6 +193,16 @@ @@ -191,6 +193,16 @@
              exit_myself(5,"Failed to create and feed the cpuset $Cpuset_path_job");              exit_myself(5,"Failed to create and feed the cpuset $Cpuset_path_job");
wiki/froggy_job_resource_manager_ht.txt · Last modified: 2015/07/05 10:23 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki