Process campaigns using Redis Queue.

While we're waiting for @twisted1919, @Rob do you know whether I'm okay to leave the server set to send using the Redis queue?

I'm assuming not because although the test emails we're doing are showing as having been sent, we're not receiving them so I assume they're sitting in a Redis queue and not being processed because the daemon isn't running?
 
Sorry bud I was out. You won't be able to use the queue without the daemon running as you say. Did you try starting with debug

/usr/bin/php -q /absolute/path/to/apps/console/console.php queue --workers=10 --interval=5 --verbose=1
 
Ah OK, one thing I did find was that I couldn't get it to run with PHP 5.5.9 so I upgraded to PHP 5.6. I don't know if it's all 5.5 versions but you might want to look at it if you are using that version.
 
Yes, if I do that I get:

root 404 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/0]

root 405 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/1]

root 406 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/2]

root 407 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/3]

root 408 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/4]

root 409 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/5]

root 410 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/6]

root 411 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/7]

root 412 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/8]

root 413 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/9]

root 414 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/10]

root 415 0.0 0.0 0 0 ? S< May01 0:00 [cqueue/11]

root 6289 0.0 0.0 36056 6948 ? S May01 0:00 queueprocd - wait to process a task

518 13625 0.0 0.0 61184 808 pts/0 S+ 12:21 0:00 grep queue
 
Thanks for all the help. I'm still having difficulties with the Redis queue. Everything seems to just get stuck in pending and never sent when I use it. Looks like I'll need to get one of you guys to set it up correctly for me at some point, does anybody offer that?

In the meantime normal send is actually going pretty fast.
 
Are the emails actually being sent to redis and then not being picked up for sending or are they not reaching redis at all?
 
You can see if the worker queues were setup with redis-cli monitor:
redis-cli monitor
http://redis.io/commands/monitor

If the queues were created you should see something similar to:

"LPOP" "fac7b0bae8:queue:emails-queue"

You can also use www.redsmin.com for free for one redis server which will give you a GUI into what is happening on your redis server.
 
Back
Top