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_2_1_12~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e411d7975c6dc04a95c2e42e13ade32e681c29;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 44dd9ae818d..db90641df5f 100644 --- a/src/main/exec.c +++ b/src/main/exec.c @@ -465,7 +465,7 @@ int radius_exec_program(const char *cmd, REQUEST *request, rcode = select(pd[0] + 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(pd[0]); /* should give SIGPIPE to child, too */