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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Load reduction tips?
Author Message
Ultima One
Journeyman
*

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

Ultima One

Post: #1
Load reduction tips?
Does anyone have any suggestions on how best to reduce the load on Sphere?

Since it's not multi threaded (yet?) I was wondering if anyone had any tips, or know of the biggest cpu-using parts?

As it stands, my server makes use of about 85% of what it can (a single core out of the 4 the server has), but can occasionally spike (probably a bad script somewhere).

However, it shouldn't really be sat at 85% with around 85 players on.. What could be done to reduce cpu usage?

I've been told TIMERF is a key one, but we only use it once and only rarely. Then there is loops, which there is a reasonable amount, but 60 odd loops running at once should not have such an impact, but maybe it does?

Today we had it spike quite badly out of nowhere.. i guess someone hit a script thats not very well built. Some of our code is 12 years old or older, I've only been running the place for 4 years, 2 of which were downtime. So many hands have touched our scripts, and so many of them need tidying, but want to deal with the most cpu heavy ones first.

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 02-03-2013 01:31 PM by Ultima One.)
02-03-2013 01:31 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Load reduction tips? - Ultima One - 02-03-2013 01:31 PM
RE: Load reduction tips? - Shaklaban - 02-03-2013, 02:16 PM
RE: Load reduction tips? - Ultima One - 02-03-2013, 10:09 PM
RE: Load reduction tips? - Shaklaban - 02-04-2013, 02:56 AM
RE: Load reduction tips? - Ultima One - 02-04-2013, 08:03 AM
RE: Load reduction tips? - Shaklaban - 02-04-2013, 08:24 AM
RE: Load reduction tips? - Ultima One - 02-04-2013, 09:15 AM
RE: Load reduction tips? - Ultima One - 02-04-2013, 10:43 AM
RE: Load reduction tips? - Ben - 02-04-2013, 10:45 AM
RE: Load reduction tips? - Ultima One - 02-04-2013, 11:29 AM

Forum Jump:


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