search for: check_log_size

Displaying 8 results from an estimated 8 matches for "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 08
3
Avoiding constant HDD access
...eue 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...
2018 Nov 07
0
Avoiding constant HDD access
...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.
2003 Dec 01
0
No subject
[2002/02/02 18:12:36, 0] lib/debug.c:check_log_size(314) check_log_size: open of debug file /var/log/samba/log.smb failed using console The log was large so I cp log.smb to log.smb.old and then deleted the contents of log.smb Hoping someone has some idea of what I've done/has happened TIA rgrds max Some more info. Mandrake 8.0, using...
1998 Jun 29
0
1.9.18p8 compile problems
I get the following compile error when compiling p8 with p4 Makefile: Linking smbd util.o: In function `check_log_size': util.o(.text+0x2cc): undefined reference to `slprintf' util.o: In function `name_mangle': util.o(.text+0x94f): undefined reference to `slprintf' util.o: In function `standard_sub_basic': util.o(.text+0x4c9e): undefined reference to `slprintf' util.o: In function `uidtoname...
2003 Dec 01
0
No subject
...sic(0x1b2fb8, 0x1e, 0xd2ce8, 0x7efefeff, 0x81010100, 0xff00), at 0xc00f0 [4] lp_string(0x1b2fb8, 0x1050cb, 0x0, 0x4, 0x4e, 0xff3f02e0), at 0x5dcd8 [5] lp_logfile(0xff3f02e0, 0x1050a8, 0x3ff, 0xff238018, 0x0, 0x0), at 0x5dd08 [6] reopen_logs(0x0, 0x0, 0x0, 0x1154f8, 0x0, 0x0), at 0xaed18 [7] check_log_size(0x1154f8, 0xff23fa9c, 0xff23bc14, 0xff23bc10, 0x4, 0x4), at 0xaef5c [8] Debug1(0xeb3d0, 0x9, 0x0, 0x105000, 0xee0e0, 0xee988), at 0xaf160 [9] dbghdr(0x0, 0xee0e0, 0xee988, 0x3e7, 0x0, 0xff21b9fc), at 0xaf450 [10] client_name(0x114800, 0x134, 0xff19c, 0x7efefeff, 0x25, 0x25), at 0xc3c40 [11]...
2003 Dec 01
0
No subject
...ID: <15140.47352.452773.624270@wrpc3.urz.uni-wuppertal.de> Date: Mon, 11 Jun 2001 14:26:32 +0200 (CEST) From: palme@uni-wuppertal.de (Hubert Palme) To: debian-user@lists.debian.org, Samba Liste <samba@samba.org> Cc: Hubert Palme <palme@uni-wuppertal.de> Subject: Samba: Problem mit check_log_size X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: samba-admin@lists.samba.org Errors-To: samba-admin@lists.samba.org X-BeenThere: samba@lists.samba.org X-Mailman-Version: 2.0beta6 Precedence: bulk List-Help: <mailto:samba-request@lists.samba.org?subject=help&g...
2003 Dec 01
0
No subject
....de> Date: Tue, 12 Jun 2001 11:42:49 +0200 (CEST) From: palme@uni-wuppertal.de (Hubert Palme) To: Gerald Carter <gcarter@valinux.com> Cc: Hubert Palme <palme@uni-wuppertal.de>, <debian-user@lists.debian.org>, Samba Liste <samba@samba.org> Subject: Re: Samba: Problem mit check_log_size In-Reply-To: <Pine.LNX.4.33.0106111102440.2659-100000@pogo.plainjoe.org> References: <15140.59154.438669.840794@wrpc3.urz.uni-wuppertal.de> <Pine.LNX.4.33.0106111102440.2659-100000@pogo.plainjoe.org> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid S...