[MXS-1983] Failed to add dcb to epoll set Created: 2018-07-19  Updated: 2019-07-12  Resolved: 2018-08-06

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 2.2.11
Fix Version/s: 2.2.13

Type: Bug Priority: Major
Reporter: dapeng huang Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-2235 Failed to add dcb to epoll set Closed
Sprint: MXS-SPRINT-63

 Description   

2018-07-18 17:54:57   error  : (1) Failed to write message: 11, Resource temporarily unavailable
2018-07-18 17:54:57   error  : (1) Could not post task to add DCB to worker.
2018-07-18 17:54:57   error  : (1) [mariadbclient] Failed to add dcb 0x7f74606da970 for fd 1897 to epoll set.

 
  ssize_t n = write(m_write_fd, &message, sizeof(message)); // Maybe should retry on error EAGAIN
     



 Comments   
Comment by markus makela [ 2018-07-19 ]

This might be a side-effect of MXS-1948.

Comment by markus makela [ 2018-07-24 ]

A patch to this is on the MXS-1983 branch on GitHub.

Comment by markus makela [ 2018-07-31 ]

Possibly fixed with:

[markusjm@localhost core]$ sudo sysctl -w fs.pipe-max-size=33554432
fs.pipe-max-size = 33554432

Comment by markus makela [ 2018-08-03 ]

Appears to be fixed by increasing pipe buffer size. For the sake of improving the chances of the problem not appearing, the "smart" retrying should be incorporated with minor changes.

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