Extend pipe buffer size error message
The message now logs the instructions on how to increase the per-process page limit for pipe buffers. This can happen if fs.pipe-max-size multiplied by the number of workers exceeds the value of fs.pipe-user-pages-soft multiplied by 4096.
This commit is contained in:
parent
6830f517b4
commit
8ac11a97c2
@ -148,7 +148,9 @@ MessageQueue* MessageQueue::create(Handler* pHandler)
|
||||
*/
|
||||
if (fcntl(fds[0], F_SETPIPE_SZ, this_unit.pipe_max_size) == -1)
|
||||
{
|
||||
MXB_WARNING("Failed to increase pipe buffer size to '%d': %d, %s",
|
||||
MXB_WARNING("Failed to increase pipe buffer size to '%d': %d, %s. "
|
||||
"Increase pipe-user-pages-soft (sysctl fs.pipe-user-pages-soft) "
|
||||
"or reduce pipe-max-size (sysctl fs.pipe-max-size).",
|
||||
this_unit.pipe_max_size, errno, mxb_strerror(errno));
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user