search for: force_check_log_size

Displaying 3 results from an estimated 3 matches for "force_check_log_size".

2018 Nov 07
2
Avoiding constant HDD access
On Thu, Nov 08, 2018 at 06:12:40AM +1300, Andrew Bartlett wrote: > On Wed, 2018-11-07 at 15:19 +0300, Albert Berger via samba wrote: > >  > > I tried in sequence to start Samba in following conditions: > > > > 1. With all clients disconnected from Samba server; > > 2. As above + all shares disabled; > > 3. As above + minimal smb.conf > > 4. With
2018 Nov 07
0
Avoiding constant HDD access
...hange_to_root_user(); /* update printer queue caches if necessary */ update_monitored_printq_cache(sconn->msg_ctx); /* check if we need to reload services */ check_reload(sconn, time_mono(NULL)); /* * Force a log file check. */ force_check_log_size(); check_log_size(); return true; } so yes it's goint to look at smb.conf and check_log_size() will do an fstat() on the open log file descriptor, so this may explain it.
2018 Nov 08
3
Avoiding constant HDD access
...ter queue caches if necessary */ > update_monitored_printq_cache(sconn->msg_ctx); > > /* check if we need to reload services */ > check_reload(sconn, time_mono(NULL)); > > /* > * Force a log file check. > */ > force_check_log_size(); > check_log_size(); > return true; > } > > so yes it's goint to look at smb.conf and check_log_size() > will do an fstat() on the open log file descriptor, so this > may explain it. > Yes, but it isn't doing a read, it is trying to do a write an...