Code Monkey home page Code Monkey logo

Comments (3)

believeus avatar believeus commented on May 16, 2024

这个详细看了下代码,选择不同的运行模式就可以了

from swoole-src.

wangchuan3533 avatar wangchuan3533 commented on May 16, 2024

try catch 呢

发自我的 iPhone

在 2013年10月14日,18:35,believeus [email protected] 写道:

发现了一个很致命的问题,就是这个服务,如果在php脚本中出现语法,找不到类等致命错误的时候,服务进程会直接退出,造成服务不可用。
作为服务的话,稳定是必须的。一出错就不提供服务,这肯定不行。请问有没有什么解决方法?
简单说就是虽然出错,但如果不调用错误代码服务不会退出,即使运行错误代码,也能throw 出,但不退出服务进程


Reply to this email directly or view it on GitHub.

from swoole-src.

matyhtf avatar matyhtf commented on May 16, 2024

这个没关系,正常的。当worker进程异常退出后,swoole会启动一个新的worker进程。

------------------ 原始邮件 ------------------
发件人: "wangchuan3533";[email protected];
发送时间: 2013年10月16日(星期三) 晚上8:00
收件人: "matyhtf/swoole"[email protected];

主题: Re: [swoole] 出错就退出 (#11)

try catch 呢

发自我的 iPhone

在 2013年10月14日,18:35,believeus [email protected] 写道:

发现了一个很致命的问题,就是这个服务,如果在php脚本中出现语法,找不到类等致命错误的时候,服务进程会直接退出,造成服务不可用。
作为服务的话,稳定是必须的。一出错就不提供服务,这肯定不行。请问有没有什么解决方法?
简单说就是虽然出错,但如果不调用错误代码服务不会退出,即使运行错误代码,也能throw 出,但不退出服务进程


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from swoole-src.

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.