Git Product home page Git Product logo

Comments (6)

hhxsv5 avatar hhxsv5 commented on May 18, 2024

unix:/dev/shm/live-server.sock 这个unix socket是干什么的?

from laravel-s.

junthink avatar junthink commented on May 18, 2024

upstream live-api { server unix:/dev/shm/live-server.sock weight=5 max_fails=3 fail_timeout=3s; keepalive 16; }
通过 UnixSocket Stream 连接提供接口请求的服务

from laravel-s.

deepsea-tyy avatar deepsea-tyy commented on May 18, 2024

我也遇到同样的问题,php7.4 swoole4.8

from laravel-s.

deepsea-tyy avatar deepsea-tyy commented on May 18, 2024

@junthink 解决没有

from laravel-s.

junthink avatar junthink commented on May 18, 2024

@junthink 解决没有

没有,太难受了,毫无征兆,主要是没有规律,有时候服务器也没啥负载,突然几秒钟内大量出现,然后就恢复了,我们和官方推荐的方案唯一不一样的是我们用的是pm2管理的进程

from laravel-s.

junthink avatar junthink commented on May 18, 2024

@deepsea-tyy 我的问题解决了,原因是我们多台服务器使用的项目目录是通过NAS挂载的目录,所以laravels.pid文件也是同一个,导致其中一台机器有服务自动重启的时候导致所有服务器的服务都会重启

from laravel-s.

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.