🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Jarle Aase Wed, 08 Oct 2003 04:05
inn 2.4.1 crashes during startup
#66796
Author: Jarle Aase
Date: Wed, 08 Oct 2003 04:05
111 lines
5234 bytes
Inn 1.4.1 stopped working tonight, and refuses to start up again. I
can't find any error-messages in any log-file on the system, - the
only trace of the problem is in news.notice: "ME finishing".

When I try to start inn, I get this in news.notice:

Oct  8 05:51:17 news innd: SERVER descriptors 1024
Oct  8 05:51:17 news innd: SERVER outgoing 1011
Oct  8 05:51:17 news innd: SERVER ccsetup control:13
Oct  8 05:51:17 news innd: SERVER lcsetup localconn:15
Oct  8 05:51:17 news innd: SERVER rcsetup remconn:3
Oct  8 05:51:19 news innd: innfeed! spawned innfeed!:18:proc:341
Oct  8 05:51:19 news innd: INFLOW opened INFLOW:17:file
Oct  8 05:51:19 news innfeed[341]: ME starting innfeed 2.4.1 (20030912
prerelease) at Wed Oct  8 05:51:19 2003
Oct  8 05:52:55 news innfeed[341]: loading /etc/news/innfeed.conf
Oct  8 05:52:55 news innd: SERVER perl filter not defined
Oct  8 05:52:55 news innd: SERVER starting

... Notices about peers that are connected to and incoming connections

Oct  8 05:52:55 news innd: news-out.:129 NCmode "mode stream" received
Oct  8 05:52:55 news innd: news-out.nuthinbutnews.com:130 NCmode "mode
stream" received
Oct  8 05:52:56 news nnrpd[442]: *** connect
Oct  8 05:52:56 news nnrpd[444]: *** (***) connect
Oct  8 05:52:56 news nnrpd[444]: *** group jgaa.war-ftpd.general 0
Oct  8 05:52:56 news nnrpd[444]: *** times user 0.160 system 0.000
idle 0.000 elapsed 0.801
Oct  8 05:52:56 news nnrpd[444]: *** time 830 idle 221(4) nntpwrite
0(10)
Oct  8 05:52:57 news innfeed[341]: ME source lost . Exiting
Oct  8 05:52:57 news innfeed[341]: ME global seconds 98 offered 0
accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0 spooled
20 unspooled 0
Oct  8 05:52:57 news innfeed[341]: ME finishing at Wed Oct  8 05:52:57
2003

... And then it's game over. 


System information:

news:~# cat /proc/version
Linux version 2.4.18jgaanews (root@news) (gcc version 2.95.4 20011002
(Debian prerelease)) #1 SMP Fri Jul 18 01:10:20 CEST 2003

news:~# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  921612288 513056768 408555520        0    24576 416595968
Swap: 500088832        0 500088832
MemTotal:       900012 kB
MemFree:        398980 kB
MemShared:           0 kB
Buffers:            24 kB
Cached:         406832 kB
SwapCached:          0 kB
Active:         110792 kB
Inactive:       304656 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       900012 kB
LowFree:        398980 kB
SwapTotal:      488368 kB
SwapFree:       488368 kB

news:~# ulimit -a
core file size        (blocks, -c) 0news:~# ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 7168
virtual memory        (kbytes, -v) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 7168
virtual memory        (kbytes, -v) unlimited


news:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md2               74G   57G   18G  76% /
/dev/md0               93M  7.1M   81M   8% /boot
/dev/hdf1             112G   76G   37G  68%
/var/spool/news/cycbuffs/spooldisk001

news:~# mount
/dev/md2 on / type xfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md0 on /boot type ext2 (rw)
/dev/hdf1 on /var/spool/news/cycbuffs/spooldisk001 type xfs (rw)


Does anyone have a clue about what's going on here? I have disabled
anything I can imagine that may cause problems for inn, including
filters.

Jarle
Re: inn 2.4.1 crashes during startup
#66795
Author: Jeffrey M. Vinocur
Date: Wed, 08 Oct 2003 10:31
14 lines
1447 bytes
In article <83e0d126.0310072005.39a4a3e4@posting.google.com>,
Jarle Aase <nospam@jgaa.com> wrote:

>core file size        (blocks, -c) 0

If you can set this to unlimited, INN should leave a core in
$patharticles; if you run `gdb $pathbin/innd $patharticles/core`
and type "backtrace" we might be able to figure out what's going
on.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: inn 2.4.1 crashes during startup
#66797
Author: Jarle Aase
Date: Wed, 08 Oct 2003 14:47
52 lines
3594 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bm0p16$von$1@puck.litech.org>...
> In article <83e0d126.0310072005.39a4a3e4@posting.google.com>,
> Jarle Aase <nospam@jgaa.com> wrote:
> 
> >core file size        (blocks, -c) 0
> 
> If you can set this to unlimited, INN should leave a core in
> $patharticles; if you run `gdb $pathbin/innd $patharticles/core`
> and type "backtrace" we might be able to figure out what's going
> on.

news:~# gdb /usr/lib/news/bin/innd /var/spool/news/articles/core
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
Core was generated by `/usr/lib/news/bin/innd -p 3 -C'.
Program terminated with signal 25, File size limit exceeded.
Reading symbols from /usr/lib/libdb-4.1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdb-4.1.so
Reading symbols from /usr/lib/libperl.so.5.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libperl.so.5.8
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x401f9878 in write () from /lib/libpthread.so.0
(gdb) backtrace
#0  0x401f9878 in write () from /lib/libpthread.so.0
#1  0x00000011 in ?? ()
#2  0x0805b953 in CHANreadloop ()
#3  0x0805daa6 in main ()
#4  0x40281e3e in __libc_start_main () from /lib/libc.so.6
(gdb)
Re: inn 2.4.1 crashes during startup
#66798
Author: Jarle Aase
Date: Wed, 08 Oct 2003 15:47
16 lines
1646 bytes
Jarle Aase wrote:

> Program terminated with signal 25, File size limit exceeded

I found the problem. The stat-file /var/spool/news/outgoing/INFLOW was 2g. 
Not a problem for xfs, but I believe the Debian "testing" build of inn 
lacks support for large files :(

Anyways, thanks for the help!

Jarle
-- 
Jarle Aase                http://www.jgaa.com
mailto:jgaa@jgaa.com      http://www.fuck-the-law.org

<<< no need to argue - just kill'em all! >>>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads