The
gpmmon log shows there are issues in binding to a socket:
2020-04-24 19:27:11|:-LOG: HOSTNAME = 'idb156'
2020-04-24 19:27:11|:-FATAL: [INTERNAL ERROR gpsmon.c:1347] unable to bind udp socket
error 98 (Address already in use)
... exiting
However, observe that
netstat didn't show port
8888 in use:
[gpadmin@idb156]-/var/gpadmin # netstat -nalp | grep 8888
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
[gpadmin@idb156]-/var/gpadmin #
The issue is using
gpfdist with a range between
8000 and
9000.
gpdb-2020-04-26_135525.csv:2020-04-26 19:21:37|INFO|started gpfdist -p 8000 -P 9000 -f ""/home/gpadmin/gpfdist.log"" -t 30 -m 1000000
With many external table accessing
gpfdist, it
eventually overlapped with
gpsmon port
8888.
Resolution
1. Use
gpfdist with a different range of ports, for example
9000 -
10000.
2. Change the configuration of
gpsmon to use a different port.