我正在尝试使用OWA的事件队列处理功能,并在终端上运行以下命令:
php /var/app/current/web/owa/cli.php cmd=processEventQueue
这样做,我得到以下结果:
21:43:13 2019-06-20 7927 [console_log] About to process event queues: incoming_tracking_events,processing
21:43:13 2019-06-20 7927 [console_log] receive event.
21:43:13 2019-06-20 7927 [console_log] queue files to process: Array
(
[1560961626] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-19-17-2708.txt
[1560961683] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-19-17-2805.txt
[1560961795] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-19-17-3006.txt
[1560961938] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-19-17-3222.txt
[1561060911] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-0153.txt
[1561060995] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-0318.txt
[1561061111] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-0528.txt
[1561061202] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-0647.txt
[1561061695] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-1457.txt
[1561061714] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-1522.txt
[1561061755] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-1600.txt
[1561062087] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2318.txt
[1561062144] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2233.txt
[1561062170] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2253.txt
[1561062183] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2307.txt
[1561062364] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2618.txt
[1561062429] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2711.txt
[1561062540] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2905.txt
[1561062596] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-2957.txt
[1561062790] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-3314.txt
[1561062872] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-3441.txt
[1561063033] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-3721.txt
[1561063073] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-3754.txt
[1561063091] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-3815.txt
[1561063274] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-4127.txt
[1561063392] => /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-20-21-4313.txt
)
21:43:13 2019-06-20 7927 [console_log] Opening queue file /var/app/current/web/owa/owa-data/logs/unprocessed/incoming_tracking_events-eventfile-2019-06-19-17-2708.txt to process.
最后一行之后,没有错误,它只是停止了。 events.txt文件不再存在,而是已将一个文件添加到“未处理”文件夹,所有其他未处理的日志文件仍然存在。至关重要的是,什么都没有添加到数据库中。
有人可以解释这个问题吗? 没有数据库连接错误或权限被拒绝错误,因此无法解决如何清除此积压的事件...