Re: [PHP-DEV] APM
On Mon, May 25, 2009 at 1:38 PM, Ilia Alshanetsky wrote: > Neat idea. Why not open the sqlite db at MINIT rather then RINIT and add a > whole pile of overhead to every request. > > > Ilia Alshanetsky Also: Pinba is something else that might be interesting to look into. http://pinba.org http://groups.google.com/group/pinba-engine/ But yes, pooling errors and such into a central server would be great... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] APM
> Wheels were made to be reinvented! Or else we'd all be using stone wheels.
Re: [PHP-DEV] APM
Wheels were made to be reinvented! On Mon, May 25, 2009 at 7:07 PM, Olivier B. wrote: > Hi, > > why not use reporting thought syslog ? It's standard and "central > aggregation" is already available (thought TCP or databases). > > Olivier > > Patrick ALLAERT a écrit : > > Hi list, >> >> First, I'd like to apologize if the subject of this mail is somewhat >> off-topic. >> >> Davide Mendolia and me are currently working on: "Alternative PHP >> Monitor" (APM - http://code.google.com/p/peclapm/) which consist of >> three parts: >> - a PHP extension which has as a goal of capturing "events" (warning, >> error, notices,... and slow requests) storing them centrally in an >> SQLite DB. >> - a webfrontend to display captured events (for now, it's basically a >> table without any filtering or querying). >> - a "central aggregator" which collects events from the different >> "nodes" (still not developped). >> >> I think it is important to mention that we are talking about 100% Free >> Software here :-) >> >> An event is currently characterized with the following properties: >> - a unique ID >> - a timestamp >> - a script filename/line number >> - an event level corresponding to error levels >> - a message >> >> A "slow request" is characterized with the following properties: >> - a unique ID >> - a timestamp >> - a script filename >> - a duration >> >> We'd like to have your opinion on our "next steps", what is the most >> important feature according to you: >> - The development of the central aggregator >> - Collecting more info related to an "event" (content of variables >> $GLOBALS, $_GET, $_POST,...) >> - alert systems (SNMP, Mailing, ...) >> - Web services >> - extending the webfrontend >> >> Any similarity with existing Israeli products is purely coincidental. :-) >> >> Thanks for your help, >> Patrick >> >> >> > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP-DEV] APM
Hi, why not use reporting thought syslog ? It's standard and "central aggregation" is already available (thought TCP or databases). Olivier Patrick ALLAERT a écrit : Hi list, First, I'd like to apologize if the subject of this mail is somewhat off-topic. Davide Mendolia and me are currently working on: "Alternative PHP Monitor" (APM - http://code.google.com/p/peclapm/) which consist of three parts: - a PHP extension which has as a goal of capturing "events" (warning, error, notices,... and slow requests) storing them centrally in an SQLite DB. - a webfrontend to display captured events (for now, it's basically a table without any filtering or querying). - a "central aggregator" which collects events from the different "nodes" (still not developped). I think it is important to mention that we are talking about 100% Free Software here :-) An event is currently characterized with the following properties: - a unique ID - a timestamp - a script filename/line number - an event level corresponding to error levels - a message A "slow request" is characterized with the following properties: - a unique ID - a timestamp - a script filename - a duration We'd like to have your opinion on our "next steps", what is the most important feature according to you: - The development of the central aggregator - Collecting more info related to an "event" (content of variables $GLOBALS, $_GET, $_POST,...) - alert systems (SNMP, Mailing, ...) - Web services - extending the webfrontend Any similarity with existing Israeli products is purely coincidental. :-) Thanks for your help, Patrick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] APM
We'd like to have your opinion on our "next steps", what is the most important feature according to you: - The development of the central aggregator Yes, we run 24 boxes with PHP on them running the same code base. When we have the occasional PHP error, it will be logged over and over and over and over until someone sees it in the log. Usually the next day. We are talking notice/warning level stuff here of course. If we could have all the errors in file foo.php on line 999 in one interface, it would be nice. We have started on apps several times to aggregate the error logs into a database. - Collecting more info related to an "event" (content of variables $GLOBALS, $_GET, $_POST,...) GET, POST and COOKIE would be useful to allow for a recreation of the environment. Not sure about globals. - alert systems (SNMP, Mailing, ...) SNMP would be most flexible. I guess some small shops would want direct alerting. We use Nagios and Cacti to montior our servers. So, SNMP would let us see trends using the tools we already use. Also, using something like the spread protocol could be useful to allow custom listeners for events. One question is what type of performance impact are we looking at here? Brian Moon http://brian.moonspot.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] APM
Neat idea. Why not open the sqlite db at MINIT rather then RINIT and add a whole pile of overhead to every request. Ilia Alshanetsky On 25-May-09, at 4:57 AM, Patrick ALLAERT wrote: Hi list, First, I'd like to apologize if the subject of this mail is somewhat off-topic. Davide Mendolia and me are currently working on: "Alternative PHP Monitor" (APM - http://code.google.com/p/peclapm/) which consist of three parts: - a PHP extension which has as a goal of capturing "events" (warning, error, notices,... and slow requests) storing them centrally in an SQLite DB. - a webfrontend to display captured events (for now, it's basically a table without any filtering or querying). - a "central aggregator" which collects events from the different "nodes" (still not developped). I think it is important to mention that we are talking about 100% Free Software here :-) An event is currently characterized with the following properties: - a unique ID - a timestamp - a script filename/line number - an event level corresponding to error levels - a message A "slow request" is characterized with the following properties: - a unique ID - a timestamp - a script filename - a duration We'd like to have your opinion on our "next steps", what is the most important feature according to you: - The development of the central aggregator - Collecting more info related to an "event" (content of variables $GLOBALS, $_GET, $_POST,...) - alert systems (SNMP, Mailing, ...) - Web services - extending the webfrontend Any similarity with existing Israeli products is purely coincidental. :-) Thanks for your help, Patrick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] CVS Account Request: dmendolia
Hi folks, On Tue, May 5, 2009 at 6:19 PM, Davide Mendolia wrote: > contribute to php-benchmark > http://cvs.php.net/viewvc.cgi/php-benchmarks/ > > My first proposal(raytracer) was committed by Paul Biggar Do I need to vouch for this? If so, vouched. Thanks, Paul -- Paul Biggar paul.big...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] CVS Account Request: dmendolia
Hi folks, On Tue, May 5, 2009 at 6:19 PM, Davide Mendolia wrote: > contribute to php-benchmark > http://cvs.php.net/viewvc.cgi/php-benchmarks/ > > My first proposal(raytracer) was committed by Paul Biggar Do I need to vouch for this? If so, vouched. Thanks, Paul -- Paul Biggar paul.big...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] PHP 6 Bug Summary Report
PHP 6 Bug Database summary - http://bugs.php.net/ Num Status Summary (77 total -- which includes 36 feature requests) ===[*Unicode Issues]== 48265 Open Source and result of database have different encodings. ===[Apache related]=== 47061 Open User not logged under Apache ===[Apache2 related]== 44083 Open virtual() not outputting results if zlib.output_compression = On ===[Arrays related]=== 35277 Suspended incorrect recursion detection 41758 Assigned SORT_LOCALE_STRING broken for sort() in PHP6 43109 Open array_intersect() emits unexpected no of notices when 2d array is passed as arg ===[COM related]== 45836 Open cannot use com 46909 Open COM object not allowing calls to methods ===[Compile Failure]== 42606 Open unicode/constants.c relies on ICU draft api 44502 Suspended Compiling ok with MySQL 5.0 ===[Date/time related] 46948 Assigned ext/date/lib/parse_tz.c:99: Memory leak: buffer ===[Filesystem function related]== 42110 Open fgetcsv doesn't handle ""\n correctly in multiline csv record 44034 Open FILE_IGNORE_NEW_LINES in FILE does not work as expected when lines end in \r\n 46688 Open Return values differ from 5.3 and are also inconsistent 46689 Open Downcoded notices suggest unfinished code in file system? ===[GD related]=== 34670 Assigned imageTTFText for Indian scripts (Devanagari) 34992 Assigned imageconvolution does not respect alpha ===[I18N and L10N related] 42471 Open locale_set_default returns true on invalid locales ===[mcrypt related]=== 46834 Assigned Range of mcrypt functions fail on PHP 6.0 ===[MySQL related] 44076 Open mysql_result returns nothing with blob ===[OpenSSL related]== 25614 Assigned openssl_pkey_get_public() fails when given a private key ===[PDO related]== 35368 Suspended PDO query does not work properly with serialize ===[Performance problem]== 42528 Open Out of "char"(8-bit) range value doesn't roll back, with uni-code ON. ===[Program Execution] 39992 Open proc_terminate() leaves children of child running 43784 Assigned escapeshellarg removes % from given string ===[Regexps related]== 44923 Open ereg functions are not unicode aware: provide wrapper functions in PCRE ===[Reproducible crash]=== 45107 Open setting ext_dir to "./" (and other ini settings) causes apache crash 47756 Open Segfault on HTML Purifier test suite ===[Scripting Engine problem]= 42194 Open $argc/$argv[] won't work when .php extension is assigned to php.exe 47154 Open Object properties unset after setting. ===[Session related]== 44860 Open session_encode() fails for php_binary serializer ===[Strings related]== 45566 Open Strict comparision on $_SERVER values fail 47691 Verified strtr bug. Not replace unicode values from array, in binary string. ===[Unicode Engine related]=== 45087 Open Illegal or truncated character in input 47155 Open PHP 6.0 decodes base64 into incorrect uft-8 string 47164 Assigned uncomfortable (binary)char() append to binary string ===[URL related]== 45602 Open urlencode/urldecode should use ASCII encoding ===[XSLT related]= 38218 Assigned php:functionString tries to access objects with their names in lowercase ===[Zlib Related]= 30153 Feedback FATAL erealloc() error when using gzinflate() 47178 Suspended Missing gzip headers in gzencode() output 47179 Open gzuncompress does not report expcted error Assigned bugs and feature requests (reminders sent): andrei 41758: SORT_LOCALE_STRING broken for sort() in PHP6 derick
[PHP-DEV] PHP 5 Bug Summary Report
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1317 total -- which includes 861 feature requests) ===[*Network Functions]=== 48167 To be documented undefined function checkdnsrr() ===[*XML functions]=== 48095 Verified Load RDF Format Error ===[Apache2 related]== 32220 Assigned [PATCH] thread_resources for thread not getting freed when apache kills thread 47675 Open File descriptor leaked due to HAVE_BROKEN_GETCWD 47681 Open System TMP dir ignored in file uploads 48134 Open crash after a few days (backtrace attached) with worker MPM 48260 Open Size of PHP file affects behaviour of virtual() or #include virtual 48365 Feedback glob() function returns empty array ===[Arrays related]=== 47221 Open no result from array_diff() ===[BC math related]== 44995 Open bcpowmod() using a scale function always returns 0 46564 Verified bcmod( '1071', '357.5' ) returns '0' ===[Bzip2 Related] 29521 Assigned compress.bzip2 wrapper ===[Calendar related]= 40213 Suspended easter_date() returns wrong timestamp if ... ===[CGI related]== 45217 Open crash if -z and -m are used together 47042 Open cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache 47412 Open PHP_MSHUTDOWN_FUNCTION not being called under FastCGI 47540 Feedback CLI can go into an infinite write() loop when ignore_user_abort(true) 47605 Open CGI SAPI can not send HTTP 200 header 47627 Open "No input file specified" causing crash 47766 Open php-cgi.exe crashes ===[Class/Object related]= 41461 Verified E_STRICT notice when overriding methods not defined by an Interface in hierarchy 46140 Open Unserializing with __wakeup that removes child causes subsequent refs to shift 46812 To be documented get_class_vars() does not include visible private variable looking at subclass 47405 Verified error reports wrong file/line 48215 Verified Child calling parent::func calls constructor instead of method (BC break!) ===[COM related]== 31327 Assigned chinese char and word problem 32099 Assigned After opening ADO connection and closing it repeatedly, Apache stops service 34253 Assigned COM binary object/array issue (question marks?) 35875 Assigned IE event failure upon scheduling script 36360 Assigned PHP crashes when accessing an object that was just create by parent object 37562 Assigned Unable to lookup "ParameterFieldDefinitions" 37899 Assigned [PATCH] php_char_to _OLECHAR copies junk bytes 37965 Assigned Multi-dimensional array between PHP and COM 38719 Assigned COM Error during accessing function VirtualMachines 40424 Assigned Fatal error when setting the value of COM object's property array 40581 Assigned Pass Struct type to COM object from PHP 40664 Assigned String conversion functions wrong for multibyte chars 41055 Assigned DOTNET not instantiating fully-pathed assembly 41078 Assigned Its not possible to call Static dotNet Classes with dotnet 41189 Assigned Multi-dimensional array in COM function causes hang 41368 Assigned ADODB.Recordset ActiveConnection property - can't set with PHP 5.2.1+ 41388 Assigned Error in COM Object results 41577 Assigned DOTNET is successful once per server run 42413 Assigned Cannot iterate IE's event object 42551 Assigned new COM("HTMLFile") => warnings 42585 Assigned die() in event handler => PHP hangs 43275 Open get_class problem with COM objects 43432 Open Fatal error when setting the value of COM object's Attribute property 43470 Open COM API fails to correctly return [OUT] VT_PTR references 43506 Open com_get_active_object always fails 43521 Open Problem with Variant/Parameters 43838 Open variant_set with IE leads to hang 43897 Open $ie not cleared on IE quit 44256 Open Pb with COM in PHP5 44578 Open Strange Behavior of PHP using COM Object 45280 Open Reflection of instantiated COM classes causes PHP to crash. 45704 Open $exception->getCode() always return 0x80020009 even when it shouldn't 45855 Open COM-Problem with GET/SET, using same method name (but with different arg count) 46224 Open Cannot instantiate .Net object (ABCpdf 6.1 .Net) 46522 Open Problem using new com 47401 Open Can't instantiate VARIANT objects with VT_BYREF flag 47458 Open PHP run as CGI module onapache giving ADODB error on wi
[PHP-DEV] APM
Hi list, First, I'd like to apologize if the subject of this mail is somewhat off-topic. Davide Mendolia and me are currently working on: "Alternative PHP Monitor" (APM - http://code.google.com/p/peclapm/) which consist of three parts: - a PHP extension which has as a goal of capturing "events" (warning, error, notices,... and slow requests) storing them centrally in an SQLite DB. - a webfrontend to display captured events (for now, it's basically a table without any filtering or querying). - a "central aggregator" which collects events from the different "nodes" (still not developped). I think it is important to mention that we are talking about 100% Free Software here :-) An event is currently characterized with the following properties: - a unique ID - a timestamp - a script filename/line number - an event level corresponding to error levels - a message A "slow request" is characterized with the following properties: - a unique ID - a timestamp - a script filename - a duration We'd like to have your opinion on our "next steps", what is the most important feature according to you: - The development of the central aggregator - Collecting more info related to an "event" (content of variables $GLOBALS, $_GET, $_POST,...) - alert systems (SNMP, Mailing, ...) - Web services - extending the webfrontend Any similarity with existing Israeli products is purely coincidental. :-) Thanks for your help, Patrick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Current problems with PHP5.3 testing
Pierre Joye wrote: If it does not please can you let us know where it is failing? THAT is all we are asking to be included in the windows builds, and it complies and works fine in Linux with existing Linux clients ... I said "clients" not the extension. That was my point ... If the extension is compiling then why is it not included in PHP5.3? Sorry, not going to begin this discussion again, please check the archives (internals and firebird-php). Please do not use whole words/sentences uppercased, I'm old but I can read normal texts. There is absolutely no reason to exclude php_interbase.dll from the current builds of windows PHP. That is entirely your decision, and one that can not be justified! The client that has been included with PHP up until now has always been one from an Interbase build, and if any client is included then it has to be that since the extension is still called php_interbase ... Firebird clients have - up until now - been used where we need to connect to Firebird, and in PHP5.2.x php_interbase.dll + the correct client for version of Firebird you wish to target works. Some people are still running FB1.5 and so will not want a later client on the system, so all that is needed is a copy of the extension as currently supplied with PHP5.2.x . If there is now a reason some legitimate reason to split the extension to provide a php_firebird and include a related Firebird client with PHP please can we have that discussion, but at present there is nothing we are asking for that requires that split? -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php