-
1 votesanswersviews
Laravel - 在一台服务器上发送作业,在另一台服务器上处理
我正在研究Laravel应用程序的日志记录方面,我计划将数据发送到SQS以便以后检索 . 但是,我想将作业从我的 生产环境 服务器发送到AWS Queue,但是然后让一个Queue在一个单独的Logging服务器上工作,该服务器监听Queue . 我理解如何设置队列工作者来监听队列,但是,Laravel的工作是自我处理的 . 因此,当Logging服务器上的worker从SQS检索消息时,它将在同... -
2 votesanswersviews
Supervisord使我的Laravel队列:listen throw InvalidArgumentException
我的帖子与帖子完全相同: Laravel 4 Queue - [InvalidArgumentException] There are no commands defined in the "queue" namespace . Centos 6.5决赛 . Laravel 4.2,Supervisor 3.0和Python 2.6.6 应用程序的配置: [program:l... -
6 votesanswersviews
Django - 部署与Gunicorn,Nginx和主管,Gunicorn错误日志
我和Gunicorn Nginx Supervisor一起部署了一个Django 1.6应用程序 . 一切正常,但我有Gunicorn error.log一直发送错误 . 该文件很大,每秒都会向日志文件发送错误 . 来自Gunicorn的错误.log: 2014-02-27 14:25:09 [9235] [INFO] Starting gunicorn 18.0 2014-02-27 14:25... -
0 votesanswersviews
Celery子流程应该显示在ps aux |上减
我在龙卷风服务器上使用Supervisord和Celery(注意:不是因为我的服务器还没有使用任何异步功能),还有三个工作人员:w1,w2和w3 . 每个都具有10的并发性 . 我通过将以下内容添加到/etc/supervisord.conf来通过管理器执行此操作: [program:sendgrid_gateway_server] command=sudo python main.py -o r... -
5 votesanswersviews
将芹菜任务路由到特定队列
我在服务器上运行了两个独立的celeryd进程,由 supervisor 管理 . 它们被设置为侦听单独的队列: [program:celeryd1] command=/path/to/celeryd --pool=solo --queues=queue1 ... [program:celeryd2] command=/path/to/celeryd --pool=solo --queues=q... -
0 votesanswersviews
如何从另一个模块接收芹菜任务
我可以从我的主应用程序成功接收芹菜任务 - 但是,我的系统无法从另一个模块接收任务 . 我在一个远程Ubuntu服务器上使用supervisor进行芹菜 . draft1 是我的主要应用程序, post 是另一个模块(我无法接收任务的模块) . draft1/init.py #This will make sure the app is always imported when #Django s... -
0 votesanswersviews
Celery错误:收到'task'类型的未注册任务
我的芹菜日志中出现以下错误: [2018-05-04 23:33:42,186: ERROR/MainProcess] Received unregistered task of type 'test_post'. The message has been ignored and discarded. Did you remember to import the module containin...