Hello,
i have the problem getting “Too many sensors; limit is 1024 “ on large systems of bull because of the restriction for MAX_SENSOR_RECORD_IDS to 1024 sensors.
Please can you double the value to 2048 like in the patch below ?
Regards
Thomas
|
Num sensors |
BULL S2 |
185 |
BULL S4 |
370 |
BULL S8 |
740 |
BULL S12 |
1110 |
BULL S16 |
1480 |
# Old Mail for similar problem increasing value from 512 to 1024 for BULL bullion S8
diff -uNr freeipmi-1.5.2/common/toolcommon/tool-sensor-common.h freeipmi-1.5.2p/common/toolcommon/tool-sensor-common.h
--- freeipmi-1.5.2/common/toolcommon/tool-sensor-common.h 2016-01-08 02:05:27.000000000 +0100
+++ freeipmi-1.5.2p/common/toolcommon/tool-sensor-common.h 2016-07-27 16:19:05.603715523 +0200
@@ -55,7 +55,7 @@
#define MAX_SENSOR_TYPES 256
#else /* !0 */
/* achu: pick more reasonable limits than the theoretical maxes */
-#define MAX_SENSOR_RECORD_IDS 1024
+#define MAX_SENSOR_RECORD_IDS 2048
#define MAX_SENSOR_TYPES 64
#endif /* !0 */
#endif /* !__CYGWIN__ */