Code Monkey home page Code Monkey logo

Comments (5)

wolfy-j avatar wolfy-j commented on May 18, 2024

Can you post your .rr file here and name of your OS?

from roadrunner.

Richard87 avatar Richard87 commented on May 18, 2024

Hi!

some changes (I was slightly confused by the different listen directives for rpc and listen...:

# rpc bus allows php application and external clients to talk to rr services.
rpc:
  enable: true
  listen: unix://./var/roadrunner3.sock

# http service configuration.
http:
  enable:     true
  address:    0.0.0.0:8000
  maxRequest: 200
  uploads:
    forbid: [".php", ".exe", ".bat"]
  workers:
    command:  "php psr-worker.php"

    # connection method (pipes, tcp://:9000, unix://socket.unix).
    relay:    "pipes"
    pool:
      numWorkers: 4
      maxJobs:  0
      allocateTimeout: 60000000000
      destroyTimeout:  30000000000

# static file serving.
static:
  enable:  true
  dir:   "web"
  forbid: [".php", ".htaccess", "package.json", "yarn.lock"]

(Also, executing ./rr http:workers never completes, I have a feeling it's related ;) )

from roadrunner.

Richard87 avatar Richard87 commented on May 18, 2024

I added xdebug_break() the the psr_worker.php (inside the loop), and it crashed.

After I start it again, all logging seems to be going strong, but nothing works:
image
image

from roadrunner.

wolfy-j avatar wolfy-j commented on May 18, 2024

That's weird, I'm unable to reproduce such issue on the similar machine, can you check if this port is being listened by anything netstat -ant?

Do you see any workers when you try to to run rr http:workers command? Have you tried to connect to your workes over unix socket?

from roadrunner.

wolfy-j avatar wolfy-j commented on May 18, 2024

Fixed in recent version.

from roadrunner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.