intel / asynch_mode_nginx

Other
210 stars 61 forks source link

Why switch from external to internal polling is not allowed? #77

Open akf00000 opened 5 months ago

akf00000 commented 5 months ago

when change config from:

ssl_engine {
    use_engine qatengine;
    default_algorithms RSA,EC,DH,DSA;
    qat_engine {
        qat_offload_mode async;
        qat_notify_mode poll;

        qat_poll_mode external;
        qat_external_poll_interval 1;
        qat_shutting_down_release on;
    }
}

to:

ssl_engine {
    use_engine qatengine;
    default_algorithms RSA,EC,DH,DSA;
    qat_engine {
        qat_offload_mode async;
        qat_notify_mode poll;
    }
}

nginx write emerg log like: [emerg] 248#0: Switch from external to internal polling is invalid, and still use external polling

Why switch from external to internal polling is not allowed?

hardikpatel9 commented 3 months ago

Hi @akf00000 , Apologies for the late reply. Ideally, it should work. Did you restarted Nginx after the configuration changes? While capturing the log Make sure killall other Nginx running instances and try to start Nginx after configuration to see the exact changes on it, After it still get it then please send the detail error log by enabling QATEngine to debug log