DAQ›DAQ
#24086
Data losses at 2h02 UTC on rtpc11
Some data from the FbAlign frame builder, runing on rtpc11, were lost this morning, starting at 2h02 UTC. This lost probably comes from the logrotate cron job activity.
This cron job run daily at 2h02, and should normally have no impact on the FbAlign process. But since the yesterday rtpc11 reboot, right after the start of GcAlignment, the linux kernel emits a warning every seconds, leading to a big /var/log/messages file. We think the processing of this file by logrotate has an impact on the FbAlign frame builder, preventing it to process all the data coming from the DAQ fifo.
So, while the alignment real time tasks seem to work fine in spite of the kernel warnings and the logrotate cron job activity, it would be better to schedule a reboot of the rtpc11 machine during the next unlock, in order to prevent further data losses.
Please do the reboot together with the DAQ on-call person, it will give use the opportunity to try to understand the origin of the kernel warnings.
----
Here's the kernel warning message.
Aug 5 11:13:38 rtpc11 kernel: BUG: sleeping function called from invalid context at net/core/sock.c:1586
Aug 5 11:13:38 rtpc11 kernel: in_atomic():0, irqs_disabled():1
Aug 5 11:13:38 rtpc11 kernel: [] __might_sleep+0xfe/0x104
Aug 5 11:13:38 rtpc11 kernel: [] lock_sock_nested+0x13/0x44
Aug 5 11:13:38 rtpc11 kernel: [] tcp_sendmsg+0x15/0xa9d
Aug 5 11:13:38 rtpc11 kernel: [] __update_rq_clock+0x1c/0x155
Aug 5 11:13:38 rtpc11 kernel: [] __update_rq_clock+0x1c/0x155
Aug 5 11:13:38 rtpc11 kernel: [] do_sock_write+0xa8/0xaf
Aug 5 11:13:38 rtpc11 kernel: [] sock_aio_write+0x48/0x54
Aug 5 11:13:38 rtpc11 kernel: [] do_sync_write+0xbf/0xfc
Aug 5 11:13:38 rtpc11 kernel: [] restore_nocheck_notrace+0x0/0xf
Aug 5 11:13:38 rtpc11 kernel: [] autoremove_wake_function+0x0/0x33
Aug 5 11:13:38 rtpc11 kernel: [] _spin_unlock_irq+0xa/0xb
Aug 5 11:13:38 rtpc11 kernel: [] intercept_syscall_prologue+0x109/0x111 [rtai_hal]
Aug 5 11:13:38 rtpc11 kernel: [] __ipipe_dispatch_event+0x28/0x228
Aug 5 11:13:38 rtpc11 kernel: [] vfs_write+0xc9/0x133
Aug 5 11:13:38 rtpc11 kernel: [] sys_write+0x41/0x67
Aug 5 11:13:38 rtpc11 kernel: [] sysenter_past_esp+0x6e/0x72
Aug 5 11:13:38 rtpc11 kernel: =======================
1 comment