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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Completely random crash?
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #11
RE: Completely random crash?
Thanks Skul, will apply that. Much appreciated.

Still not sure why we are suddenly getting the packet errors, players characters freezing in game even when the game hasn't frozen for anyone else, and more lag than normal..
Might have to review my recent changes Sad

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-25-2013 07:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #12
RE: Completely random crash?
what is your network settings in sphere.ini? networkthreads > 0 can cause this problem, try with following settings:
Code:
///////////////////////////////////////////////////////////////
//////// Network Behaviour
///////////////////////////////////////////////////////////////
// WARNING: These are advanced settings that should not normally be changed
//          from the recommended default values!

// Disconnect inactive socket in x min
DeadSocketTime=5

// Maximum number of packets to send per tick
MaxPacketsPerTick=45

// Number of connections a client can make before being blocked
MaxPings=120

// Maximum number of packets before lowering packet priorities (0 for no limit)
MaxQueueSize=50

// Maximum number of bytes to send per tick (also governs maximum size of outgoing packets)
MaxSizePerTick=18000

// Time to remember previous connection history (seconds)
NetTTL=300

// Use asynchronous data sends (changing this setting at runtime may produce unexpected behaviour)
//  0 = Off
//  1 = On
//  2 = On for 4.0.0+ game clients only
UseAsyncNetwork=0

// Prioritise outgoing packets (provides a smoother experience in crowded areas)
UsePacketPriority=0

// Enables an additional buffer for outgoing data.
UseExtraBuffer=1

// Tooltip modes
//  0 = Always send full tooltip
//  1 = Wait for client to request full tooltip
TooltipMode=1

// Time to cache tooltip data for (seconds)
TooltipCache=60

// Automatically invalidate and resend tooltips when:
//  0001    item or character name changes
//  0002    item amount changes
//  0004    container weight changes
//  0008    weapon or armor durability changes
//  0010    weapon poison charge changes
//  0020    wand charge changes
//  0040    spell added to spellbook
AutoTooltipResend=07f


// Number of network threads. Clients are distributed evenly amongst each thread. Set to 0 to not
// use a separate networking thread.
NetworkThreads=0

// If network threads are used, this controls the priority they are assigned.
//  0   = Idle
//  1   = Low
//  2   = Normal
//  3   = High
//  4   = Highest
//  5   = Real-time
//  255 = Automatic (recommended)
NetworkThreadPriority=255
01-25-2013 08:43 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #13
RE: Completely random crash?
the unknown packet errors will cause the server to freeze up and the clients to freeze up too. try out the little patch there and see how it works for you.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
01-26-2013 03:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #14
RE: Completely random crash?
I did have Network setting to 1 not 0, must have changed it by mistake. Also the packet errors stopped. I hope that's going to help, rather than just hide the errors Big Grin

Now I dont have 100 odd players moaning at me Tongue

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-26-2013 05:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #15
RE: Completely random crash?
Good to know.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
01-26-2013 08:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #16
RE: Completely random crash?
The Segmentation fault is back... its not related to any script, usually you would see it next to a script name it would carry on.. but this just is on its own and dies :/

Guess i'll look for some similarities in them.

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-31-2013 04:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #17
RE: Completely random crash?
Still going on.
A bit more info if it helps.

Running on 64-bit Linux, with 32-bit mysql libs as required by sphere.

It most often happens when someone logs out, based on the last 6 times, it has been the last action before the error for 5 of them.

The console actually says something like 'termination called recursively' and a line about it being unstable/aborted. Whereas the log just says 'Error: segmentation fault'.

This happens at least once a day, although usually less in the early hours of 4am-2pm GMT. Only when people are more active in the evenings (most players being from somewhere in Europe).

Hardware is all fine. CPU usage is low. About 75-95 people on when it happens. But seems irrelevant.

Like I said to people in IRC. If anyone can fix this, I would be willing to pay for your time - this is what donations are for right? (or is it for those new shoes I like?)

ULTIMA ONE
The modern, sphere powered Ultima Online server
02-07-2013 03:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #18
RE: Completely random crash?
i think you should try with 32 bit os. 3 months later i changed my hosting and they installed windows server 2008 x64. i get crashes 5 times when players on shard going to 200+ (i have even 50+ days uptime before that). then i installed windows server 2008 x86 and my shard never crashed again.
(This post was last modified: 02-07-2013 03:55 AM by Shaklaban.)
02-07-2013 03:54 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: #19
RE: Completely random crash?
Quote:Running on 64-bit Linux, with 32-bit mysql libs as required by sphere.

That was the only thing that made me go Hmmmmm when you mentioned it in IRC

[Image: 2nis46r.jpg]
02-07-2013 04:04 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #20
RE: Completely random crash?
Unfortunately not really an option... My server has 16gb of ram. Although it does not use it, it seems really stupid to take my server and place a 32 bit OS on it.

What if I run a 32 bit VM inside the 64 bit OS and reserve the max 4gb ram for it and it can have a whole CPU core... You think that might work? (or worth a shot?)

Also. If this was a 64 bit OS issue, why would it only fail once every 16-24 hours? (sometimes sooner, but this is average). It would crash as soon as the bit of code it doesnt like ran the first time..

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 02-07-2013 07:24 AM by Ultima One.)
02-07-2013 06:44 AM
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)