Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  11 Feb 2013, Wes Gohn, Forum, send_tcp error 
    Reply  11 Feb 2013, Stefan Ritt, Forum, send_tcp error 
       Reply  11 Feb 2013, Wes Gohn, Forum, send_tcp error 
          Reply  12 Feb 2013, Stefan Ritt, Forum, send_tcp error 
             Reply  19 Feb 2013, Wes Gohn, Forum, send_tcp error 
Message ID: 860     Entry time: 11 Feb 2013     In reply to: 859     Reply to this: 861
Author: Stefan Ritt 
Topic: Forum 
Subject: send_tcp error 
> I am getting a series of errors from MIDAS that I do not understand, so I hope
> someone can help me figure this out.
> 
> I am attempting to run many frontends on one machine. I can run 8 with no
> problem, but if I try to add a 9th I get errors relating to send_tcp. 
> 
> I have tried adjusting the max event sizes and buffer sizes, but it has not
> resolved the problem. I also tried adjusting the data rates and the total data
> volume going through each frontend, but there was no change. And as far as I can
> tell I am not up against any hardware limits.
> 
> The errors are repeated continuously while a run is going. The three errors I
> get are:
> 
> 16:45:22 [FakeData09,ERROR] [midas.c:9958:rpc_client_call,ERROR] send_tcp() failed
> 16:45:22 [FakeData09,ERROR] [frontend_rpc.c:191:rpc_call,ERROR] No RPC to master
> 16:45:22 [FakeData09,ERROR] [system.c:4166:send_tcp,ERROR]
> send(socket=9,size=16) returned -1, errno: 32 (Broken pipe)
> 
> If you have any suggestions of how I can debug this, please let me know. Thanks!

Can you tell me

- why you need 9 frontends
- what kind of data your frontends produce
- how your event builder looks like and how you assemble the fragments
- what messages/errors you see when you run odbedit BEFORE the crash

/Stefan
ELOG V3.1.4-2e1708b5