Re: Cephfs and ERESTARTSYS on writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/24/2015 03:29 PM, Ilya Dryomov wrote:
> 
> ngx_write_fd() is just a write(), which, when interrupted by SIGALRM,
> fails with EINTR because SA_RESTART is not set.  We can try digging
> further, but I think nginx should retry in this case.

Hello,

Culprit was the "timer_resolution 50ms;" setting in nginx which was
interrupting syscalls every 50ms. It usually shouldn't interrupt writes,
but it did in case of Cephs so just removing it fixed the problem. Nginx
devs also supplied me with patch which should make it retry write() in
case it's interrupted (but it now might not be needed). Thanks for
helping me with this.

Regards,
Vedran


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux