project8 / mantis

project8 development DAQ
Other
2 stars 1 forks source link

Client/Server communication problem #33

Closed nsoblath closed 9 years ago

nsoblath commented 9 years ago

First run

Client

18:31:52 [ INFO] mt_run_client.cc(430): run status: stopped; data acquisition has finished

18:31:52 [ INFO] mt_run_client.cc(284): printing response from server... 18:31:52 [ INFO] mt_run_client.cc(292): digitizer summary: record count: 30 [#] acquisition count: 1 [#] live time: 0.280605 [sec] dead time: 0 [sec] megabytes: 120 [Mb] rate: 427.647 [Mb/sec]

18:31:52 [ INFO] mt_run_client.cc(300): writer summary: record count: 30 [#] acquisition count: 1 [#] live time: 1.5158 [sec] megabytes: 120[Mb] rate: 79.1661 [Mb/sec]

18:31:52 [ERROR] _context_dist.cc(144): unable to check message type: recv_type is unable to receive; error message: Bad file descriptor 18:31:52 [ERROR] _context_dist.cc(64): error in pulling message; aborting 18:31:52 [ INFO] ignal_handler.cc(112):

Hello! Your signal is being handled by signal_handler. Have a nice day!

Server

18:31:52 [ INFO] mon/mt_writer.cc(92): finished normally 18:31:52 [ INFO] server_worker.cc(212): sending server status ... 18:31:52 [ INFO] server_worker.cc(245): finalizing... 18:31:52 [DEBUG] ch3/M3Monarch.cc(205): Finishing writing 18:31:52 [DEBUG] rch3/M3Stream.cc(361): non-const M3Stream::Close() 18:31:52 [DEBUG] rch3/M3Stream.cc(448): Finalizing acq. 0 with 30 records 18:31:52 [DEBUG] rch3/M3Stream.cc(466): Finalizing stream with 1 acquisitions and 30 records

Second run

Client

18:36:17 [ INFO] mt_run_client.cc(129): sending request... 18:36:22 [ INFO] mt_run_client.cc(349): run request acknowledged...

18:36:22 [ INFO] mt_run_client.cc(206): transmitting status: ready 18:36:22 [ INFO] mt_run_client.cc(420): run has started...

18:36:23 [ INFO] _context_dist.cc(139): connection closed; detected in connection::recv_type 18:36:23 [ INFO] _context_dist.cc(70): client/server connection has closed 18:36:23 [ INFO] mt_run_client.cc(420): run has started...

18:36:23 [ERROR] mt_run_client.cc(463): (run loop) unable to communicate with server 18:36:23 [ERROR] mt_run_client.cc(235): exiting due to error during run loop

Server

18:36:17 [ INFO] uest_receiver.cc(52): receiving request... 18:36:17 [ INFO] uest_receiver.cc(99): sending server status ... 18:36:17 [ INFO] uest_receiver.cc(134): waiting for client readiness... 18:36:22 [ERROR] _context_dist.cc(440): a read error occurred while pulling a client_status: recv_type is unable to receive; error message: Resource temporarily unavailable 18:36:22 [ INFO] uest_receiver.cc(134): waiting for client readiness... 18:36:22 [ INFO] uest_receiver.cc(188): queuing request... 18:36:22 [ INFO] uest_receiver.cc(47): waiting for incoming connections 18:36:22 [ INFO] server_worker.cc(57): sending server status ... 18:36:22 [ INFO] server_worker.cc(83): initializing... 18:36:22 [ INFO] server_worker.cc(88): creating writer... 18:36:22 [ INFO] t_file_writer.cc(62): opening file... terminate called throwing an exception[1] 3221 abort ../bin/mantis_server

nsoblath commented 9 years ago

Switch to AMQP communication makes this irrelevant.