Unable to obtain process output within 15 seconds

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
SpinDreams
Junior Member
Posts: 2
Joined: 05 Jun 2013, 12:55

Unable to obtain process output within 15 seconds

Post by SpinDreams »

I'm recently getting the following reported for PS output in the high 5 minute load emails from at least 2 of my servers.

"Unable to obtain process output within 15 seconds - Timed out"

If I run PS from shell it reports fine.

Any ideas why?
abdelhost77
Junior Member
Posts: 1
Joined: 31 Dec 2013, 16:26

Re: Unable to obtain process output within 15 seconds

Post by abdelhost77 »

Same pb here

csf v6.38

May be it is a BUG
khimaira
Junior Member
Posts: 18
Joined: 05 Aug 2010, 01:24

Re: Unable to obtain process output within 15 seconds

Post by khimaira »

We have the same problem on 2 servers. The message is consistent no matter when the notice is sent or how high the load. Can't say which version it started with but we keep looking for the fix. It's difficult to diagnose the load issue without the process list.
dcrouch
Junior Member
Posts: 4
Joined: 11 May 2012, 21:14

Process List Not Showing in Load Alert

Post by dcrouch »

We have been receiving loadalerts, though the processlists receive the following.

Output from ps:
Unable to obtain process output within 15 seconds - Timed out

Additionally, the other two files only provide one line of output, which does not help much for diagnosing the issue. Is this a known issue, or are there any workarounds that are available?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Unable to obtain process output within 15 seconds

Post by ForumAdmin »

We've identified the problem and will have a fix for it in the next release. In the meantime you can modify the latest /etc/csf/lfd.pl and change line 2566 from:

Code: Select all

				@proclist = &syscoammnd(__LINE__,$config{PS},"axuf");
to:

Code: Select all

				@proclist = &syscommand(__LINE__,$config{PS},"axuf");
then restart lfd.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Unable to obtain process output within 15 seconds

Post by ForumAdmin »

This is now fixed in csf v6.42:
http://blog.configserver.com/
Post Reply