A system running fine for months all of a sudden began timing out scripts. It turns out that PHP itself is taking over 5 secs to run, as shown below. Top shows no increase in CPU while the command runs.
Rebooting did not help. How to troubleshoot?
root@arrow60:~ $ time php -v
PHP 5.3.3 (cli) (built: Dec 11 2013 03:15:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies