Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision |
wiki:ht_type [2015/07/02 14:35] – created bzizou | wiki:ht_type [2015/07/04 08:52] – neyron |
---|
<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 |
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"); |