KB Article #178365

SUP process constantly crashing

Problem

-- SUP constantly aborts and results in GateController restarting Gateway with every occurrence. The following error messages/log entries display in the Gateway log.dat and SUP*.out:

log.dat:

20170117 132124 052 GC W JOBEXIT Process SUP pid 8741 exited with status 1
20170117 132124 016 GC W POL1 GateController detected the status BROKEN (Vital process) caused by SUP. GateController will restart the Gateway.



SUP*.out:

2017/01/17 13:21:24 - ERROR from __SupXferPut
2017/01/17 13:21:24 XferPut failed / Inconsistent file structure


Resolution

* "XferPut failed" indicates that SUP wants to write a record in the mailbox, but it can't. "Inconsistent file structure" means that the mailbox (xfer.dat) is corrupted, or that SUP can't seek in it. These error messages indicate that most likely the Gateway mailbox is corrupt or too large in size. To get Gateway up and running quickly, initialize the mailbox to a fresh one (all previous transfer history will be lost).


Reinitialize the mailbox

- rename xfer.dat and xfer_b.dat
- pelmon init_base -f
- pelmon check_base -ra
- gatestart


If it is desired to retain the previous transfer history, then attempt a resize to a fresh mailbox with a smaller size to address the corrupt mailbox/large mailbox, and carry forward the old transfer records. Refer the link below on how to determine the size of the new mailbox and make it so:


https://support.axway.com/kb/66845/language/en