circus-tent / circus

A Process & Socket Manager built with zmq
http://circus.readthedocs.org/
Other
1.55k stars 257 forks source link

ensure if the open file have the good link. #1153

Open rednaks opened 3 years ago

rednaks commented 3 years ago

fixing #1152

rednaks commented 3 years ago

it seems that fstat is failing on mac platform any ideas for an alternative api ?

biozz commented 3 years ago

I commented on the original issue with an example of a working setup with logrotate, please check it out. Therefore I think we might not need this change at all.

rednaks commented 3 years ago

@k4nar not really because logrotate create a new file the issue is not the existance or not of the file but the link between the open file and the existing file on the disk

@biozz sorry I forgot to reply your comment on the issue, I actually tried it and it doesn't work, it's less frequent but still have the issue