[MXS-2235] Failed to add dcb to epoll set Created: 2019-01-01  Updated: 2019-07-12  Resolved: 2019-02-08

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: 2.2.13
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: yhs Assignee: Unassigned
Resolution: Not a Bug Votes: 1
Labels: None

Issue Links:
Relates
relates to MXS-1983 Failed to add dcb to epoll set Closed

 Description   

2019-01-01 10:58:11   error  : (1) Failed to write message: 11, Resource temporarily unavailable
2019-01-01 10:58:11   error  : (1) Could not post task to add DCB to worker.
2019-01-01 10:58:11   error  : (1) [mariadbclient] Failed to add dcb 0x7f9f10458480 for fd 62 to epoll set.
2019-01-01 10:58:11   error  : (1) Failed to write message: 11, Resource temporarily unavailable
2019-01-01 10:58:11   error  : (1) Could not post task to add DCB to worker.
2019-01-01 10:58:11   error  : (1) [mariadbclient] Failed to add dcb 0x7f9f281133f0 for fd 742 to epoll set.
2019-01-01 10:58:11   error  : (1) Failed to write message: 11, Resource temporarily unavailable
2019-01-01 10:58:11   error  : (1) Could not post task to add DCB to worker.
2019-01-01 10:58:11   error  : (1) [mariadbclient] Failed to add dcb 0x7f9f144c9800 for fd 839 to epoll set.
2019-01-01 10:58:11   error  : (1) Failed to write message: 11, Resource temporarily unavailable
2019-01-01 10:58:11   error  : (1) Could not post task to add DCB to worker.
2019-01-01 10:58:11   error  : (1) [mariadbclient] Failed to add dcb 0x7f9ef8123850 for fd 731 to epoll set.

# sysctl -a|grep 'fs.pipe-max-size'
fs.pipe-max-size = 33554432
 
# maxadmin -S /tmp/maxadmin.sock show version
2.2.13



 Comments   
Comment by yhs [ 2019-01-03 ]

upgrade maxscale-2.2.15

# uname -a
Linux odb_maxscale 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core) 

systemctl restart maxscale

Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted
Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted
Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted
Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted
Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted
Jan  3 00:18:03 odb_maxscale maxscale[835]: Failed to increase pipe buffer size to '33554432': 1, Operation not permitted

Possibly fixed with:

sysctl -w fs.pipe-user-pages-soft=0
sysctl -w fs.pipe-max-size=33554432

It's OK

Comment by markus makela [ 2019-01-04 ]

Do you mean we can close this bug?

Generated at Thu Feb 08 04:12:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.