A nonlocal model for heat transfer with phonons and electrons is applied to infer the steady-state radial temperature profile in a circular layer surrounding an inner hot component. Such a profile, following by the numerical solution of the heat equation, predicts that the temperature behaves in an anomalous way, since for radial distances from the heat source smaller than the mean-free path of phonons and electrons, it increases for increasing distances. The compatibility of this temperature behavior with the second law of thermodynamics is investigated by calculating numerically the local entropy production as a function of the radial distance. It turns out that such a production is positive and strictly decreasing with the radial...