It might well be a problem on my end. Any suggestions are welcome.<br><br>It's not the file system:<br><br>[root@localhost 5731]# ls -sh /tmp/<br>total 5.9G<br>3.9G bigfile 0 birdlogtmp 2.1G look<br><br>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 <br>
<br>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:<br><br><br>[root@localhost ~]# gdb /usr/sbin/bird core.4934 <br>GNU gdb Fedora (6.8-37.el5)<br>
Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i386-redhat-linux-gnu"...<br>(no debugging symbols found)<br>
<br>warning: Can't read pathname for load map: Input/output error.<br>Reading symbols from /lib/i686/nosegneg/librt.so.1...(no debugging symbols found)...done.<br>Loaded symbols for /lib/i686/nosegneg/librt.so.1<br>Reading symbols from /lib/i686/nosegneg/libc.so.6...(no debugging symbols found)...done.<br>
Loaded symbols for /lib/i686/nosegneg/libc.so.6<br>Reading symbols from /lib/i686/nosegneg/libpthread.so.0...<br>(no debugging symbols found)...done.<br>Loaded symbols for /lib/i686/nosegneg/libpthread.so.0<br>Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.<br>
Loaded symbols for /lib/ld-linux.so.2<br><br>(no debugging symbols found)<br>Core was generated by `bird'.<br>Program terminated with signal 25, File size limit exceeded.<br>[New process 4934]<br>#0 0x00e1e402 in __kernel_vsyscall ()<br>
(gdb) q<br><br>The whole signal 25 thing suggests it is coming from outside, but if so, what? <br><br>Here are the limits for the bird process:<br><br>[root@localhost 5731]# cat limits <br>Limit Soft Limit Hard Limit Units <br>
Max cpu time unlimited unlimited seconds <br>Max file size unlimited unlimited bytes <br>Max data size unlimited unlimited bytes <br>
Max stack size 10485760 unlimited bytes <br>Max core file size unlimited unlimited bytes <br>Max resident set unlimited unlimited bytes <br>
Max processes 58655 58655 processes <br>Max open files 1024 1024 files <br>Max locked memory 32768 32768 bytes <br>
Max address space unlimited unlimited bytes <br>Max file locks unlimited unlimited locks <br>Max pending signals 58655 58655 signals <br>
Max msgqueue size 819200 819200 bytes <br>Max nice priority 0 0 <br>Max realtime priority 0 0 <br>
<br><br>Any ideas?<br><br>David<br><br><br><div class="gmail_quote">2009/11/18 Ondrej Filip <span dir="ltr"><<a href="mailto:feela@network.cz">feela@network.cz</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On 18.11.2009 13:36, Eugene Perevyazko wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Nov 18, 2009 at 09:45:21AM +0000, David J Craigon wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using the log "" command to log to a file.<br>
<br>
1) The file seems to have a 2Gb limit on file size.<br>
2) When the file gets to 2Gb, bird crashes.<br>
<br>
Can you make 1) use the large file things so it can be bigger than 2Gb, and<br>
can I suggest that 2) is not the right answer- the log file not being<br>
available seems like a really bad reason to bring down the entire network.<br>
</blockquote>
<br>
Using and debugging bird on FreeBSD I've got logs over 2GB several times and<br>
never was it crashing because of these. Are you sure it's not a filesystem<br>
where your log reside issue?<br>
</blockquote>
<br></div></div>
I believe it is filesystem limit. But I am surprised that this crashes BIRD. Are you able to produce core file?<br>
<br>
F.<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
</blockquote>
<br>
</blockquote></div><br>