NYCPHP Meetup

NYPHP.org

[nycphp-talk] system() call timeout

Andrew Yochum andrew at plexpod.com
Wed Oct 12 17:44:05 EDT 2005


On Wed, Oct 12, 2005 at 05:08:01PM -0400, Nunez, Eddy wrote:
> 
> Fork a child ?  pcntl function calls ??  what if you're running on a webserver,
> you're going to fork a huge application just to do a "ls -l" ???
> 
> It's always good to have this knowledge on hand but ask yourself do I
> really need a bazooka to kill a mouse?

Very good point. You should know what is really doing behind the scenes.

However, I *suspect* Jeffrey was not really finding that "ls -l" was
timing out, but rather something proprietary for which he substituted
something common for public conumption.  If it is really "ls" then,
there is more to the problem then he is stating.

Andrew

-- 
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879



More information about the talk mailing list