瀏覽代碼

Resolves: #207457
Summary: rhds 7.1 - server stats use 32-bit integers - entrycachehitratio 1503%
Description: added '/' at the head of the semaphore name.

Noriko Hosoi 17 年之前
父節點
當前提交
f25db4aae7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/slapd/snmp_collator.c

+ 1 - 1
ldap/servers/slapd/snmp_collator.c

@@ -429,7 +429,7 @@ int snmp_collator_start()
   }
   PR_snprintf(szStatsFile, sizeof(szStatsFile), "%s/%s%s",
               statspath, instname, AGT_STATS_EXTENSION);
-  PR_snprintf(stats_sem_name, sizeof(stats_sem_name), "%s%s",
+  PR_snprintf(stats_sem_name, sizeof(stats_sem_name), "/%s%s",
               instname, AGT_STATS_EXTENSION);
   tmpstatsfile = szStatsFile;
   slapi_ch_free_string(&statspath);