log file getting too big
David J Craigon
david at craigon.co.uk
Wed Nov 18 15:44:32 CET 2009
It might well be a problem on my end. Any suggestions are welcome.
It's not the file system:
[root at localhost 5731]# ls -sh /tmp/
3.9G bigfile 0 birdlogtmp 2.1G look
where the file "look" is what was the bird log file. Bird stopped when the
file became 2.1 Gb. As you can see, I can make bigger files
I've got bird to create a core dump, which I can include if you really want,
but sticking it in gdb tells me the following:
[root at localhost ~]# gdb /usr/sbin/bird core.4934
GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/i686/nosegneg/librt.so.1...(no debugging symbols
Loaded symbols for /lib/i686/nosegneg/librt.so.1
Reading symbols from /lib/i686/nosegneg/libc.so.6...(no debugging symbols
Loaded symbols for /lib/i686/nosegneg/libc.so.6
Reading symbols from /lib/i686/nosegneg/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/nosegneg/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
Loaded symbols for /lib/ld-linux.so.2
(no debugging symbols found)
Core was generated by `bird'.
Program terminated with signal 25, File size limit exceeded.
[New process 4934]
#0 0x00e1e402 in __kernel_vsyscall ()
The whole signal 25 thing suggests it is coming from outside, but if so,
Here are the limits for the bird process:
[root at localhost 5731]# cat limits
Limit Soft Limit Hard Limit
Max cpu time unlimited unlimited
Max file size unlimited unlimited
Max data size unlimited unlimited
Max stack size 10485760 unlimited
Max core file size unlimited unlimited
Max resident set unlimited unlimited
Max processes 58655 58655
Max open files 1024 1024
Max locked memory 32768 32768
Max address space unlimited unlimited
Max file locks unlimited unlimited
Max pending signals 58655 58655
Max msgqueue size 819200 819200
Max nice priority 0 0
Max realtime priority 0 0
2009/11/18 Ondrej Filip <feela at network.cz>
> On 18.11.2009 13:36, Eugene Perevyazko wrote:
>> On Wed, Nov 18, 2009 at 09:45:21AM +0000, David J Craigon wrote:
>> I'm using the log "" command to log to a file.
>>> 1) The file seems to have a 2Gb limit on file size.
>>> 2) When the file gets to 2Gb, bird crashes.
>>> Can you make 1) use the large file things so it can be bigger than 2Gb,
>>> can I suggest that 2) is not the right answer- the log file not being
>>> available seems like a really bad reason to bring down the entire
>> Using and debugging bird on FreeBSD I've got logs over 2GB several times
>> never was it crashing because of these. Are you sure it's not a filesystem
>> where your log reside issue?
> I believe it is filesystem limit. But I am surprised that this crashes
> BIRD. Are you able to produce core file?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bird-users