try to repair the case "select ready != events"

This commit is contained in:
Igor Sysoev 2009-04-29 18:56:47 +00:00
parent a1580f58dd
commit b1e640a385

View File

@ -429,7 +429,10 @@ ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
ngx_mutex_unlock(ngx_posted_events_mutex);
if (ready != nready) {
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "select ready != events");
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
"select ready != events: %d:%d", ready, nready);
ngx_select_repair_fd_sets(cycle);
}
return NGX_OK;