Professional Web Applications Themes

Increasing system message buffer size - FreeBSD

Hello FreeBSD Commmunity (again!) I'm working on a problem that would benefit from verbose logging of the boot process. Unfortunately my logging is SO verbose that it fills up the available system buffer. I'm trying to figure out how to change the buffer size. I'm on 5.3 Stable. It looks like one way to do it might be to recompile the kernel, with options MSGBUF_SIZE=65536 set. Is that the best way? If so, what is the default size of the buffer? I checked NOTES in /usr/src/sys/i386/conf but couldn't find any reference to it. I'd really appreciate any advice. Thanks! Andrew...

  1. #1

    Default Increasing system message buffer size

    Hello FreeBSD Commmunity (again!)

    I'm working on a problem that would benefit from verbose logging of the boot process. Unfortunately my logging is SO verbose that it fills up the available system buffer. I'm trying to figure out how to change the buffer size. I'm on 5.3 Stable.

    It looks like one way to do it might be to recompile the kernel, with

    options MSGBUF_SIZE=65536

    set. Is that the best way? If so, what is the default size of the buffer? I checked NOTES in /usr/src/sys/i386/conf but couldn't find any reference to it.

    I'd really appreciate any advice. Thanks!

    Andrew

    Andrew Guest

  2. #2

    Default Re: Increasing system message buffer size

    In the last episode (Mar 21), Andrew Robinson said: 

    Yes, that's the only way to do it. It might be possible to convert it
    into a tunable (which would let you set it in /boot/loader.conf), but I
    don't know how early in the boot process tunables are available. The
    default is 32768 (see /sys/sys/msbguf.h).

    --
    Dan Nelson
    com
    Dan Guest

  3. #3

    Default Re: Increasing system message buffer size

    Thanks Dan!

    Andrew

    ----- Original Message -----
    From: Dan Nelson <com>
    Date: Monday, March 21, 2005 3:56 pm
    Subject: Re: Increasing system message buffer size
     
    > with 
    >
    > Yes, that's the only way to do it. It might be possible to convert it
    > into a tunable (which would let you set it in /boot/loader.conf),
    > but I
    > don't know how early in the boot process tunables are available. The
    > default is 32768 (see /sys/sys/msbguf.h).
    >
    > --
    > Dan Nelson
    > com
    >[/ref]

    Andrew Guest

Similar Threads

  1. Increasing partition size
    By sbailey@netins.net in forum Windows Server
    Replies: 2
    Last Post: June 19th, 07:40 AM
  2. Increasing ppi with out increasing the size of.....
    By James_Earl_Jones@adobeforums.com in forum Adobe Photoshop Mac CS, CS2 & CS3
    Replies: 37
    Last Post: April 19th, 11:49 PM
  3. Why are my .eps files increasing in size?
    By MacEriu@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 1
    Last Post: April 16th, 07:55 PM
  4. read(fd, buf, size) reads more than the given buffer size
    By Martin in forum UNIX Programming
    Replies: 16
    Last Post: September 23rd, 05:49 AM
  5. Increasing font size gets blocky
    By Tony in forum Macromedia Fireworks
    Replies: 0
    Last Post: August 12th, 08:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139