Index: xymond/xymond.c =================================================================== --- xymond/xymond.c (revision 6890) +++ xymond/xymond.c (working copy) @@ -2533,6 +2533,7 @@ flen = st.st_size; add_filecache(fullfn, result, flen); + close(fd); } else { errprintf("Impossible - cannot fstat() an open file ..\n");