amandad fills disk with errors

Orion Poplawski <[email protected]> Wed, 15 Aug 2018 09:00:22 -0600
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
We had an issue last night with the amanda server.  This led to some other
problems on the clients.  One client filled up /var in the amandad.debug log with:

Tue Aug 14 21:51:52.235425403 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Connection reset by peer)
Tue Aug 14 21:51:52.235489205 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235486385 2018: pid 18877: thd-0x560a747d5600: amandad:
security_stream_seterr(0x560a7481cdf0, SOCKET_EOF)
Tue Aug 14 21:51:52.235519348 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235555371 2018: pid 18877: thd-0x560a747d5600: amandad:
process_writenetfd 24: 0
Tue Aug 14 21:51:52.235599812 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235623843 2018: pid 18877: thd-0x560a747d5600: amandad:
security_stream_close(0x560a7481cdf0)
Tue Aug 14 21:51:52.235644837 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235682795 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235719468 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235758891 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235798132 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235837370 2018: pid 18877: thd-0x560a747d5600: amandad:
security_stream_seterr(0x560a7481cdf0, write error to: Broken pipe)
Tue Aug 14 21:51:52.235877647 2018: pid 18877: thd-0x560a747d5600: amandad:
STRANGE, rc->refcnt should be 1, it is 4
Tue Aug 14 21:51:52.235892719 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Broken pipe)
Tue Aug 14 21:51:52.235929505 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Bad file descriptor)
Tue Aug 14 21:51:52.235959848 2018: pid 18877: thd-0x560a74825000: amandad:
security_stream_seterr(0x560a74804c10, write error to: Bad file descriptor)
....

This last error kept repeating.  At some point amandad just needs to give up.

This is with 3.5.1

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                 https://www.nwra.com/