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

spool->msg_status == MSG_INVALID' failed error appears #561

Open
romanspotpower opened this issue Mar 25, 2020 · 1 comment
Open

spool->msg_status == MSG_INVALID' failed error appears #561

romanspotpower opened this issue Mar 25, 2020 · 1 comment

Comments

@romanspotpower
Copy link

Hi,
I've get the following error:
nginx: worker process: ../nchan/src/store/spool.c:479: spool_fetch_msg: Assertion `spool->msg_status == MSG_INVALID' failed.
2020/03/25 10:24:49 [alert] 63#63: worker process 72 exited on signal 6

after a hour of streaming.
After restart the error is gone.

My configuration:
Nchan 1.2.7 on Ubuntu 19.04 and NGINX 1.17.7.

nginx.conf file
user www-data;
worker_processes auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 10240;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
use epoll;
multi_accept on;
worker_connections 10000;

    # multi_accept on;

}

http {
upstream redis-storage {
nchan_redis_server redis://10.0.0.37:80;
nchan_redis_namespace nchan_streamer_initial;
nchan_redis_storage_mode backup;
}

    nchan_shared_memory_size 4294967296;

    server{
        listen 8088;

        location = /sub {
            nchan_redis_pass redis-storage;
            nchan_subscriber;
            nchan_channel_id $arg_id;
            nchan_subscriber_first_message -1;
        }

        location = /pub {
            nchan_redis_pass redis-storage;
            nchan_publisher;
            nchan_channel_id $arg_id;
            nchan_message_timeout 0; 
            nchan_message_buffer_length 10;
        }

What could be the issue?

@ivanovv
Copy link

ivanovv commented Mar 31, 2020

seems to be a dupe of #534

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