From: Alan T. DeKok Date: Tue, 21 Jun 2011 09:22:36 +0000 (+0200) Subject: Print out *which* program is causing the delay X-Git-Tag: release_3_0_0_beta0~759 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a64861993906ead3710a9facf7ca104365ebc83;p=thirdparty%2Ffreeradius-server.git Print out *which* program is causing the delay --- diff --git a/src/main/exec.c b/src/main/exec.c index 196cdfc29b6..153b40bf657 100644 --- a/src/main/exec.c +++ b/src/main/exec.c @@ -470,7 +470,7 @@ int radius_readfrom_program(int fd, pid_t pid, int timeout, char *answer, int le rcode = select(fd + 1, &fds, NULL, NULL, &wake); if (rcode == 0) { too_long: - radlog(L_ERR, "Child PID %u is taking too much time: forcing failure and killing child.", pid); + radlog(L_ERR, "Child PID %u (%s) is taking too much time: forcing failure and killing child.", pid, argv[0]); kill(pid, SIGTERM); close(fd); /* should give SIGPIPE to child, too */