<div>Hallo zusammen,<br></div><div><br></div><div>mit Hilfe von Andreas hab ich nun die Performance Middleware ans Laufen bekommen.<br></div><div>Auf dem Weg dahin bin ich so ziemlich in alle Fallen getappt die man sich so denken kann.<br></div><ul><li><div>falsche php.ini editiert<br></div></li><li><div>inkompatible Apache Konfiguration<br></div></li><li><div>...<br></div></li></ul><div>Ich plädiere daher dafür, die Performance Middleware künftig ins PI Image zu nehmen, bzw. standardmäßig zu aktivieren.<br></div><div><br></div><div>Noch ein paar kleinere Anmerkungen zur Doku misc/tools/README.md/#performance-middleware<br></div><ul><li><div>Ein Hinweis auf die "richtige" php.ini (php-cgi) wäre nicht schlecht<br></div></li><li><div>vzhttp.service: ppm.json --> middleware.json<br>ExecStart=/usr/bin/php /var/www/<a href="http://volkszaehler.org/vendor/bin/ppm">volkszaehler.org/vendor/bin/ppm</a> start -c /var/www/<a href="http://volkszaehler.org/etc/ppm.json">volkszaehler.org/etc/ppm.json</a><br></div></li></ul><div>Gruß,<br></div><div>Claus</div><div><br></div><div>Am 4. Juli 2017 um 20:43:54 +02:00, hat Claus Beckenbauer <mail@claus-beckenbauer.de> geschrieben:<br></div><blockquote type="cite"><div class="oneComWebmail-html oneComWebmail-mail"><div lang="DE" class="oneComWebmail-body"><div class="oneComWebmail-WordSection1"><p class="oneComWebmail-MsoNormal">Hallo zusammen,<br></p><p class="oneComWebmail-MsoNormal"> <br></p><p class="oneComWebmail-MsoNormal">ich hab versucht die Perormance Middleware mit Hilfe der Beschreibung unter /misc/Tools ans laufen zu bekommen – Leider ohne Erfolg…<br></p><p class="oneComWebmail-MsoNormal"> <br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">sudo vendor/bin/ppm start -c etc/middleware.json</span><br></p><p class="oneComWebmail-MsoNormal"> <br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">PHP Fatal error:  Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Warning: pcntl_signal() has been disabled for security reasons' in /var/www/volkszaehler.org/vendor/mkraemer/react-pcntl/src/MKraemer/ReactPCNTL/PCNTL.php:30</span><br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">Stack trace:</span><br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">#0 /var/www/volkszaehler.org/vendor/php-pm/php-pm/ProcessSlave.php(285): MKraemer\ReactPCNTL\PCNTL->on(15, Array)</span><br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">#1 /tmp/dbgSKiIsf(22): PHPPM\ProcessSlave->run()</span><br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">#2 {main}</span><br></p><p class="oneComWebmail-MsoNormal"><span class="font" style="font-family: 'Courier New';">  thrown in /var/www/volkszaehler.org/vendor/mkraemer/react-pcntl/src/MKraemer/ReactPCNTL/PCNTL.php on line 30</span><br></p><p class="oneComWebmail-MsoNormal"> <br></p><p class="oneComWebmail-MsoNormal">In der php.ini hab ich disable_functions auskommentiert.<br></p><p class="oneComWebmail-MsoNormal">Jemand ne Idee?<br></p><p class="oneComWebmail-MsoNormal"> <br></p><p class="oneComWebmail-MsoNormal">Gruß,<br></p><p class="oneComWebmail-MsoNormal">Claus<br></p></div></div></div></blockquote><div><br></div>