Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: middleearth on May 22, 2016, 09:28:06 AM
-
Version: ULib v2.60d (05/19/16), ULX v3.70d (03/20/16)
Game mode(s) I am having this problem on: TTT
Lua errors shown in console, if any: None
Details: When a player joins or leaves the server everyone lags with this rubberband effect that pulls you back for half a second. Upon removing ulib and ulx the issue doesn't persist. groups.txt is 10KB, users.txt is 5KB, neither have a ton of groups or users.
-
What are your server's specs? Neither your groups.txt or users.txt file is very large, but the only cause for lag when a player joins that I know is caused by ULX is the lag of reading those files. The only thing I can think of is your server does not have adequate resources.
-
I'm not really certain about the specs but it runs great all the time. This only happens when a player joins or leaves the server.
-
Middleearth, if you shutdown server, then move/rename/backup data/ulib groups and users.txt, and then restart server with a 'fresh' users and groups files, then add only yourself to superadmin using server console/rcon and then have someone else join, does it still happen to you?
This is the first time, in many years, I've seen this issue reported.
Other than a conflicting (with ulib or ulx) addon/gamemode feature, or a corrupt groups or users file in someway (which testing fresh should help test), it sounds like a resource issue as roastchicken suggests.
-
In addition, I don't think the groups/users filesize would be an issue on disconnect -- that was only ever a problem on connect.
Do you have custom ULX commands that are hooking in to connect/disconnect (and doing something naughty)?
-
I used your hooks addon, disabled all 3rd party addons besides ULX and Utime that hook PlayerDisconnected, yet the issue still remains. I have literally tried everything at this point and I can't pinpoint the cause. If anyone is willing to take a closer look at the server and fix the issue I'd be more than happy to compensate for the time spent fixing it.
-
Have you tried removing ULX as well? If it persists even without ULX, it might be something more serious like your server install being corrupt.
I think your best option is to do a clean server install and start adding addons one by one, and then if the problem is fixed then start adding your data (users and groups, etc) back. Either you fix your problem, or you narrow in on what might be causing it.
-
FWIW, he did say at the outset that removing ULib/ULX resolved the issue.
When you say "my hooks addon", do you mean dbugr? Not mine, though I did fork it to update it for some hook changes. Does dbugr provide any insight? You should see a jump somewhere during the lag.... hooks, network, timers... something.
What does client-side netgraph show? drop in server fps? choke? anything weird?
-
FWIW, he did say at the outset that removing ULib/ULX resolved the issue.
Ah, I must've missed that.
-
Middleearth, if you shutdown server, then move/rename/backup data/ulib groups and users.txt, and then restart server with a 'fresh' users and groups files, then add only yourself to superadmin using server console/rcon and then have someone else join, does it still happen to you?
This is the first time, in many years, I've seen this issue reported.
Other than a conflicting (with ulib or ulx) addon/gamemode feature, or a corrupt groups or users file in someway (which testing fresh should help test), it sounds like a resource issue as roastchicken suggests.
Yes, it still happens.
FWIW, he did say at the outset that removing ULib/ULX resolved the issue.
When you say "my hooks addon", do you mean dbugr? Not mine, though I did fork it to update it for some hook changes. Does dbugr provide any insight? You should see a jump somewhere during the lag.... hooks, network, timers... something.
What does client-side netgraph show? drop in server fps? choke? anything weird?
I meant your server hooks info addon. Dbugr was too confusing. I couldn't make sense of the data even after reading the instructions several times.
The client graph shows a jump in choke. Could it possibly be an issue with my config or rates? What rates should I be using?
-
The client graph shows a jump in choke. Could it possibly be an issue with my config or rates? What rates should I be using?
And we're back to square one - we wouldn't know, nor would we even know what to suggest, without knowing about the bandwidth ans server specs of your host, how many players you have, if any, when you experience this. Many other potential lag causing issues in combination that could cause ULib and ULX to seem to be the culprit, when really it's only either pushing over the edge.
What are your server's specs? <clip> The only thing I can think of is your server does not have adequate resources.
-
There is choke even with just two players when the second player connects. The server itself runs fine all the time, this choke only occurs when a player joins or disconnects from the server that's why I believe the server specs are fine.
-
Any time I see choke my first question is, what's sv_minrate/sv_maxrate ?
Not that it doesn't sound like there's another issue, but I'm curious.
-
sv_minrate 99999
sv_maxrate 0
-
There is choke even with just two players when the second player connects. The server itself runs fine all the time, this choke only occurs when a player joins or disconnects from the server that's why I believe the server specs are fine.
The most likely spec to cause this would be read/write speed. Most of the time the server is not reading/writing large amounts of data, however when a player joins it is. Please try to ask your server host about the server's specs. However the lag on disconnect is confusing, no idea what could be causing that.
-
sv_minrate 99999
sv_maxrate 0
Well, depending on your goals, I'd raise sv_minrate, but that's certainly shouldn't be a massive issue at its current level. What does choke top out at when it happens?
(roastchicken -- IO wait would cause server fps lag, not client choke)
-
(roastchicken -- IO wait would cause server fps lag, not client choke)
When a player joins or leaves the server everyone lags with this rubberband effect that pulls you back for half a second.
Maybe he changed the description in later posts, but a rubberbanding effect definitiely sounds like serversided lag.
-
http://i.imgur.com/GzaVSz1.jpg
That little reddish orange spike at the bottom is what I get when it occurs and what I assumed was choke.
-
http://i.imgur.com/GzaVSz1.jpg
That little reddish orange spike at the bottom is what I get when it occurs and what I assumed was choke.
Nope, that's interp versus extrap, which probably indicates framerate lag server-side Can you show us the issue using a full net_graph 4? Can you post the server URL? I'd like to look at some of the cvar settings.
I agree with roastchix -- this is starting to sound like server framerate lag due to IO wait. Can you shell into your server and watch 'top' and/or 'iostat' during the issue?
-
To avoid the risk of making any other assumptions and inadvertently glossing right over the root issue, I ask/suggest the following:
1) Is this a hosted server. If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.
2) I know you've disabled ULX and cleared the user/groups files. This doesn't answer the question of whether or not it's a third party ULX plugin that you've installed that is misbehaving during connect/disconnect. I would move your current ULX / ULib installation off to the side and do a complete, fresh install of ULib/ULX with no changes to stock plugins or configuration. Does the problem remain after restarting?
3) Still not sure what addon hook plugin of mine you were referring to. If it's LagDetector, then yes -- that's not going to be much help. It detects lag, but doesn't pinpoint it. DBugr is one option. Addon Hooks Lag Finder (not mine) at https://facepunch.com/showthread.php?t=1518412 is another. Still another is FProfiler at https://facepunch.com/showthread.php?t=1517058, though this itself is very, very laggy for me.
-
And, to be clear, if I see you say "it runs fine, so I know it's not server specs" one more time, I'm banning you for a length of time I've not yet determined, and locking this thread.
Several members of this community, myself included, have asked you politely to provide the specs to help us help you determine if they might be related, and you've side stepped each time basically sating "it runs fine the rest of the time".
We're not saying absolutely at this point they will be cause, but they darn well could be a contributing factor.
-
Nope, that's interp versus extrap, which probably indicates framerate lag server-side Can you show us the issue using a full net_graph 4? Can you post the server URL? I'd like to look at some of the cvar settings.
I agree with roastchix -- this is starting to sound like server framerate lag due to IO wait. Can you shell into your server and watch 'top' and/or 'iostat' during the issue?
http://i.imgur.com/wlE4Epy.jpg
I will PM you with the server information. I do not have access to shell into the server.
To avoid the risk of making any other assumptions and inadvertently glossing right over the root issue, I ask/suggest the following:
1) Is this a hosted server. If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.
2) I know you've disabled ULX and cleared the user/groups files. This doesn't answer the question of whether or not it's a third party ULX plugin that you've installed that is misbehaving during connect/disconnect. I would move your current ULX / ULib installation off to the side and do a complete, fresh install of ULib/ULX with no changes to stock plugins or configuration. Does the problem remain after restarting?
3) Still not sure what addon hook plugin of mine you were referring to. If it's LagDetector, then yes -- that's not going to be much help. It detects lag, but doesn't pinpoint it. DBugr is one option. Addon Hooks Lag Finder (not mine) at https://facepunch.com/showthread.php?t=1518412 is another. Still another is FProfiler at https://facepunch.com/showthread.php?t=1517058, though this itself is very, very laggy for me.
1. Yes, with NFO servers. I tried lowering the server slots but that did not help. I do not know the specs, I will ask someone that might know and I will get back to you. It's on linux.
2. If I keep all my other addons, and do a fresh install of ulx/ulib the issue remains. If I remove all the other addons, the issue does not remain.
3. http://forums.ulyssesmod.net/index.php/topic,8428
And, to be clear, if I see you say "it runs fine, so I know it's not server specs" one more time, I'm banning you for a length of time I've not yet determined, and locking this thread.
Several members of this community, myself included, have asked you politely to provide the specs to help us help you determine if they might be related, and you've side stepped each time basically sating "it runs fine the rest of the time".
We're not saying absolutely at this point they will be cause, but they darn well could be a contributing factor.
It does run fine at every point but connecting and disconnecting. That's what leads me to believe it's not server specifications related. However I do not know the exact allocated resources and that's why I was unable to provide them.
-
1) Is this a hosted server. If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.
CPU: 6 core Dual Intel Xeon E5-2690
Ram: 6000mb
There is a prophunt and a darkrp running along with it.
-
2. If I keep all my other addons, and do a fresh install of ulx/ulib the issue remains. If I remove all the other addons, the issue does not remain.
Leads me to believe there is a conflicting addon.
I presume you added one or two back at a time when testing, if not, you should.
Which addon did you add that made the issue appear again?