Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-14-2013, 10:07 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
UC Playerworld lag

I'm experiencing some really bad serverside lag on my UC playerworld 'Serenity.' I've noticed that it is taking classes anywhere from 20-90+ seconds to load on login. I don't think it's any of my code as nothing has changed since last night when it was working fine. I've restarted the NPC-Server and that did not help. Is anyone else experiencing the same thing or have any suggestions on things to try? I have a limited amount of time each week to play around on it so when things like this happen it really hinders my ability to do anything. I just need to figure out if it's user error or an issue that others are experiencing.

edit: added /stats

PHP Code:
GServer statistics:
Server uptime679 hrs 14 mins
Max supported players
16384
Sleeptime 
(secs/min): 59401
Connection tries 
(last min): 3
Players
-in (byte/l.m.): 4723
Players
-out (byte/l.m.): 6433
RCs
-in (byte/last min): 123
RCs
-out (byte/last min): 2505
NPCServer
-in (byte/l.m.): 14569
NPCServer
-out (byte/l.m.): 5448
ServerList
-in (byte/l.m.): 4045
ServerList
-out (byte/l.m.): 0
Player
-avrg-in (bit/sec): 257
Player
-avrg-out (bit/sec): 1472
TSockets
-in (byte/l.m.): 0
TSockets
-out (byte/l.m.): 0
Levels
3
Players
1
RCs
2
NPCServers
1
ServerListers
1
Memory 
(bytes): 2668536
Players connecting
0
Script engine
0 event objects3 destroyed objectsstatic objectsglobal variables3 script machines
NPC
-Server statistics:
Server uptime0 hrs 58 mins
Sleeptime 
(secs/min): 56515
Scriptime 
(last min): 56600
Connectiontries 
(last min): 0
NCs
-in (byte/last min): 87
NCs
-out (byte/last min): 0
GServer
-in (byte/l.m.): 12744
GServer
-out (byte/l.m.): 15007
TSockets
-in (byte/l.m.): 0
TSockets
-out (byte/l.m.): 0
Levels
75
Active Levels
13
NPCs
195
Active Objects
0
DB
-NPCs5
NPC
-Placeholder15
Projectiles
0
Players
3
NC count
1
GServers
1
Memory 
(bytes): 5313240
Top 10 of npcs taken most CPU time
:
1. 13.443266948 % -*System/Inventory
2. 0.002356767 
% -*System/Combat
3. 0.001707474 
% -*System/Regeneration
4. 0.000168482 
Control-NPC
5. 0.000164906 
% -*System/ImageUploader
6. 0.000023444 
npcs[200] (in level central_a-3.nw at pos (5310)) (object_tree)
7. 0.000016689 npcs[180] (in level central_a-2.nw at pos (500)) (object_sign)
8. 0.000008344 npcs[181] (in level central_a-2.nw at pos (2410)) (object_tree)
9. 0.000006755 npcs[202] (in level central_a-3.nw at pos (3523)) (object_tree)
10. 0.000006357 npcs[208] (in level central_a-3.nw at pos (4761)) (object_tree)
Most used classes:
1. object_tree108 times
2. object_waterrock
26 times
3. object_rock
7 times
4. object_rock4
7 times
5. functions_sql
4 times
6. object_rock2
4 times
7. object_rock3
4 times
8. object_sign
2 times
9. object_rock5
2 times
10. 
1 times
Script engine
0 event objects2 destroyed objectsstatic objects36 global variables4 script machines 
/memstats

PHP Code:
Memory taken by objects2053240 
EDIT 2: I've determined it's an issue with the server by commenting out everything.

Last edited by Cubical; 03-14-2013 at 10:53 PM..
Reply With Quote
  #2  
Old 03-14-2013, 10:58 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
It would leave me to believe some other UC server is hogging all the resources.
__________________
Quote:
Reply With Quote
  #3  
Old 03-14-2013, 11:06 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by fowlplay4 View Post
It would leave me to believe some other UC server is hogging all the resources.
That is what I was assuming as well. It's currently making mine unusable. I thought there was a way on graal.us to view what servers are on the same machine but I looked and guess there isn't.
Reply With Quote
  #4  
Old 03-14-2013, 11:43 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
There was a DBNPC that I did not comment out and I determined that the following query was causing lag out of nowhere when it's been working for months so this is more of a coding question than a bug report now.
PHP Code:


temp
.query "UPDATE player_items SET equipped='1' WHERE playeraccount='" player.account "' AND itemid='" itemid "'"
Reply With Quote
  #5  
Old 03-15-2013, 04:27 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Once again, I'm incorrect. I have now removed every piece of code from the server and I'm still experiencing the same issues. It turns out that whenever I do a query for ANYTHING in the SQLite database it locks up. Even dropping empty tables cause a 2+ minute freeze on the serverside.
Reply With Quote
  #6  
Old 03-15-2013, 03:05 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Did you try deleting your SQLite db file?
__________________
Quote:
Reply With Quote
  #7  
Old 03-15-2013, 04:34 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by fowlplay4 View Post
Did you try deleting your SQLite db file?
No, it seems it only occurs when writing to the database but not requesting data from it. Also I feel like just deleting the databse isn't a very good resolution to the issue. It's just not practical if you have a live server not that it is a live classic server but I'd prefer to know whats causing it so I can take preventive measures to keep it from happening again. As a last resort I will delete the database but I just don't see it being practical.
Reply With Quote
  #8  
Old 03-15-2013, 04:52 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Well make a backup of the database but starting from a fresh one should at least help you narrow down where the issue is.
__________________
Quote:
Reply With Quote
  #9  
Old 03-15-2013, 11:11 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
There were some network problems which we are working on.
Reply With Quote
  #10  
Old 03-16-2013, 07:08 PM
DazJenova DazJenova is offline
Ex Manager of Era
DazJenova's Avatar
Join Date: Feb 2006
Location: Newcastle, England
Posts: 245
DazJenova is an unknown quantity at this point
Send a message via AIM to DazJenova Send a message via MSN to DazJenova
Quote:
Originally Posted by Stefan View Post
There were some network problems which we are working on.
Also on RC on Era constantly getting disconnected now as well as a message spamming my RC saying "You don't have admin rights", so frustrating when scripting as I've got to exit RC.
__________________
Era Development Manager
Reply With Quote
  #11  
Old 03-16-2013, 08:57 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by Stefan View Post
There were some network problems which we are working on.
Were they effecting just writing to a SQLite database?
Reply With Quote
  #12  
Old 03-16-2013, 11:28 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by DazJenova View Post
Also on RC on Era constantly getting disconnected now as well as a message spamming my RC saying "You don't have admin rights", so frustrating when scripting as I've got to exit RC.
i remember that happening when i put in my email as account i think, try to enter your actual account or vice versa
__________________
MEEP!
Reply With Quote
  #13  
Old 03-17-2013, 12:00 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by callimuc View Post
i remember that happening when i put in my email as account i think, try to enter your actual account or vice versa
I don't think old accounts can even log in using their mail.
Reply With Quote
  #14  
Old 03-17-2013, 01:17 AM
shrimps shrimps is offline
Butterscotch Pudding
shrimps's Avatar
Join Date: Aug 2005
Location: Red Bank, Tennessee
Posts: 1,127
shrimps is a splendid one to beholdshrimps is a splendid one to beholdshrimps is a splendid one to beholdshrimps is a splendid one to behold
Quote:
Originally Posted by Crow View Post
I don't think old accounts can even log in using their mail.
It lets me log in via shrimps or my email, but I don't like that as it shows my email in history window. =/
Reply With Quote
  #15  
Old 03-17-2013, 01:35 AM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Ok these network problems need to be fixed ASAP, I get DC'd every 10 mins, my IP gets reset to the server IP, my rights get wiped, I get the "You have no admin rights" spam... what's going on D;
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #16  
Old 03-20-2013, 12:12 AM
SyIvia SyIvia is offline
Registered User
Join Date: Jul 2012
Location: Korea
Posts: 4
SyIvia will become famous soon enough
*3 days later* LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAG

oh well hopefully it will be fixed soon or is this a good excuse to make people move to igraal
Reply With Quote
  #17  
Old 03-20-2013, 01:02 AM
shrimps shrimps is offline
Butterscotch Pudding
shrimps's Avatar
Join Date: Aug 2005
Location: Red Bank, Tennessee
Posts: 1,127
shrimps is a splendid one to beholdshrimps is a splendid one to beholdshrimps is a splendid one to beholdshrimps is a splendid one to behold
Never going to Iservers. o.o Kind of hard with no Idevices and just no.
Reply With Quote
  #18  
Old 03-20-2013, 02:44 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
idk change servers hosting lol thought how much cash flow there making they could afford there own servers to host it off of
__________________
Graal Developer
Reply With Quote
  #19  
Old 03-20-2013, 05:38 PM
xXKajalXx xXKajalXx is offline
Registered User
Join Date: Jan 2004
Location: ----
Posts: 133
xXKajalXx will become famous soon enough
Send a message via AIM to xXKajalXx Send a message via Yahoo to xXKajalXx
Is graal down right now? there are some really bad lags and server issues going on
__________________
----
Reply With Quote
  #20  
Old 04-07-2013, 01:30 PM
GodlyAmbitions GodlyAmbitions is offline
Registered User
Join Date: Jul 2006
Posts: 32
GodlyAmbitions is an unknown quantity at this point
Quote:
Originally Posted by Stefan View Post
There were some network problems which we are working on.
Any status on this after 18 days? people still complaining hardcore, is it sure its a network problem and not a ddos? era seems to get ddosed every night and it hurts zodiac because they share the same host server.
Reply With Quote
  #21  
Old 04-07-2013, 03:43 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I sent him (Stefan) an email last night, he said he would be looking into it today or tomorrow.

These 'lagging' moments have been strictly NPC-Server, while it's lagging we're still able to PM and chat on RC (functions handled by the GServer) though so either the 'hackers' are being more specific with their 'DDoS' or there's another problem altogether.

None the less it's getting very old.

Edit: According to Stefan, Era PC was doing some very intensive **** with objects resulting in almost 3 GB of RAM usage and plenty of timeouts when players aren't around.
__________________
Quote:

Last edited by fowlplay4; 04-07-2013 at 06:35 PM..
Reply With Quote
  #22  
Old 04-07-2013, 09:41 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
I sent him (Stefan) an email last night, he said he would be looking into it today or tomorrow.

These 'lagging' moments have been strictly NPC-Server, while it's lagging we're still able to PM and chat on RC (functions handled by the GServer) though so either the 'hackers' are being more specific with their 'DDoS' or there's another problem altogether.

None the less it's getting very old.

Edit: According to Stefan, Era PC was doing some very intensive **** with objects resulting in almost 3 GB of RAM usage and plenty of timeouts when players aren't around.
3 GB of RAM
lolwat o_o

Maybe if we could have stefan online once in a while and tell us where the problems lie it would help out?
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #23  
Old 04-07-2013, 10:23 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Hey look at that, my NC instantly connects again when I want it too. Used to take 30+ seconds for the past year or so. I blame it entirely on Era.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #24  
Old 04-07-2013, 10:24 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by BlueMelon View Post
Maybe if we could have stefan online once in a while and tell us where the problems lie it would help out?
I think it'd be more realistic for Stefan to set up something to notify him when a specific server is hitting such values. If one server wants to lag itself into the ground whatever, but most servers are sharing with other machines so it's not really fair for other servers.
Reply With Quote
  #25  
Old 04-07-2013, 11:40 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by BlueMelon View Post
Maybe if we could have stefan online once in a while and tell us where the problems lie it would help out?
His email is [email protected]

Important things to check are pretty much anything that creates objects, classes with timeouts, anything with SQL (time your queries and see if some are slow). He said there was a bug in a house script that made classstr insanely huge whatever that means.

If you notice your server using over a GB of RAM (check /stats), savenpcs, npcshutdown, and npcstart again.

Quote:
Originally Posted by DustyPorViva View Post
I think it'd be more realistic for Stefan to set up something to notify him when a specific server is hitting such values. If one server wants to lag itself into the ground whatever, but most servers are sharing with other machines so it's not really fair for other servers.
Definitely considering this feels like it happens too often.
__________________
Quote:
Reply With Quote
  #26  
Old 04-08-2013, 03:09 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
hey i made a post in the forums Tech selection no one even applied to it discussing the lag
http://forums.graalonline.com/forums...hp?t=134268024
__________________
Graal Developer
Reply With Quote
  #27  
Old 04-08-2013, 04:14 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
According to Stefan, Era PC was doing some very intensive **** with objects resulting in almost 3 GB of RAM usage and plenty of timeouts when players aren't around.
This is entirely possible, I found this kind of stuff on Era many times and often suspected it was impacting other servers. Usually it's an easy fix that's caused by something stupid. For example, one time the NPC that spawns trash on the overworld created thousands of NPCs joined to "" since it was using randomstring to decide which class to spawn, and somebody had removed all except one of the trash classes from the list (recall that randomstring (used to?) have a problem with lists with only one item).

The memstats commands Stefan added are very useful in finding these things if you can get the NPC-server responsive for long enough to investigate. I think in every case it ended up with too much memory being used and was seldom a CPU problem (even though that's the first place people usually look since the CPU time listing in stats is a little misleading if you don't understand it fully).

Stefan should really look into a way to limit the amount of memory a single server can use. At the very least, it should be very vocal when exceeding a certain threshold (when I first started on Era, it was usually using 1+ GB, when I left it was closer to 250 MB, at various times I've seen it up to 3+ GB).
__________________
Reply With Quote
  #28  
Old 04-08-2013, 02:20 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Might need to add some more limits yes.
Reply With Quote
  #29  
Old 04-08-2013, 03:34 PM
NicoX NicoX is offline
Kingdoms Management
NicoX's Avatar
Join Date: Mar 2004
Location: Frankfurt/Main, Germany
Posts: 1,933
NicoX will become famous soon enough
Send a message via AIM to NicoX Send a message via MSN to NicoX
Quote:
Originally Posted by Stefan View Post
Might need to add some more limits yes.
Just shut down era
__________________
Yours Sincerely,

-Nico
(GK Management)

Clash: Nico, I'm going to give you an example of good management.
Clash: One of my staff removed my RC and banned me.
Clash: I didn't ban or remove their RC after I got another one to fix me.
Clash: Do you know why?
Björn: Because you IP banned him ?

Stefan logged on.
(npcserver) has reset the attributes of Stefan
*Stefan: ah my client crashed








Reply With Quote
  #30  
Old 04-08-2013, 04:08 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Yes, shutdown the only PC server making him money :x
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #31  
Old 04-08-2013, 04:41 PM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
http://statistics.graal.us/
Era should at least clean up their trash if for nothing other than courtesy of the other 7 servers it shares a host with X_x
If Era is the problem, UN has suffered greatly at Era's inefficiency. I'm not saying UN isn't causing any lag, but I am saying we don't take up 3 GB of ram from infinite loops lol
Reply With Quote
  #32  
Old 04-08-2013, 08:32 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Most servers had some problems in the past though. It's not always easy to fix if you are not an experienced scripter, but we could may be make some guides of how to detect if somethings is taking too much cpu or memory or so.
Reply With Quote
  #33  
Old 04-09-2013, 02:45 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
why not just assign Skyld and Tig to go to classic world servers to check for cpu and fix the scripting issues ??
__________________
Graal Developer
Reply With Quote
  #34  
Old 04-09-2013, 03:04 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Rave_J View Post
why not just assign Skyld and Tig to go to classic world servers to check for cpu and fix the scripting issues ??
Monitors can be set up, why waste peoples time? Also you don't need to be a PWA to check this sort of thing out, Era's staff should be doing it.

Stefan, I'm assuming the output of /memstats is bytes? Can you output megabytes instead and specify the unit?
Reply With Quote
  #35  
Old 04-09-2013, 03:47 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
it happened again.
__________________
Quote:
Reply With Quote
  #36  
Old 04-09-2013, 10:27 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
lets shut era down until they stop being a nuisance
__________________
Reply With Quote
  #37  
Old 04-10-2013, 01:33 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I was about to complain again but then I logged on Era and saw Stefan online so I just am hopeful it will get fixed.
__________________
Quote:
Reply With Quote
  #38  
Old 04-10-2013, 02:17 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok it's not just era. The file system is a little bit under stress. I've deleted around 15 GByte of files which were not needed on Era, some other servers could also check if they really need that many logs. Also it's better to use this.dontsave = true; for temporary npcs to use the file system less often.
A few weeks ago we have also added a new backup system. It's not using a lot of CPU time but we can optimize it a little bit, we don't really need to backup the log files. So if we modify this it can possibly also speed it up a little bit.
Reply With Quote
  #39  
Old 04-10-2013, 07:52 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I didn't notice this before but when the (npcserver) is restarted the synchronous option in SQLite is set back to FULL for all the DBs which can result in a drastic performance drop when doing many inserts.
__________________
Quote:
Reply With Quote
  #40  
Old 04-10-2013, 02:45 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes you should add an NPC with onInitialized() which is turning it off.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.