php really slow from command line ?

From: user 2.
Sent on: Monday, November 12, 2012 10:22 PM
I'm hoping someone may have an answer to my problem.  This just started
today.  Suddenly, php is super slow from the command line, even though the
server is fine, light load, no problems, php web pages load just fine. 
The script can be as ridiculously simple as echo "hello world" - yet it
takes up to 40 seconds to run.  ie:
date;php h.php;date
Tue Nov 13 06:15:13 UTC 2012
Hello World!
Tue Nov 13 06:15:53 UTC 2012

The server is a rackspace cloud centos 6.  Up until now, it was running
fine.  The big difference with this server is there's php - imap 
installed and a cron job checking an email box every minute.  Other
servers with the same set up are running from the command line just fine.

I'm totally stumped, I've never seen anything like this!  Any ideas are
appreciated.

Our Sponsors

  • TUNE

    Meeting space and food

  • PluralSight

    PluralSight subscriptions for developer training

  • Siteground

    Information coming Soon

  • O'Reilly

    Disc Code: PCBW is good for 40% off print and 50% off ebooks and videos

  • JetBrains PhpStorm

    Occasional free licenses to raffle off at meetups

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy