[DRBD-user] Apparent buffer overflow: cat /proc/drbd

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Aug 16 19:20:54 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2005-08-16 13:03:35 +0800
\ David Huang:
> I just found out what triggled the Apparent buffer overflow!
> 
> When there are a lot of drbd devices and some of them are doing
> syncing.  Apparent buffer overflow msg will show up in dmesg if I
> execute "/etc/drbd status" command. and it also usually crash the
> kernel (see attachment file: drbd.log2)

right.
if you configure too many drbd devices,
it may well happen that the default page sized buffer of a proc read
is too small...  I thought I had fixed this ages ago.

We'll have a look at this, and probably take the opportunity to change
to the seq_file api.

Thanks,

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list