You are here: Re: exec php « PHP Programming Language « IT news, forums, messages
Re: exec php

Posted by My Pet Programmer on 12/27/07 13:21

warth33@hotmail.com said:
> I am quite sure that the problem is located in the function exec. At
> some point, that function hangs up. Why? Not easy to know. But is it
> possible to log it? Ordinary self made log function doesnt give
> anything. Apache error log doesnt give anything either. How can I
> analyze what is going on with that function?
>
If they work for a while and then suddenly stop, have you checked the OS
error logs? If there is an error happening, it's going to be recorded
somewhere. It could be something as simple as your app filling up memory
somehow, or having too many open threads to it from the OS' viewpoint.

With exec, if it goes out and executes successfully once, then it's most
likely not broken there, and you might need to go deeper to get to any
kind of issues. Maybe open up the server process list and watch what's
happening while it runs, if you can.


Good luck, chasing this one is going to cost you a bunch of time, sounds
like.
~A!

--
Anthony Levensalor
anthony@mypetprogrammer.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация