The only thing I see unusual in the SMAT is that the len10 numbers are too long. It looks like there was a zero length message and then a regular message. This is the case for 15 messages (repeated many times) out of the 12000 batch.
00000000000000002915MSH|^~&|LABDAQ||||200909111650||ORU^R01|20090911165007897|P|2.4|||||||||
The labdaq service was restarted many times during this batch (because it is single threaded and otherwise wouldn’t receive orders). We are wondering if this might be the source of these 0 length messages.
I have tcpdump for the entire batch. Perhaps the solution is to change RawHl7Ack to kill zero length messages?
Please note the 0b1c0d in this first transmission (at 0x28). Is this a 0 length message? I see this in the vicinity each of the ‘Invalid MSH segments’ responses.
16:15:33.924169 IP labdaq -> cloverleaf P 1197:1200(3) ack 92 win 256
0x0000: 4500 002b 3536 4000 8006 082e c0a8 1e0e E..+56@………
0x0010: c0a8 1e0a f5ef 1b6d ff61 4b9c 6fc0 4fdc …….m.aK.o.O.
0x0020: 5018 0100 bd4c 0000 0b1c 0d00 0000 P….L……..
16:15:33.928706 IP labdaq.62959 > cloverleaf.dpserveadmin: F 1200:1200(0) ack 92 win 256
0x0000: 4500 0028 3537 4000 8006 0830 c0a8 1e0e E..(57@….0….
0x0010: c0a8 1e0a f5ef 1b6d ff61 4b9f 6fc0 4fdc …….m.aK.o.O.
0x0020: 5011 0100 d56f 0000 0000 0000 0000 P….o……..
16:15:33.940898 IP cloverleaf.dpserveadmin > labdaq64.62959: P 92:172(80) ack 1201 win 65
0x0000: 4500 0078 3d93 4000 4006 3f84 c0a8 1e0a E..x=.@.@.?…..
0x0010: c0a8 1e0e 1b6d f5ef 6fc0 4fdc ff61 4ba0 …..m..o.O..aK.
0x0020: 5018 0041 bdd3 0000 0b4d 5348 7c5e 7e5c P..A…..MSH|^~
0x0030: 267c 436c 6f76 6572 6c65 6166 7c7c 7c7c &|Cloverleaf||||
0x0040: 3230 3039 3039 3131 3136 3135 7c7c 4143 200909111615||AC
0x0050: 4b7c 7c50 7c32 2e32 7c0d 4d53 417c 4152 K||P|2.2|.MSA|AR
0x0060: 7c7c 496e 7661 6c69 6420 4d53 4820 7365 ||Invalid.MSH.se
0x0070: 676d 656e 740d 1c0d gment…