Elevate log level to warning for situation when socket limit is hit.

pull/971/head
Roger A. Light 7 years ago
parent dd0e0d91b0
commit 0e16a248f2

@ -1,3 +1,10 @@
1.5.3 - 201810xx
================
Broker:
- Elevate log level to warning for situation when socket limit is hit.
1.5.2 - 20180919
================

@ -136,7 +136,7 @@ int net__socket_accept(struct mosquitto_db *db, mosq_sock_t listensock)
COMPAT_CLOSE(new_sock);
}
spare_sock = socket(AF_INET, SOCK_STREAM, 0);
log__printf(NULL, MOSQ_LOG_NOTICE,
log__printf(NULL, MOSQ_LOG_WARNING,
"Unable to accept new connection, system socket count has been exceeded. Try increasing \"ulimit -n\" or equivalent.");
}
return -1;

Loading…
Cancel
Save