Results 1 to 3 of 3
  1. #1

    max_execution_time in php.ini

    Hi

    In the php.ini file I have set max_execution_time to 30 seconds, but today I saw the following in top:

    Code:
    PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
    18857 serbehd   25   0  6260 6260  3492 R    98.0  0.3 587:56   0 /usr/bin/php readmsg.php
    How is it possible, that this script could run for such a long time? And how can I avoid this things?

    Michael

  2. #2
    I too have noticed the global php.ini does not always respect this value, nor does it always respect the memory_limit setting. Find someone who's familiar with perl and ask them to write something that will babysit PHP, because it really needs it, badly.

  3. #3
    try install PRM from rfxnetworks.com to check on the php command, you may max memory usage it allow for a certain command before it is killed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •