Ticket #36 (new defect)

Opened 11 months ago

Last modified 2 weeks ago

max log file does not work (i.e logfile grows forever)

Reported by: guest Owned by: psmedley
Priority: blocker Milestone: Samba Server for OS/2 1.0.1
Component: Server Version:
Keywords: log file size Cc: herwig.bauernfeind@…
Blocking: Blocked By:

Description

Entering a size limit for the logfiles in smb.conf via max log size is in vain, because Samba tries to rename the file and that fails.

Probably a similar resolution like Ticket #30 and #31 is required.

Change History

Changed 11 months ago by guest

  • priority changed from minor to major

I think the bug is located in \source\lib\debug.c, function check_log_size(), line 708 to 715.

Changed 11 months ago by guest

Okay, to reproduce the problem, add

max log size = 1000

to the [global] section of smb.conf. Now the logfile should not grow bigger than 1000 kb i.e 1 MB.

Setting the loglevel to 5 (or higher) and running a dir /s /-p from a client against a share full of files should produce a "bigger" logfile within some 30 seconds or so.

Changed 6 months ago by herwigb

  • priority changed from major to blocker

This is becoming a a major annoyance...

Changed 2 weeks ago by ydario

  • milestone set to Samba Server for OS/2 1.0.1
Note: See TracTickets for help on using tickets.