Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44649 invoked from network); 11 Jun 2015 11:59:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jun 2015 11:59:01 -0000 Authentication-Results: pb1.pair.com header.from=kluev.andrew@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kluev.andrew@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.66 as permitted sender) X-PHP-List-Original-Sender: kluev.andrew@gmail.com X-Host-Fingerprint: 209.85.215.66 mail-la0-f66.google.com Received: from [209.85.215.66] ([209.85.215.66:34066] helo=mail-la0-f66.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/61-35910-30879755 for ; Thu, 11 Jun 2015 07:59:00 -0400 Received: by labgd6 with SMTP id gd6so615128lab.1 for ; Thu, 11 Jun 2015 04:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kb0I0Aj8hHFm3joD/ABHFo78ovXtZIRItNjzMFjLJ1Q=; b=q3HqkkOkytRv3ZkbKKmTKCVGy4YkObpOeeanG6+uttpdnDy9N9Rc8IP9E/of5yRlts r2eBFYKD0CHF4mfXWggpm/41bgYP6tS3+F8CT6rC6AueCyijTK2xrePvP4q1x/xs0fc8 o7ayqHrX7NYvpqN8o6Ko7FxUKDox76oF8u5rVUxBUF6pJLJJ5D4vgutqO/KwBXRU2L1U IqbTPuDeGHb84+ZqoVSeV29yyN15thiKDb1Lps6LPve6DVTnHV5ERjdaYIQR4yxlknt/ bZAFs+19vehImx3/Gna+1KwZQ8F4wQGUcw3vfWsNWbLThXSIyJ66iSV4ISEpdfZ5Yh9K 5evA== MIME-Version: 1.0 X-Received: by 10.112.168.102 with SMTP id zv6mr9472573lbb.45.1434023936858; Thu, 11 Jun 2015 04:58:56 -0700 (PDT) Received: by 10.114.184.81 with HTTP; Thu, 11 Jun 2015 04:58:56 -0700 (PDT) In-Reply-To: References: <1434022957.18853.14.camel@kuechenschabe> Date: Thu, 11 Jun 2015 14:58:56 +0300 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=001a11c33d325b219505183cb7d2 Subject: Re: [PHP-DEV] Some strange bug From: kluev.andrew@gmail.com (Andrew Kluev) --001a11c33d325b219505183cb7d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It is very informative, but not resolve the problem, php completely ignored my max_execution_teme setup with any SAPI, in all cases 2015-06-11 14:57 GMT+03:00 Andrew Kluev : > And php7 not working too..... > > php7 -v > PHP 7.0.0-dev (cli) (built: Mar 30 2015 12:26:36) (DEBUG) > Copyright (c) 1997-2015 The PHP Group > Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies > > 2015-06-11 14:55 GMT+03:00 Andrew Kluev : > >> It is very informative, but not resolve the problem, php completely >> ignored my max_execution_teme setup with any SAPI, in all cases >> >> 2015-06-11 14:42 GMT+03:00 Johannes Schl=C3=BCter : >> >>> On Thu, 2015-06-11 at 14:25 +0300, Andrew Kluev wrote: >>> > sleep(3); >>> [...] >>> > This is a bug or something I do not know about php? >>> >>> Max execution time is working a bit dependent on the operating system. >>> On Windows it is using the elapsed time ("wall clock time") on Linux >>> systems the CPU time. Thus on windows the sleep counts whereas on Linux >>> no time is spent during sleep(). The same difference happens when other >>> processes are on CPU and your PHP script was taken off CPU for other >>> reasons. >>> >>> For details see MSDN on CreateTimerQueueTimer for Windows and the >>> setitimer man page with (ITIMER_PROF option) for Linux/Unix for a start= . >>> >>> https://msdn.microsoft.com/en-us/library/windows/desktop/ms682485% >>> 28v=3Dvs.85%29.aspx >>> >>> http://linux.die.net/man/2/setitimer >>> >>> >>> johannes >>> >>> >> > --001a11c33d325b219505183cb7d2--