Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 03 2022 10:28
    Ganeshshit commented #255
  • Sep 28 2022 16:36

    andig on master

    Add option to toggle extra work… (compare)

  • Sep 28 2022 16:36
    andig closed #555
  • Sep 28 2022 16:27
    Firehed commented #555
  • Sep 28 2022 16:27
    Firehed synchronize #555
  • Sep 28 2022 16:23
    Firehed synchronize #555
  • Sep 28 2022 06:02
    andig commented #555
  • Sep 28 2022 00:34
    Firehed opened #555
  • Sep 07 2022 11:30
    starking8b commented #554
  • Sep 07 2022 05:54
    starking8b commented #554
  • Sep 07 2022 05:36
    andig closed #554
  • Sep 07 2022 05:36
    andig commented #554
  • Sep 06 2022 21:22
    starking8b opened #554
  • Sep 01 2022 19:29
    zwirek synchronize #553
  • Aug 29 2022 17:37
    andig commented #553
  • Aug 29 2022 17:01
    zwirek synchronize #553
  • Aug 29 2022 16:49
    zwirek commented #553
  • Aug 29 2022 16:46
    zwirek synchronize #553
  • Aug 27 2022 18:39
    andig commented #553
  • Aug 27 2022 11:34
    zwirek opened #553
kugu
@kugu
@marcj i discovered that current version is balancing requests bad
kz it always tries to found free worker the begining of the list
Marc J. Schmidt
@marcj
ohwe, what does bad mean?
kugu
@kugu
so first workers would be used much often then from bottom of the list
Marc J. Schmidt
@marcj
maybe because the first worker is fast as hell ? :P
kugu
@kugu
yeap
Marc J. Schmidt
@marcj
yeah thats normal, it means the worker hasn't much to do
kugu
@kugu
but anyway last worker is used only when all others is busy
Marc J. Schmidt
@marcj
yes, correctly
kugu
@kugu
so it means that first worker is restarting more often)
don't think this is the best behavior)
Marc J. Schmidt
@marcj
I actually like it more, because it saves memory :)
Franz Liedke
@franzliedke
So how do I do debugging in PPM? I have some scenarios where requests just don't receive any response, and need to find out the reason....
Marc J. Schmidt
@marcj
you can use xdebug
place breakpoints
Franz Liedke
@franzliedke
@marcj Is there some kind of verbose console logging to at least see which part is hanging?
(e.g. worker 123 during request execution)
Marc J. Schmidt
@marcj
you can try to use -vv
try use --workers=1 which should make things simple
Martin Lonský
@visitek
zf2 is stable now :-)
i've pulled requst with setting null service into controller plugin.. still waiting for merge
Marc J. Schmidt
@marcj
they made a release?
I dont' get it
Martin Lonský
@visitek
it is in my fork of zend servicemanager
your version of zf2 is principiall
y wrong :-)
i'll fix it
Franz Liedke
@franzliedke
Does PPM swallow HTTP 500 responses from the workers?
(As in, replace them with a simpler message?)
Marc J. Schmidt
@marcj
from the workers? PPM sends everything waht the worker sends
Franz Liedke
@franzliedke
okay...
Franz Liedke
@franzliedke
Can we start tagging some releases? The dev-master dependency messes with our minimum-stability...
Marc J. Schmidt
@marcj
we still wait for react/http.
alexlis
@alexlis
hi
Martin Lonský
@visitek
Marc. do you havy any idea, how to say nginx balancer that pm is dead for new requests? We have more production pms balanced by nginx. When i want to deploy them i need deploy it step by step by without terminating processes incomming before..when it is ready to kill, any new request shouldnt come to it. thats mean: two instances: eg 16 workers are alive. while deploing there are only 8. without loosing any request/reaponse
Is it clear?
Marc J. Schmidt
@marcj
@visitek depends highly on the architecture and deployment. if your new application version has db changes and is not compatible anymore you need to stop ppm completely. if you have few changes which are compatible you could rund two instances, each 8 worker and second instance is only alive while deploying. in that time you can restart instance one, after success you can stop instance 2. should be a graceful deployment then
Martin Lonský
@visitek
@marcj You do not understand. One worker could do some job. But any ozher request shouldnt come to masterprocess. While all jobs are done, we can restart master process. But, how to say nginx balancer, that masterprocess is preparing to be killed