Informix - Problem description
Problem IT39394 | Status: Closed |
--MAX_PART_SIZE UNITS INCORRECTLY DEFAULTING TO MB RATHER THAN KB | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
onpsm -D add, for CLOUD and STDIO device types, supports an optional '--max_part_size ' parameter whose value can either carry a b|k|m|g|t|p unit qualifier or it would (should) assumed to be a size in kB. Version 14.10.xC7 unfortunately assumes MB instead of kB, which not only can lead to much bigger than intended entities sent to backup storage, but also could cause backup failure like this: bar_act.log: 2021-12-10 17:46:49.036821 12823 12821 Begin level 0 backup rootdbs. 2021-12-10 17:46:49.039553 12823 12821 Successfully connected to Storage Manager. 2021-12-10 17:46:49.042338* 12823 12821 (-43080) Process 12823 received signal 13. Process will exit after cleanup. psm_act.log: 2021-12-10 17:46:49.041715 12823 12821 REST ERROR: received more data than promised. used + tsize = 222 > buffer size(0). This "buffer size (0)" would be the result of e.g. '--max_part_size 102400' getting stored as 10GB (107374182400) in PSM catalog device table which, as a four byte integer, would simply be zero. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC8. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 14.10.xC8. * **************************************************************** | |
Local Fix: | |
Simple workaround: do specify intended unit character when using --max_part_size option, e.g. '--max_part_size 102400k'. | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC8. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 14.10.xC8. * **************************************************************** | |
Comment | |
Fixed in Informix Server 14.10.xC8. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.12.2021 08.04.2022 08.04.2022 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |