Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
deadlock detected

 
Post new topic   Reply to topic Printable version
 View previous topic  Make insatll Does NOT WORK! Post :: Post Bad Errors Compiling on FreeBSD 4.10  View next topic  
Author Message
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Thu Oct 07, 2004 9:57 am    Post subject: deadlock detected Reply to topic Reply with quote

Code: Show/Hide

bash$ ./bin/asss
asss 1.3.2 built at Oct  7 2004 09:33:00
Loading modules...
I <cmod> loading C module 'unixsignal' from 'internal'
I <cmod> loading C module 'deadlock' from 'internal'
I <cmod> loading C module 'prng' from 'internal'
I <cmod> loading C module 'logman' from 'internal'
E <deadlock> deadlock detected, aborting
Aborted


I am not sure what is wrong. Anything I can try to figure that out?
_________________
Oldbie Server Help
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Oct 07, 2004 1:15 pm    Post subject: Reply to topic Reply with quote

Try removing the persist module from modules.conf (and whatever is dependent on it).

See if that changes anything.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Fri Oct 08, 2004 3:05 am    Post subject: Reply to topic Reply with quote

The deadlock thing just means something is blocking the main thread for 10 seconds.

If it's really persist that's causing the problem (it only happens on some machines), the best way I've found to fix it so far is "rm -f data/__*" before starting the server. That clears out the bdb log files, which sometimes confuse it after an unclean shutdown.

On the other hand, if it's not persist, it might be taking a really long time to do dns lookups for directory servers. Try disabling directory, or manually forcing a dns lookup on your directory servers before starting the server (they'll be cached and it shouldn't take any time to resolve when the server queries for them).
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Oct 08, 2004 3:46 am    Post subject: Reply to topic Reply with quote

Did you fix the thing where a debug build made it deadlock on starting up?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Sat Oct 09, 2004 1:25 pm    Post subject: Reply to topic Reply with quote

Ah. dnsing directory servers was the problem. If you put the ip address of the dir. serv instead will it still try a lookup?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sat Oct 09, 2004 4:46 pm    Post subject: Reply to topic Reply with quote

I think an ip should resolve instantly to itself. But I have a better fix: make deadlock wait 60 seconds when it starts up, before it aborts after 10.

I think that's better than just having it not do anything at all until all of modules.conf is loaded, because it would be nice to detect deadlocks during module load. Not that I'd expect there to actually be one, though.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 25 page(s) served in previous 5 minutes.

phpBB Created this page in 0.466273 seconds : 30 queries executed (88.8%): GZIP compression disabled