Re: [PHP-DEV] One suggestion to PHP-FPM

2010-04-14 Thread Jérôme Loyet
2010/4/15 滕路遥 : > We check error log after our server crashed, and we found that php heap > memory is out of limit, > so I think imagick use emalloc to allocate php heap memory, to check the > zend_memory_usage is > not a method for imagick, other circumstances which occupy huge memory can > use th

Re: [PHP-DEV] One suggestion to PHP-FPM

2010-04-14 Thread 滕路遥
We check error log after our server crashed, and we found that php heap memory is out of limit, so I think imagick use emalloc to allocate php heap memory, to check the zend_memory_usage is not a method for imagick, other circumstances which occupy huge memory can use this method to ensure the syst

Re: [PHP-DEV] [PATCH] Implementation of #35638 [include update timestamp in imap overview data]

2010-04-14 Thread Ferenc Kovacs
On Wed, Apr 14, 2010 at 11:24 AM, Pierre Joye wrote: > On Wed, Apr 14, 2010 at 11:16 AM, Ferenc Kovacs wrote: > > " Which feature request is it? Please add this patch there as well if > > you did not do it already." > > > > he did it. > > The key part of this reply was the question :) # ? > > --

Re: [PHP-DEV] Re: [PATCH] Implementation of #35638 [include update timestamp in imapoverview data]

2010-04-14 Thread Pierre Joye
hi, Applied, thanks for your work (and patience). On Tue, Apr 13, 2010 at 8:51 PM, Charles Duffy wrote: > This patch has been awaiting review for over a month. Is there anything I > can do to help hurry things along? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe,

Re: [PHP-DEV] One suggestion to PHP-FPM

2010-04-14 Thread Rasmus Lerdorf
On 04/14/2010 02:01 AM, Jérôme Loyet wrote: > The patch seems good (I didn't test it yet) but I'm curious about the > way you check the memory real size: > > + if(zend_memory_usage(1 TSRMLS_CC) > > fpm_global_config.term_on_memory_limit){ > > I don't know much about th

Re: [PHP-DEV] [PATCH] Implementation of #35638 [include update timestamp in imap overview data]

2010-04-14 Thread Pierre Joye
On Wed, Apr 14, 2010 at 11:16 AM, Ferenc Kovacs wrote: > " Which feature request is it? Please add this patch there as well if > you did not do it already." > > he did it. The key part of this reply was the question :) # ? -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

Fwd: [PHP-DEV] [PATCH] Implementation of #35638 [include update timestamp in imap overview data]

2010-04-14 Thread Ferenc Kovacs
" Which feature request is it? Please add this patch there as well if you did not do it already." he did it. Tyrael -- Forwarded message -- From: Charles Duffy Date: Wed, Mar 10, 2010 at 4:52 AM Subject: [PHP-DEV] [PATCH] Implementation of #35638 [include update timestamp in ima

Re: [PHP-DEV] One suggestion to PHP-FPM

2010-04-14 Thread Jérôme Loyet
Le 14 avril 2010 09:29, Jérôme Loyet a écrit : > 2010/4/6 滕路遥 : >> hi, >> >> We use PHP's Imagemagick extension to process images, and this would >> consume a lot of memory under some circumstances. >> However, the mainstream PHP's memory management is really weak, so a >> huge amount of memory wo

Re: [PHP-DEV] Re: [PATCH] Implementation of #35638 [include update timestamp in imapoverview data]

2010-04-14 Thread Pierre Joye
Hi, Which feature request is it? Please add this patch there as well if you did not do it already. Cheers, On Tue, Apr 13, 2010 at 8:51 PM, Charles Duffy wrote: > This patch has been awaiting review for over a month. Is there anything I > can do to help hurry things along? > > -- > PHP Internal

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Kalle Sommer Nielsen
Hey 2010/4/14 Frederic Hardy : > On 04/14/2010 09:56, Antony Dovgal wrote: > Moreover, Rasmus says : Commit into trunk > (http://news.php.net/php.internals/47873). As long as you contact the maintainers of the ext/sapi you want to contribute to is OK'd. -- regards, Kalle Sommer Nielsen ka...

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Frederic Hardy
On 04/14/2010 09:56, Antony Dovgal wrote: On 14.04.2010 11:20, Ferenc Kovacs wrote: agree, but he did proposed the patch. and it seems that nobody bothered to answer/review: http://www.mail-archive.com/internals@lists.php.net/msg45918.html Which definitely doesn't mean he can go ahead

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Ferenc Kovacs
On Wed, Apr 14, 2010 at 9:56 AM, Antony Dovgal wrote: > On 14.04.2010 11:20, Ferenc Kovacs wrote: > > agree, but he did proposed the patch. > > and it seems that nobody bothered to answer/review: > > http://www.mail-archive.com/internals@lists.php.net/msg45918.html > > Which definitely doesn't me

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Antony Dovgal
On 14.04.2010 11:20, Ferenc Kovacs wrote: > agree, but he did proposed the patch. > and it seems that nobody bothered to answer/review: > http://www.mail-archive.com/internals@lists.php.net/msg45918.html Which definitely doesn't mean he can go ahead and commit it himself. -- Wbr, Antony Dovgal -

Re: [PHP-DEV] One suggestion to PHP-FPM

2010-04-14 Thread Jérôme Loyet
2010/4/6 滕路遥 : > hi, > > We use PHP's Imagemagick extension to process images, and this would > consume a lot of memory under some circumstances. > However, the mainstream PHP's memory management is really weak, so a > huge amount of memory would be consumed under high server load. What's > worse,

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Jérôme Loyet
2010/4/14 Ferenc Kovacs : > On Wed, Apr 14, 2010 at 8:17 AM, Antony Dovgal wrote: > >> On 14.04.2010 06:53, looyao teng wrote: >> > hi, I'm a php programmer, our site use PHP's Imagemagick >> >  extension to process images, and this would consume a lot of >> >  memory under some circumstances. How

Re: [PHP-DEV] SVN Account Request: looyao

2010-04-14 Thread Ferenc Kovacs
On Wed, Apr 14, 2010 at 8:17 AM, Antony Dovgal wrote: > On 14.04.2010 06:53, looyao teng wrote: > > hi, I'm a php programmer, our site use PHP's Imagemagick > > extension to process images, and this would consume a lot of > > memory under some circumstances. However, the mainstream > > PHP's me