ULX

Author Topic: Epic lag!?  (Read 5438 times)

0 Members and 1 Guest are viewing this topic.

Offline Willdy

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
Re: Epic lag!?
« Reply #15 on: August 31, 2011, 03:11:57 PM »
Our lowest rank is at 1 hour. I intend to change this to 5 hours, remake all our groups and clear the users.txt. Adding back Moderators and Admins manually then the auto promote can do the rest.

EDIT: Did this, it went good and is now fixed :)
« Last Edit: September 01, 2011, 07:07:29 AM by Willdy »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Epic lag!?
« Reply #16 on: September 03, 2011, 11:30:47 AM »
I took a look into the lag issues using your users.txt file, and it turns out that I had already implemented most of the optimizations I was talking about, and I wasn't really getting any major horrible lag with it :-\

EDIT: Oh wow, there we go. Yah, that's different lag than I thought it was lol. It looks like it's only triggered when you have the "regular" group (or which ever group has a crap ton of users) selected in the groups tab when someone joins, so you can test it on your server to see if it still happens. I'll start looking into a fix

EDIT2: Wow, that really is horrible, nearly crashed my gmod when forcing an update of the whole users table lol

EDIT3: Okay, I made a bunch of optimizations on this, will be pushing to SVN in a few minutes. It should help out anyone who has this problem in the future!
« Last Edit: September 03, 2011, 03:05:54 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Epic lag!?
« Reply #17 on: September 03, 2011, 05:01:15 PM »
All, though we may have optimized our system, I'd still not recommend promoting hundreds of users just because they spent an hour (or two) on your server. You'll often get too many one time wonders.
5 hours sounds like a decent time.
Me, I'd probably even go a bit higher, but, I'm pretty conservative.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Epic lag!?
« Reply #18 on: September 03, 2011, 07:24:03 PM »
Agreed, there's at least one other thing that I saw in XGUI that didn't work due to having that many users (mostly due to derma limitations-- I'd have to come up with a workaround).

And scratch that "in a few minutes" promise.. having some troubles with commiting to SVN, I'll try to have the update up some time by tomorrow.

EDIT: Okay, now the changes are live!
« Last Edit: September 03, 2011, 08:02:44 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6