Rsync instances stay in memory when using in daemon mode
0 answers - 829 bytes -
wayned (AT) samba (DOT) org changed: What |Removed |Added Status|NEW |ASSIGNED Comment #8 from wayned (AT) samba (DOT) org 2005-12-02 18:05 MST Thanks for the suggested patches. I agree that those continue statements after select() returns -1 look like they should be improved, but I'm not sure why you allowed the code in the read_timeout() function to fall through after an error: the bit-field values will be left undefined by the error, so I think we need more code to figure out what to do. Perhaps we should change the code to only continue if count is 0 or if errno is EINTR, EWULDBLCK, or EAGAIN (and exit with an error on all other errno values). In the writefd_unbuffered() function, what errno is being returned when your new code is being triggered?
Re: Rsync instances stay in memory when using in daemon mode