php-general Digest 16 Jul 2013 23:58:16 -0000 Issue 8298
Topics (messages 321617 through 321620):
Kickstarter Project on Massive Log data Aggregation and Processing with Open
Source Software
321617 by: Israel Ekpo
321618 by: Daniel Brown
Problem with dba_open() on db4 database
321619 by: Thorsten Göllner
How to read PHP-FPM config values using phpinfo
321620 by: Amiya Maji
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Hi Everyone,
I just launched a Kickstarter project that will fund the creation of a
course on how to aggregate, process, search and visualize massive log data
using open source software.
I believe some of the folks on the user mailing list would find this
helpful.
Web applications do generate a lot of log data and I believe that knowing
how to deal with it could be very valuable.
Is it OK to send out an email with a summary of what the project is about?
--- End Message ---
--- Begin Message ---
On Jul 15, 2013 11:29 PM, "Israel Ekpo" <israele...@gmail.com> wrote:
>
> Hi Everyone,
>
[snip!]
No. Good luck with your endeavor, but please do not broadcast it to
this list.
--- End Message ---
--- Begin Message ---
Hi,
I am using a db4 database to store some values (on the local
filesystem). Here the sample code:
$handle = dba_open("/var/cache/mydb.db", "cd", "db4");
[...]
$result = dba_replace($key, serialize($data), $handle);
[...]
dba_close($handle);
This Code is used in a CLI-Script (in an Asterisk-AGI-Script) and will
be used by some processes in parallel. The online documentation
(http://de1.php.net/manual/en/function.dba-open.php) shows, that the
function should "wait" if more than a process has a lock on the
database. This works fine if I use the script an execute it in differnt
shells in parallel.
But SOMETIMES(!) I get (in the Asterisk-Environment) the following error
message:
dba_open(/var/cache/mydb.db,cd): Driver initialization failed for
handler: db4: Unable to establish lock (database file already open)
So it seems, that the function "dba_open()" returns immediatly without
waiting for lock release. But I do not know why ... ?!
I am using the following versions:
Ubuntu 12.04. LTS (up to date) with PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch
Any idea?
Thank in advance
-Thorsten-
--- End Message ---
--- Begin Message ---
Hi all,
I am using PHP-FPM with Apache 2.4. I periodically change my
php-fpm.conf and reload it by sending USR2 signal to the FPM process. Is
there a way to print the updated parameters in FPM using phpinfo().
At present I am not seeing any FPM specific parameters in phpinfo. Any
suggestion is appreciated.
Thanks!
Amiya.
--- End Message ---