[MCOL-273] During restart, ProcessManager sometimes generates a warning Created: 2016-08-22  Updated: 2023-10-26  Resolved: 2016-11-29

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.0.2
Fix Version/s: 1.0.5

Type: Bug Priority: Major
Reporter: David Hall (Inactive) Assignee: Ben Thompson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS 6.5


Issue Links:
Relates
relates to MCOL-372 dbrm-worker node continuing issues so... Closed
Sprint: 2016-21, 2016-22, 2016-23

 Description   

During restart or shutdown, every now and then the ProcessManager will log a warning:

Client read close socket for InetStreamSocket::readToMagic: Remote is closed

This is most likely caused be a timing of when the shutdown occurs and whether there may be an open socket waiting for a message. It doesn't seem to cause any issues, but it sure is annoying and looks bad to the customer.

It is possible this is being generated during the start phase, rather than the stop phase.



 Comments   
Comment by Daniel Lee (Inactive) [ 2016-09-13 ]

Build tested:

mscadmin> getsoft
getsoftwareinfo Tue Sep 13 10:02:34 2016

Name : mariadb-columnstore-platform
Version : 1.0.3
Release : 1
Architecture: x86_64
Install Date: Tue 13 Sep 2016 09:26:32 AM CDT

The following msgs are being continuously outputted to the debug.log file:

[root@mcece7-2 columnstore]# tail -f debug.log
Sep 13 10:10:43 mcece7-2 messagequeue[15211]: 43.518017 |0|0|0| W 31 CAL0071: InetStreamSocket::read: timeout during readToMagic: socket read error: Success; InetStreamSocket: sd: 11 inet: 127.0.0.1 port: 43229; Will retry.
Sep 13 10:10:44 mcece7-2 messagequeue[15211]: 44.519815 |0|0|0| W 31 CAL0071: InetStreamSocket::read: timeout during readToMagic: socket read error: Success; InetStreamSocket: sd: 11 inet: 127.0.0.1 port: 43229; Will retry.
Sep 13 10:10:45 mcece7-2 messagequeue[15211]: 45.521310 |0|0|0| W 31 CAL0071: InetStreamSocket::read: timeout during readToMagic: socket read error: Success; InetStreamSocket: sd: 11 inet: 127.0.0.1 port: 43229; Will retry.

Comment by David Thompson (Inactive) [ 2016-10-20 ]

This seems to happen all the time for me, not just during a restart.

Comment by David Thompson (Inactive) [ 2016-10-20 ]

This can be masked by creating the following file:

# cat /etc/rsyslog.d/01-blocklist.conf
:msg,contains,"CAL0071: InetStreamSocket::read: timeout during readToMagic: socket read error: Success; InetStreamSocket:" ~

and restarting rsyslog

Comment by David Hall (Inactive) [ 2016-10-20 ]

Or we could just figure out why it's throwing these and fix it.

Comment by David Thompson (Inactive) [ 2016-10-20 ]

Yes, we definitely need to fix the root cause I'm just happy to not have to look at these anymore..

Comment by David Thompson (Inactive) [ 2016-11-01 ]

This is likely same root cause as MCOL-372

Comment by Ben Thompson (Inactive) [ 2016-11-15 ]

While fixing MCOL-372, I was unable to spot or reproduce this error message

Client read close socket for InetStreamSocket::readToMagic: Remote is closed

Comment by Nivesh [ 2017-08-01 ]

I check `netstat -a | grep 8604`
when there are no more sockets open after a shutdown then I restart and this error goes away.

Generated at Thu Feb 08 02:19:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.