Reseting Highest connection count?

These are old archives. They are kept for historic purposes only.
Post Reply
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Reseting Highest connection count?

Post by pete212 »

I was testing the server cpu by connecting clones to my server and now /stats u shows about 300 for highest connection count and i want to
know how to reset that count so i can actually see my real highest connection count from my users?
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

I think you can do that by removing the file ircd.tune and then restarting the server. Of course, if the restart ends up rewriting the tunefile, then you'll have to kill the ircd, then remove the tunefile, and then restart the ircd.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

You can do it with OperServ and RAW:

/operserv RAW SVSLUSERS the.server.name.to.change new_global new_local

That will change the global and local user counts to whatever you enter there.
-- codemastr
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Post by pete212 »

Okay i wont be having services for a while and i wanted to know if there was a way to remove it manually in one of the files? or something else?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Restart the ircd, that resets local counts... I think global counts get saved.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

w00t wrote:Restart the ircd, that resets local counts... I think global counts get saved.
That won't work. The local counts are saved in ircd.tune, you would need to shut down unreal, delete this file, then restart it.
-- codemastr
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I stand corrected.

:)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Ron2K

Post by Ron2K »

w00t wrote:Restart the ircd, that resets local counts... I think global counts get saved.
It's the other way around.

(See also, http://forums.unrealircd.com/viewtopic.php?p=9612)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

You can with mIRC, I've created a few scripts and ended up with (I think it was) somewhere near 500 connections, but it's not the best.

You really need to learn something like perl and off you go... :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply