Graal Forums  

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

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-02-2013, 06:17 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
Playerworlds Server Lag

I've been getting the occasional spike on Zodiac a lot recently, I've checked our logs and stats and am unable to pinpoint a cause. I suspect someone is up to shenanigans and slowing down the server machine.
__________________
Quote:
Reply With Quote
  #2  
Old 01-02-2013, 06:23 AM
Stephen Stephen is offline
Boom!
Stephen's Avatar
Join Date: May 2004
Location: San Francisco
Posts: 10,410
Stephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud of
Quote:
Originally Posted by fowlplay4 View Post
I've been getting the occasional spike on Zodiac a lot recently, I've checked our logs and stats and am unable to pinpoint a cause. I suspect someone is up to shenanigans and slowing down the server machine.
Does Era share machines with any other playerworlds?
__________________
Reply With Quote
  #3  
Old 01-02-2013, 06:45 AM
Dragon551 Dragon551 is offline
Alfonso :3
Dragon551's Avatar
Join Date: Mar 2006
Location: In a pocket.
Posts: 712
Dragon551 is a splendid one to beholdDragon551 is a splendid one to beholdDragon551 is a splendid one to beholdDragon551 is a splendid one to beholdDragon551 is a splendid one to behold
Send a message via AIM to Dragon551 Send a message via MSN to Dragon551
Quote:
Originally Posted by Stephen View Post
Does Era share machines with any other playerworlds?
Pretty sure Era, UN, Zodiac, Zone, and possibly the Login server are all on the same server.
__________________
-Alfonso (AGT)


---------------------
---------------------
#AGT
Reply With Quote
  #4  
Old 01-02-2013, 09:04 AM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
I've been getting the occasional spike on Zodiac a lot recently, I've checked our logs and stats and am unable to pinpoint a cause. I suspect someone is up to shenanigans and slowing down the server machine.
What kind of shenanigans are we talkin?
__________________
Reply With Quote
  #5  
Old 01-02-2013, 09:11 PM
Stephen Stephen is offline
Boom!
Stephen's Avatar
Join Date: May 2004
Location: San Francisco
Posts: 10,410
Stephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud of
Quote:
Originally Posted by Dragon551 View Post
Pretty sure Era, UN, Zodiac, Zone, and possibly the Login server are all on the same server.
If that's accurate then the lag may be originating from Era...
__________________
Reply With Quote
  #6  
Old 01-02-2013, 10:33 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
I'll check and see what's causing it if it's on Era. We may add you an RC since you're probably a lot better with script efficiency than I am.

Okay, so I've said /stats on RC a couple of times, and I can probably say with this data, that Era is the cause of the lag (I think??)..

Graal Script Code:
Server uptime1299 hrs 13 mins
Max supported players
16382
Sleeptime 
(secs/min): 52386
Connection tries 
(last min): 6
Players
-in (byte/l.m.): 5157586
Players
-out (byte/l.m.): 13932311
RCs
-in (byte/last min): 188
RCs
-out (byte/last min): 373772
NPCServer
-in (byte/l.m.): 4321752
NPCServer
-out (byte/l.m.): 6190981
ServerList
-in (byte/l.m.): 4091
ServerList
-out (byte/l.m.): 38378
Player
-avrg-in (bit/sec): 8674
Player
-avrg-out (bit/sec): 18241
TSockets
-in (byte/l.m.): 51088
TSockets
-out (byte/l.m.): 318514
Levels
268
Players
73
RCs
10
NPCServers
1
ServerListers
1
Memory 
(bytes): 29885912
Players connecting
0
Script engine
0 event objects69 destroyed objectsstatic objectsglobal variables3 script machines
NPC
-Server statistics:
Server uptime1299 hrs 13 mins
Sleeptime 
(secs/min): 49056
Scriptime 
(last min): 58700
Connectiontries 
(last min): 0
NCs
-in (byte/last min): 16
NCs
-out (byte/last min): 0
GServer
-in (byte/l.m.): 6167843
GServer
-out (byte/l.m.): 4322143
TSockets
-in (byte/l.m.): 0
TSockets
-out (byte/l.m.): 0
Levels
3092
Active Levels
375
NPCs
15058
Active Objects
2169
DB
-NPCs9401
NPC
-Placeholder4002
Projectiles
19
Players
83
NC count
5
GServers
1
Memory 
(bytes): 397242528
Top 10 of npcs taken most CPU time
:
1. 1.429794232 % -KillStreaks (func_numbers)
2. 0.951229333 GangSys/Bonus (func_numbers)
3. 0.710798501 TopKills (in level control.nw at pos (30.530)) (func_time)
4. 0.693522294 PlayerControl (in level control.nw at pos (30.530))
5. 0.406092802 % -Minimap (func_tween,func_easing)
6. 0.348140001 DB_AmmoMart (in level era_ammomartrestock.nw at pos (2826.5))
7. 0.328036149 % -BulletSystem (hpfunctions)
8. 0.321574211 Control-NPC (tradefunctions,hpfunctions,partyfunctions,mail_functions)
9. 0.30520002 DB_PyroTech (in level era_pyrotechxinside06.nw at pos (2717))
10. 0.267698764 LagBot (in level control.nw at pos (30.530))
Most used classes:
1. bounds2848 times
2. housefunctions
1627 times
3. house_object
999 times
4. christmaspresent
989 times
5. xmaslights
974 times
6. block
954 times
7. tree
844 times
8. func_sql
708 times
9. func_time
687 times
10. trash
673 times
Script engine
3 event objects2510 destroyed objects255 static objects10724 global variables7 script machines 
Notice the 5-6% jump
EDIT: I've checked stats a couple more times, these results don't seem to appear again..
Graal Script Code:
GServer statistics:
Server uptime1299 hrs 14 mins
Max supported players
16382
Sleeptime 
(secs/min): 34055
Connection tries 
(last min): 6
Players
-in (byte/l.m.): 4424975
Players
-out (byte/l.m.): 8194827
RCs
-in (byte/last min): 95
RCs
-out (byte/last min): 192430
NPCServer
-in (byte/l.m.): 2910074
NPCServer
-out (byte/l.m.): 5256280
ServerList
-in (byte/l.m.): 3979
ServerList
-out (byte/l.m.): 18004
Player
-avrg-in (bit/sec): 8674
Player
-avrg-out (bit/sec): 18242
TSockets
-in (byte/l.m.): 55681
TSockets
-out (byte/l.m.): 146919
Levels
251
Players
71
RCs
10
NPCServers
1
ServerListers
1
Memory 
(bytes): 29665792
Players connecting
0
Script engine
0 event objects72 destroyed objectsstatic objectsglobal variables3 script machines
NPC
-Server statistics:
Server uptime1299 hrs 14 mins
Sleeptime 
(secs/min): 37968
Scriptime 
(last min): 45300
Connectiontries 
(last min): 1
NCs
-in (byte/last min): 57
NCs
-out (byte/last min): 12359
GServer
-in (byte/l.m.): 4807242
GServer
-out (byte/l.m.): 2970851
TSockets
-in (byte/l.m.): 0
TSockets
-out (byte/l.m.): 0
Levels
3094
Active Levels
373
NPCs
14899
Active Objects
2156
DB
-NPCs9392
NPC
-Placeholder3866
Projectiles
13
Players
81
NC count
5
GServers
1
Memory 
(bytes): 399990016
Top 10 of npcs taken most CPU time
:
1. 6.772886514 Account-System
2. 5.362913211 
% -Polling (func_sql,func_time)
3. 5.266596873 npcs[3811] (in level era_present_aa-00.nw at pos (521)) (cloneplayer,func_offlineplayers)
4. 3.863579432 npcs[2154] (in level era_present_01-00.nw at pos (4446)) (cloneplayer,func_offlineplayers)
5. 2.589734792 npcs[4178] (in level era_present_aa-aa.nw at pos (4761)) (cloneplayer,func_offlineplayers)
6. 1.426584323 npcs[3810] (in level era_present_aa-00.nw at pos (420)) (cloneplayer,func_offlineplayers)
7. 1.153976917 % -KillStreaks (func_numbers)
8. 0.921966234 DB_GunRack
9. 0.802496274 
GangSystem (func_sql)
10. 0.788161754 Sales_Event (in level era_sales-test.nw at pos (3232)) (func_sql,func_time)
Most used classes:
1. bounds2848 times
2. housefunctions
1628 times
3. house_object
999 times
4. christmaspresent
989 times
5. xmaslights
974 times
6. block
953 times
7. tree
844 times
8. func_sql
707 times
9. func_time
687 times
10. trash
686 times
Script engine
3 event objects2543 destroyed objects327 static objects10787 global variables7 script machines 
__________________

Last edited by Tim_Rocks; 01-02-2013 at 10:48 PM..
Reply With Quote
  #7  
Old 01-02-2013, 11:31 PM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
Are y'all getting a lot of lag on Era? I know the login server has been acting funny for me lately. Not loading anything when I login every once in awhile.
__________________

Don Hertzfeldt <3
Reply With Quote
  #8  
Old 01-03-2013, 01:21 AM
Bell Bell is offline
Registered User
Bell's Avatar
Join Date: Feb 2007
Posts: 1,824
Bell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud of
With just a quick look at Graal Stats it looks like Zodiac, UN, Era, Zone and Login are all on the same machine. Possibly more but those appear to be the main ones.
__________________
For support contact
http://support.toonslab.com/
Reply With Quote
  #9  
Old 01-03-2013, 10:29 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
I've fixed a wrong use of "new TServerPlayer" on Unholy Nation, this object needs to be destroyed by script. Just call .destroy() on it (real players will not be destroyed).
Reply With Quote
  #10  
Old 01-21-2013, 05:21 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've been receiving complaints about this happening again.
__________________
Quote:
Reply With Quote
  #11  
Old 01-21-2013, 05:43 AM
Stephen Stephen is offline
Boom!
Stephen's Avatar
Join Date: May 2004
Location: San Francisco
Posts: 10,410
Stephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud of
Quote:
Originally Posted by fowlplay4 View Post
I've been receiving complaints about this happening again.
There are huge logs on Era. For some reason -- I'm told because of their file structure -- whenever someone opens the file browser it lags the whole server for several seconds, sometimes a minute.

This may be the root of the whole problem.
__________________
Reply With Quote
  #12  
Old 01-21-2013, 09:30 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 Stephen View Post
There are huge logs on Era. For some reason -- I'm told because of their file structure -- whenever someone opens the file browser it lags the whole server for several seconds, sometimes a minute.
This is usually caused by some staff member giving themselves more folder rights than they need (like */*), or some new scripter who didn't know better making a bunch of new log folders rather than reusing the existing logging infrastructure. The server freezes up when file browser is opened if there are a large number of folders.

I re-did Era's file logging infrastructure a while back to avoid creating too many folders. Make sure nobody has access to logs outside of what they really need (don't give out logs/*/*/* etc. because there are old logs still there that Stefan never cleared despite me asking multiple times, make sure nobody has the accounts folder or levels/accounts/*..., etc).

As Stefan said a while back, Era really does need to cut down on logs (there are typically many gigabytes of logs stored). Unfortunately, he was never willing to actually help us by implementing log rotation or similar.
__________________
Reply With Quote
  #13  
Old 01-21-2013, 03:19 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, it seems to be anyone who has access to logs on Era. I have removed the logs rights from my rights maybe a month ago, my filebrowser loads almost instantly. I have done the same with Zach's rights and a few other people too.

But for the PR's... They kinda need to open filebrowser for log checking.

Does it still lagg with client-rc I wonder?
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #14  
Old 01-21-2013, 03:33 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 19,993
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
Send a message via AIM to Crono
lets remove logs and go back to simpler times on graal (:
__________________
Reply With Quote
  #15  
Old 01-21-2013, 03:54 PM
dbug dbug is offline
Registered User
Join Date: Dec 2005
Posts: 86
dbug will become famous soon enough
time to clear the logs maybe?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 04:41 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.