View Issue Details

IDProjectCategoryView StatusLast Update
0003158unrealircdpublic2007-03-04 11:35
ReporterDosmac6400 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platformi386OSFreeBSDOS Version6.1.1
Product Version3.2.5 
Summary0003158: Freeze randomly under FreeBSD 6.1.1.
DescriptionThe server will run fine anywheres from 30seconds to 1day. When the UnrealIRCd starts up, there are no errors or problems. It ran for about a day, then just "locked up" and the ./unreal stop didnt work nor did kill -9 PID. The IRC never actually "Crashes" it just drops all connections and continues running and will not shutdown, which then forces me to reboot to the entire box and restart unreal. I've checked the logs and the last action was a user either disconnecting or connecting. I believe I have full logging enabled on the IRCd as well as IRCop enabled with all snomasks, and that shows the same, last thing to happen was a user connecting or disconnecting.
Steps To ReproduceRun the IRCd under FreeBSD 6.1.1
Additional InformationTried 3.2.6-rc1 aswell, same problem.
TagsNo tags attached.
3rd party modulesNone.

Relationships

related to 0003089 closed FreeBSD 6.0 -- Daemon freezes up 

Activities

Bricker

2006-12-21 10:26

reporter   ~0012875

sounds similar to my problem, but not quite..

more info? box specs, etc

syzop

2006-12-21 11:08

administrator   ~0012877

Nah that's something different, Bricker :P

It's similar to #3108, though.

Dosmac6400, could you do this? (*copypaste from 3108 bugnote*):
**
Try replacing this line in src/s_bsd.c (near line 1050):
#if defined(IP_OPTIONS) && defined(IPPROTO_IP) && !defined(_WIN32) && !defined(INET6)

to

#if 0

And recompile ('make && make install') again.
**
Then see what happens.

Also (same question as bricker ;p), could you give some box specs? memory and CPU.

In case the ircd "freezes" again, could you do a:
ps ux|grep irc
and paste that us.

Thanks :)

Dosmac6400

2006-12-21 16:33

reporter   ~0012878

I have modified that line, and no crash yet, it's been 30minutes, i'd say that fixed it, but I know the second I hit "Add Note" it will crash ;) I'll repost if it crashes. The serv has 1gig ram, no idea on the specs itself.

Dosmac6400

2006-12-21 21:25

reporter   ~0012884

Been running stable for just shy of 6hours now. I'd say that did the trick..

xelco

2006-12-24 18:22

reporter   ~0012896

Last edited: 2006-12-24 18:24

I did the fix but the crashed process is still stuck and unkillable which makes it impossible to start the fixed ircd on the same ip. It looks like the crashed process is still binding to the IP.

This is from ps:

testircd 15710 0.0 3.1 16792 15736 p1- L Thu02AM 13:34.56 ircd: testserver1.test (ircd)
testircd 41267 0.0 0.0 348 208 p2 R+ 12:18AM 0:00.00 grep irc

This is what shows up in top:

15710 testircd 1 76 0 16792K 15736K *inp 13:35 0.00% ircd

Sending kill -9 commands does not work either. Rebooting the box is an unlikely option but is there anything I can get the SysAdmin to do without affecting other users of the box? Thanks.

OS is FreeBSD 6.1-RELEASE-p10

Bricker

2006-12-24 21:16

reporter   ~0012897

did you try killall? kill -9 may not always work
or contact the box admin and have themm kill the process for you

syzop

2006-12-25 08:22

administrator   ~0012899

If a process becomes unkillable, then it must be an OS bug.

djGrrr

2006-12-25 08:29

reporter   ~0012900

i was thinking the same thing Sysop

only way a process becomes unkillable with the -9 signal (even as root) is when the OS has a problem.

Does the process by chance become defunct ?

Bricker

2006-12-25 17:33

reporter   ~0012901

You could try killall! ;P and maybe update your OS to 6.1 :)

syzop

2007-03-04 11:35

administrator   ~0013266

See also #3108, likely to be some freebsd6 bug. -- solution was to upgrade to freebsd 6.2 which is said to fix some tcp bug. If the problem still persists with fbsd 6.2, let us know! Thanks.

Issue History

Date Modified Username Field Change
2006-12-21 09:04 Dosmac6400 New Issue
2006-12-21 09:04 Dosmac6400 3rd party modules => None.
2006-12-21 10:26 Bricker Note Added: 0012875
2006-12-21 11:08 syzop Note Added: 0012877
2006-12-21 16:33 Dosmac6400 Note Added: 0012878
2006-12-21 21:25 Dosmac6400 Note Added: 0012884
2006-12-24 18:22 xelco Note Added: 0012896
2006-12-24 18:24 xelco Note Edited: 0012896
2006-12-24 18:24 xelco Note Edited: 0012896
2006-12-24 21:16 Bricker Note Added: 0012897
2006-12-25 08:22 syzop Note Added: 0012899
2006-12-25 08:23 syzop Relationship added related to 0003089
2006-12-25 08:29 djGrrr Note Added: 0012900
2006-12-25 17:33 Bricker Note Added: 0012901
2007-03-04 11:35 syzop Status new => closed
2007-03-04 11:35 syzop Note Added: 0013266
2007-03-04 11:35 syzop Resolution open => no change required