php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59855 no output
Submitted: 2011-07-18 01:39 UTC Modified: 2013-02-18 00:35 UTC
From: water at coweibo dot cn Assigned:
Status: No Feedback Package: memtrack (PECL)
PHP Version: 5.3.1 OS: Linux CentOS 2.6.18-164.el5xen
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-07-18 01:39 UTC] water at coweibo dot cn
Description:
------------
no warning output

php -d memtrack.enabled=1 -d memtrack.soft_limit=1M -d 
memtrack.vm_limit=3M test_db.php 
php -d memtrack.enabled=1 test_db.php 
php -d memtrack.enabled=1 -d memtrack.soft_limit=1M -d 
memtrack.vm_limit=3M c.php 
php -d memtrack.enabled=1 -d memtrack.soft_limit=1M -d 
memtrack.vm_limit=3M c.php 
php -d memtrack.enabled=1 c.php 

none of above generates expected warning output of memory 
consumption / usage but normal output to stdout. 

Expected result:
----------------
Warning: [memtrack] [pid 26177] user function foo() executed 
in /tmp/example1.php on line 10 allocated 4194304 bytes in 
/tmp/example1.php on line 0
Warning: [memtrack] [pid 26177] virtual memory usage on 
shutdown: 32911360 bytes in Unknown on line 0


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-18 04:04 UTC] tony at daylessday dot org
Why should it generate any warnings at all?
How do I know what's in those scripts?
 [2011-07-20 04:02 UTC] water at coweibo dot cn
in the doc page, it said it would output to std warning...
regardless of what content in the script...
 [2011-07-20 04:38 UTC] tony at daylessday dot org
What do you mean "regardless"? Of course the contents of the script matters, that's kind of the point, isn't it?
Are you running the example from the docs or what?
What's the reproduce case?
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC