Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception 'RedisException' with message 'read error on connection' #19

Open
zz opened this issue Sep 2, 2014 · 3 comments
Open

exception 'RedisException' with message 'read error on connection' #19

zz opened this issue Sep 2, 2014 · 3 comments

Comments

@zz
Copy link

zz commented Sep 2, 2014

exception 'RedisException' with message 'read error on connection' in /home/web
/php/xxx/host/xxx.com/www/protected/components/yii-resque/lib/Resqu
e/Stat.php:31
Stack trace:
#0 /home/web/php/xxx/host/xxx.com/www/protected/components/yii-resq

ue/lib/Resque/Stat.php(31): Redis->incrBy('stat:processed:...', 1)
#1 /home/web/php/xxx/host/xxx.com/www/protected/components/yii-resq

ue/lib/Resque/Worker.php(541): Resque_Stat::incr('processed:ns400...')
#2 /home/web/php/xxx/host/xxx.com/www/protected/components/yii-resq

ue/lib/Resque/Worker.php(229): Resque_Worker->doneWorking()
#3 /home/web/php/xxx/host/xxx.com/www/protected/components/yii-resq

ue/bin/resque(137): Resque_Worker->work('5')
#4 /home/web/php/xxx/host/xxx.com/www/protected/components/yii-resq

ue/bin/resque(109): startWorker('bm', 1, NULL, '5')
#5 {main}

@rolies106
Copy link
Owner

Are you sure have correct connection to your redis service?

@zz
Copy link
Author

zz commented Sep 3, 2014

yes the
components/yii-resque/bin/resque-scheduler

is work good ,but components/yii-resque/bin/resque have error whe it run after some hours.

@rolies106
Copy link
Owner

Just for quick solution, have you try to set your redis timeout to 0, maybe you need persistent connection on your application, just find set timeout=0 on your redis conf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants