Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 09 11:11
    andig commented #541
  • Jan 09 11:11

    andig on 2.3.0

    (compare)

  • Jan 09 11:10

    andig on master

    Add Symfony 6 support Remove S… Merge pull request #541 from da… (compare)

  • Jan 09 11:10
    andig closed #541
  • Jan 09 11:08

    andig on 2.2.3

    (compare)

  • Jan 08 22:51
    dave-redfern commented #541
  • Jan 08 22:51
    dave-redfern commented #541
  • Jan 08 10:31
    andig commented #541
  • Jan 08 10:29
    andig labeled #544
  • Jan 08 10:29
    andig labeled #542
  • Jan 08 10:29
    andig labeled #541
  • Jan 08 10:29
    andig labeled #513
  • Jan 08 10:29
    andig labeled #511
  • Jan 08 10:28
    andig commented #478
  • Jan 08 10:27
    andig commented #529
  • Jan 08 10:27
    andig commented #511
  • Jan 08 10:26
    andig closed #538
  • Jan 08 10:26

    andig on master

    Disable keep-alive in HTTP 1.1 … Merge pull request #542 from ma… (compare)

  • Jan 08 10:26
    andig closed #542
  • Jan 08 10:25

    andig on master

    Avoid busy waiting when no work… Merge pull request #544 from ma… (compare)

Ben Johnson
@cbj4074
@HDVinnie :wave:
(and I have no idea, just saying hi! lol)
HDVinnie
@HDVinnie
lol
thinking it might be suitable for UNIT3D in a performent way
Ben Johnson
@cbj4074
For sure... I'm curious what you discover. I've had an eye on this project for a couple years now.
Just haven't dipped a toe in yet!
HDVinnie
@HDVinnie
quiet in here
Luiz Machado
@odahcam
Amazing work guys!
Michael
@gamelife1314
@NBZ4live lumen 5.6 is ok ?
lumen 5.6
Starting PHP-PM with 8 workers, using StreamSelectLoop ...
8 workers (starting at 5501) up and ready. Application is ready at http://127.0.0.1:8080/
--- Worker 5501 stderr ---
string(4263) "Error: Call to undefined method Laravel\Lumen\Application::getProvider() in /var/www/vendor/php-pm/httpkernel-adapter/Bootstraps/Laravel.php:128
Stack trace:
#0 /var/www/vendor/php-pm/httpkernel-adapter/Bootstraps/Laravel.php(119): PHPPM\Bootstraps\Laravel->resetProvider('\\Illuminate\\Coo...')
#1 /var/www/vendor/php-pm/httpkernel-adapter/Bridges/HttpKernel.php(113): PHPPM\Bootstraps\Laravel->postHandle(Object(Laravel\Lumen\Application))
#2 /var/www/vendor/php-pm/php-pm/src/ProcessSlave.php(431): PHPPM\Bridges\HttpKernel->handle(Object(React\Http\Io\ServerRequest))
#3 /var/www/vendor/php-pm/php-pm/src/ProcessSlave.php(392): PHPPM\ProcessSlave->handleRequest(Object(React\Http\Io\ServerRequest))
#4 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(49): PHPPM\ProcessSlave->onRequest(Object(React\Http\Io\ServerRequest))
#5 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(54): React\Http\Io\MiddlewareRunner->call(Object(React\Http\Io\ServerRequest), 3)
#6 /var/www/vendor/react/http/src/Middleware/RequestBodyParserMiddleware.php(34): React\Http\Io\MiddlewareRunner->React\Http\Io\{closure}(Object(React\Http\Io\ServerRequest))
#7 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(59): React\Http\Middleware\RequestBodyParserMiddleware->__invoke(Object(React\Http\Io\ServerRequest), Object(Closure))
#8 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(54): React\Http\Io\MiddlewareRunner->call(Object(React\Http\Io\ServerRequest), 2)
#9 /var/www/vendor/react/http/src/Middleware/RequestBodyBufferMiddleware.php(44): React\Http\Io\MiddlewareRunner->React\Http\Io\{closure}(Object(React\Http\Io\ServerRequest))
#10 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(59): React\Http\Middleware\RequestBodyBufferMiddleware->__invoke(Object(React\Http\Io\ServerRequest), Object(Closure))
#11 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(54): React\Http\Io\MiddlewareRunner->call(Object(React\Http\Io\ServerRequest), 1)
#12 /var/www/vendor/react/http/src/Middleware/LimitConcurrentRequestsMiddleware.php(91): React\Http\Io\MiddlewareRunner->React\Http\Io\{closure}(Object(React\Http\Io\ServerRequest))
#13 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(59): React\Http\Middleware\LimitConcurrentRequestsMiddleware->__invoke(Object(React\Http\Io\ServerRequest), Object(Closure))
#14 /var/www/vendor/react/http/src/Io/MiddlewareRunner.php(40): React\Http\Io\MiddlewareRunner->call(Object(React\Http\Io\ServerRequest), 0)
#15 /var/www/vendor/react/http/src/StreamingServer.php(237): React\Http\Io\MiddlewareRunner->__invoke(Object(React\Http\Io\ServerRequest))
#16 /var/www/vendor/react/http/src/StreamingServer.php(176): React\Http\StreamingServer->handleRequest(Object(React\Socket\Connection), Object(React\Http\Io\ServerRequest))
#17 /var/www/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): React\Http\StreamingServer->React\Http\{closure}(Object(React\Http\Io\ServerRequest), '')
#18 /var/www/vendor/react/http/src/Io/RequestHeaderParser.php(59): Evenement\EventEmitter->emit('headers', Array)
#19 /var/www/vendor/react/http/src/Io/RequestHeaderParser.php(47): React\Http\Io\RequestHeaderParser->parseAndEmitRequest(134)
#20 /var/www/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): React\Http\Io\RequestHeaderParser->feed('GET / HTTP/1.1\r...')
#21 /var/www/vendor/react/stream/src/Util.php(71): Evenement\EventEmitter->emit('data', Array)
#22 /var/www/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): React\Stream\Util::React\Stream\{closure}('GET / HTTP/1.1\r...')
#23 /var/www/vendor/react/stream/src/DuplexResourceStream.php(193): Evenement\EventEmitter->emit('data', Array)
#24 [internal function]: React\Stream\DuplexResourceStream->handleData(Resource id #241, Object(React\EventLoop\StreamSelectLoop))
#25 /var/www/vendor/react/event-loop/src/StreamSelectLoop.php(236):
Sergey
@NBZ4live
@gamelife1314 I made it work by extending the Adapter and override the resetProvider method
But we don’t use it in production yet, so no guarantees=)
Marc Morera
@mmoreram
Hello people :D
I'm adding php-pm in an open source project called Apisearch
and I have two small questions
Has anyone any clue about why the PM is only using one Worker even if I define 4, 6 or 10
?
or any
Marc J. Schmidt
@marcj
because too few requests per second?
Marc Morera
@mmoreram
can be that?
LOL
maybe
Marc J. Schmidt
@marcj
how do you test? you need a benchmark/stress test tool to go beyond first worker
Marc Morera
@mmoreram
That was awesome
I put the server full of asyncronous calls
and that worked properly
thanks! ^^
and one small thing... Do you know why, in every request, there's an increment of N bytes of memory?
like 720B, depending on the length of the url
I mean, I can live with that, but I was previously working with an increment of 0 bytes in each request, and I was wondering if that's because of the PM or the PHP process itself
Marc J. Schmidt
@marcj
if you can create a git repo somewhere where we can reproduce that you could file an issue at our github repo
Marc Morera
@mmoreram
I will, thanks :)
Fionera
@fionera
Hi o/
So can someone explain me why I need debug mode enabled to have filewatchers running?
Marc J. Schmidt
@marcj
because its a dev/debug helper :P you probably dont want to have it in prod enabled
Fionera
@fionera
Hmpf i would like to have it... currently i just run prod with debug
iLyas Bakouch
@isbkch
So I went for the non-docker solution that I installed on an EC2 instance, configured Nginx to listen on port "http://127.0.0.1:8080" and just launched ppm on Lumen using tmux (and dettached the session), is there a better way to make sure ppm is always running ?
Marc J. Schmidt
@marcj
Yes, use docker.