The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server lock up - vendor sell - connection issue
Author Message
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #1
Server lock up - vendor sell - connection issue
I don't have the logs with me right now. but it appears someone is using a "buy/sell" agent, and he was spamming "vendor sell" like 150 times. then he connected 5-6 times in a row reaching the maximum ping limit. following these two events the server froze up.

isnt the server supposed to restart the main thread when this happens? how can i make something like a server freeze not so drastically affect everyone.

does anyone know of an issue with the buy/sell agent? or any of the information i have above? i apologize for not having the logs, but i thought i fixed the problem by allowing buy/sell agent in the sphere.ini and i already left home for work. it'll be anotehr 3 hours until my shift is over and i'm livid as hell that i can't this handled right now.
(This post was last modified: 02-15-2013 07:49 AM by Soulless.)
02-15-2013 07:48 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Server lock up - vendor sell - connection issue
I was just reading that very post.
I can't say that I have any experience with such a thing.

However what I would suggest if you are unable to access your server from work (and who is) is that you install teamviewer on your computer when you get home, and then assuming you have a smart phone, install the team viewer app onto your phone. That way you would be able to access your machine restart your server should it hang and not restart.

[Image: 2nis46r.jpg]
02-15-2013 08:08 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #3
RE: Server lock up - vendor sell - connection issue
here is the last thing that happened on the crash before i left.

the log file for while i was at work is 2gigs, so i cant open it.

but this is all the information i have on the serve rlocking up:

Code:
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:04:f4:'Chupadora de Pau' Says 'Alan Sell' mode=0
11:06:WARNING:Forcing thread 'Main' to terminate...
11:06:CRITICAL:'Main' thread hang, restarting...
11:09:WARNING:Forcing thread 'Main' to terminate...
11:09:CRITICAL:'Main' thread hang, restarting...
11:09:DEBUG:__ thread (5604) __ |  # | _____ function _____________ | ticks passed from previous function start ______
11:09:DEBUG:>>         5604     |  0 |         NetworkManager::tick | +0
11:09:DEBUG:>>         5604     |  1 |               CWorld::OnTick | +136578
11:09:DEBUG:>>         5604     |  2 |              CSector::OnTick | +0
11:09:DEBUG:>>         5604     |  3 |                CChar::OnTick | +0
11:09:DEBUG:>>         5604     |  4 |      CChar::NPC_OnTickAction | +0
11:09:DEBUG:>>         5604     |  5 |         CChar::NPC_Act_Guard | +0
11:09:DEBUG:>>         5604     |  6 |        CChar::NPC_Act_Follow | +0
11:09:DEBUG:>>         5604     |  7 |       CChar::NPC_WalkToPoint | +0
11:09:DEBUG:>>         5604     |  8 |       CChar::NPC_Pathfinding | +0
11:09:DEBUG:>>         5604     |  9 |        CPathFinder::FindPath | +15
11:09:DEBUG:>>         5604     | 10 |               CWorld::OnTick | +179985
11:09:DEBUG:>>         5604     | 11 |              CSector::OnTick | +0
11:09:DEBUG:>>         5604     | 12 |                CChar::OnTick | +15
11:09:DEBUG:>>         5604     | 13 |      CChar::NPC_OnTickAction | +0
11:09:DEBUG:>>         5604     | 14 |        CChar::NPC_Act_Wander | +0
11:09:DEBUG:>>         5604     | 15 |        CChar::NPC_LookAround | +0
11:09:DEBUG:>>         5604     | 16 |        CChar::NPC_LookAtItem | +0
11:09:DEBUG:>>         5604     | 17 |       CChar::NPC_WalkToPoint | +0
11:09:DEBUG:>>         5604     | 18 |       CChar::NPC_Pathfinding | +0 <-- exception catch point (below is guessed and could be incorrect!)
11:09:DEBUG:>>         5604     | 19 | CPathFinderPoint::~CPathFinderPoint | +47
11:09:CRITICAL:"Access Violation" (0xc9b30), in CChar::Pathfinding() #4 "searching the path"
11:09:DEBUG:'Jelena' point '1524,1545,25,0' [07e026]
11:09:DEBUG:__ thread (5604) __ |  # | _____ function _____________ | ticks passed from previous function start ______
11:09:DEBUG:>>         5604     |  0 |         NetworkManager::tick | +0
11:09:DEBUG:>>         5604     |  1 |               CWorld::OnTick | +136578
11:09:DEBUG:>>         5604     |  2 |              CSector::OnTick | +0
11:09:DEBUG:>>         5604     |  3 |                CChar::OnTick | +0
11:09:DEBUG:>>         5604     |  4 |      CChar::NPC_OnTickAction | +0
11:09:DEBUG:>>         5604     |  5 |         CChar::NPC_Act_Guard | +0
11:09:DEBUG:>>         5604     |  6 |        CChar::NPC_Act_Follow | +0
11:09:DEBUG:>>         5604     |  7 |       CChar::NPC_WalkToPoint | +0
11:09:DEBUG:>>         5604     |  8 |       CChar::NPC_Pathfinding | +0
11:09:DEBUG:>>         5604     |  9 |        CPathFinder::FindPath | +15
11:09:DEBUG:>>         5604     | 10 |               CWorld::OnTick | +179985
11:09:DEBUG:>>         5604     | 11 |              CSector::OnTick | +78
11:09:DEBUG:>>         5604     | 12 |                CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
11:09:DEBUG:>>         5604     | 13 |    CChar::OnTickStatusUpdate | +0
11:09:DEBUG:>>         5604     | 14 |         CClient::UpdateStats | +0
11:09:DEBUG:>>         5604     | 15 |       CClient::addStamUpdate | +0
11:09:DEBUG:>>         5604     | 16 |             PacketSend::send | +0
11:09:DEBUG:>>         5604     | 17 |           PacketSend::target | +0
11:09:DEBUG:__ thread (5604) __ |  # | _____ function _____________ | ticks passed from previous function start ______
11:09:DEBUG:>>         5604     |  0 |         NetworkManager::tick | +0
11:09:DEBUG:>>         5604     |  1 |               CWorld::OnTick | +136578
11:09:DEBUG:>>         5604     |  2 |              CSector::OnTick | +0
11:09:DEBUG:>>         5604     |  3 |                CChar::OnTick | +0
11:09:DEBUG:>>         5604     |  4 |      CChar::NPC_OnTickAction | +0
11:09:DEBUG:>>         5604     |  5 |         CChar::NPC_Act_Guard | +0
11:09:DEBUG:>>         5604     |  6 |        CChar::NPC_Act_Follow | +0
11:09:DEBUG:>>         5604     |  7 |       CChar::NPC_WalkToPoint | +0
11:09:DEBUG:>>         5604     |  8 |       CChar::NPC_Pathfinding | +0
11:09:DEBUG:>>         5604     |  9 |        CPathFinder::FindPath | +15
11:09:DEBUG:>>         5604     | 10 |               CWorld::OnTick | +179985
11:09:DEBUG:>>         5604     | 11 |           CScriptObj::r_Call | +109
11:09:DEBUG:>>         5604     | 12 |     CScriptObj::OnTriggerRun | +0
11:09:DEBUG:>>         5604     | 13 |              CServer::r_Verb | +0
11:09:DEBUG:>>         5604     | 14 |           CScriptObj::r_Call | +0
11:09:DEBUG:>>         5604     | 15 |     CScriptObj::OnTriggerRun | +0
11:09:DEBUG:>>         5604     | 16 |     CScriptObj::OnTriggerRun | +0
11:09:DEBUG:>>         5604     | 17 |              CServer::r_Verb | +0
11:09:DEBUG:>>         5604     | 18 |           CScriptObj::r_Call | +0
11:09:DEBUG:>>         5604     | 19 |     CScriptObj::OnTriggerRun | +0
11:09:DEBUG:>>         5604     | 20 |              CServer::r_Verb | +0
11:09:DEBUG:>>         5604     | 21 |           CScriptObj::r_Verb | +0
11:09:DEBUG:>>         5604     | 22 |                CItem::r_Verb | +0
11:09:DEBUG:>>         5604     | 23 |             CObjBase::r_Verb | +0
11:09:DEBUG:>>         5604     | 24 |           CScriptObj::r_Verb | +0
11:09:DEBUG:>>         5604     | 25 |         CRegionWorld::r_Verb | +0
11:09:DEBUG:>>         5604     | 26 |          CRegionBase::r_Verb | +0
11:09:DEBUG:>>         5604     | 27 | CRegionBase::SendSectorsVerb | +0
11:09:DEBUG:>>         5604     | 28 |              CSector::r_Verb | +31 <-- exception catch point (below is guessed and could be incorrect!)
11:09:DEBUG:>>         5604     | 29 |            CSector::SetLight | +0
11:09:DEBUG:>>         5604     | 30 |         CSector::SetLightNow | +0
11:09:DEBUG:>>         5604     | 31 |            CClient::addLight | +0
11:09:DEBUG:>>         5604     | 32 | PacketGlobalLight::PacketGlobalLight | +0
11:09:DEBUG:>>         5604     | 33 |             PacketSend::push | +0
11:09:DEBUG:>>         5604     | 34 |   NetworkOutput::QueuePacket | +0
11:09:DEBUG:>>         5604     | 35 | NetworkOutput::QueuePacketTransaction | +0
11:09:DEBUG:command 'light' args '' [006A63D0]
11:09:8:Client connected [Total:9] ('24.87.169.99' 1/2)
11:09:5:Frozen client connection disconnected.
11:09:92:Frozen client connection disconnected.
11:09:99:Frozen client connection disconnected.
11:09:9f:Frozen client connection disconnected.
11:09:c9:Frozen client connection disconnected.
11:09:ef:Frozen client connection disconnected.
11:09:f4:Frozen client connection disconnected.
11:09:fd:Frozen client connection disconnected.
11:12:WARNING:Forcing thread 'Main' to terminate...
11:12:CRITICAL:'Main' thread hang, restarting...
11:12:9:Client connected [Total:10] ('86.149.147.195' 1/3)
11:15:WARNING:Forcing thread 'Main' to terminate...
11:15:CRITICAL:'Main' thread hang, restarting...
11:15:a:Client connected [Total:11] ('86.149.147.195' 2/4)
11:18:WARNING:Forcing thread 'Main' to terminate...
11:18:CRITICAL:'Main' thread hang, restarting...
11:18:b:Client connected [Total:12] ('86.149.147.195' 3/5)
11:21:WARNING:Forcing thread 'Main' to terminate...
11:21:CRITICAL:'Main' thread hang, restarting...
11:21:c:Client connected [Total:13] ('166.62.162.81' 1/2)
11:24:WARNING:Forcing thread 'Main' to terminate...
11:24:CRITICAL:'Main' thread hang, restarting...
11:24:GC: 104162 Objects accounted for
11:24:World data saved   (save/sphereworld.scp).
11:24:Player data saved  (save/spherechars.scp).
11:24:Multi data saved   (save/spheremultis.scp).
11:24:Context data saved (save/spheredata.scp).
11:24:World save completed, took 1.9312 seconds
11:24:d:Client connected [Total:14] ('166.62.162.81' 2/3)
11:27:WARNING:Forcing thread 'Main' to terminate...
11:27:CRITICAL:'Main' thread hang, restarting...
11:27:e:Client connected [Total:15] ('50.63.197.109' 1/1)
11:30:WARNING:Forcing thread 'Main' to terminate...
11:30:CRITICAL:'Main' thread hang, restarting...
11:30:f:Client connected [Total:16] ('64.34.181.157' 1/1)
11:33:WARNING:Forcing thread 'Main' to terminate...
11:33:CRITICAL:'Main' thread hang, restarting...
11:33:10:Client connected [Total:17] ('96.45.178.186' 1/1)
11:36:WARNING:Forcing thread 'Main' to terminate...
11:36:CRITICAL:'Main' thread hang, restarting...
11:36:11:Client connected [Total:18] ('50.63.197.109' 2/2)
11:39:WARNING:Forcing thread 'Main' to terminate...
11:39:CRITICAL:'Main' thread hang, restarting...
11:39:12:Client connected [Total:19] ('96.45.178.186' 2/2)
11:42:WARNING:Forcing thread 'Main' to terminate...
11:42:CRITICAL:'Main' thread hang, restarting...
11:42:13:Client connected [Total:20] ('96.45.178.186' 3/3)
11:45:WARNING:Forcing thread 'Main' to terminate...
11:45:CRITICAL:'Main' thread hang, restarting...
11:45:GC: 104145 Objects accounted for
11:45:World data saved   (save/sphereworld.scp).
11:45:Player data saved  (save/spherechars.scp).
11:45:Multi data saved   (save/spheremultis.scp).
11:45:Context data saved (save/spheredata.scp).
11:45:World save completed, took 1.0991 seconds
11:45:14:Client connected [Total:21] ('166.62.162.81' 3/4)
11:48:WARNING:Forcing thread 'Main' to terminate...
11:48:CRITICAL:'Main' thread hang, restarting...
11:48:15:Client connected [Total:22] ('50.63.197.109' 3/3)
11:51:WARNING:Forcing thread 'Main' to terminate...
11:51:CRITICAL:'Main' thread hang, restarting...
11:51:16:Client connected [Total:23] ('50.63.197.109' 4/4)
11:54:WARNING:Forcing thread 'Main' to terminate...
11:54:CRITICAL:'Main' thread hang, restarting...
11:54:17:Client connected [Total:24] ('50.63.197.109' 5/5)
11:57:WARNING:Forcing thread 'Main' to terminate...
11:57:CRITICAL:'Main' thread hang, restarting...
11:57:18:Client connected [Total:25] ('166.62.162.81' 4/5)
12:00:WARNING:Forcing thread 'Main' to terminate...
12:00:CRITICAL:'Main' thread hang, restarting...
12:00:19:Client connected [Total:26] ('96.45.178.186' 4/4)
12:03:WARNING:Forcing thread 'Main' to terminate...
12:03:CRITICAL:'Main' thread hang, restarting...
12:03:1a:Client connected [Total:27] ('96.45.178.186' 5/5)
12:06:WARNING:Forcing thread 'Main' to terminate...
12:06:CRITICAL:'Main' thread hang, restarting...
12:06:GC: 104161 Objects accounted for
12:06:World data saved   (save/sphereworld.scp).
12:06:Player data saved  (save/spherechars.scp).
12:06:Multi data saved   (save/spheremultis.scp).
12:06:Context data saved (save/spheredata.scp).
12:06:World save completed, took 1.1656 seconds
12:06:1b:Client connected [Total:28] ('96.45.178.186' 6/6)

// NPC AI settings
// NPC_AI_PATH 0x001 NPC pathfinding
// NPC_AI_FOOD 0x002 NPC food search (objects + grass)
// NPC_AI_EXTRA 0x004 NPC magics, etc
// NPC_AI_ALWAYSINT 0x008 Always be as smart as possible with pathfinding
// NPC_AI_INTFOOD 0x010 NPC food search (more intelligent and trusworthy)
// NPC_AI_COMBAT 0x040 Look for friends in combat
// NPC_AI_VEND_TIME 0x080 vendors closing their shops at nighttime
// NPC_AI_LOOTING 0x0100 loot corpses an the way
// NPC_AI_MOVEOBSTACLES 0x0200 if moveable items block my way, try to move them
NPCAI=01|08|0100|0200
(This post was last modified: 02-15-2013 12:16 PM by Soulless.)
02-15-2013 11:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: Server lock up - vendor sell - connection issue
Ahhh man, maybe is the networkthread thing...
I don't remember what setup you should use, but Mordaunt do.
Wait him and we will play again Big Grin

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
02-15-2013 12:20 PM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #5
RE: Server lock up - vendor sell - connection issue
haha, i will await mordaunt then Smile hopefully that will cure our issue! thanks for the help on this Extreme!
02-15-2013 12:28 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Server lock up - vendor sell - connection issue
Not I.... I don't change any of the network settings

[Image: 2nis46r.jpg]
02-15-2013 01:26 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)