SteamPipe/SteamCMD conversions?

User avatar
Powerlord
New to forums
New to forums
Posts: 13
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Dec 23, 2011 1:27 pm
Location: cp_degrootkeep
Contact:

Re: SteamPipe/SteamCMD conversions?

Post by Powerlord »

I manually resolved the above message by FTPing them from my test server which I had running as a backup.

Having said that, WebSync is correctly copying files from directories under custom, but it is not currently generating bz2 files of the files it copies. I've also filed a bug report about this in my help ticket queue.
Admin, RUGC Midwest
Author of the MapChooser Extended plugin and a bunch of others.
untamed316
Compulsive poster
Compulsive poster
Posts: 60
Joined: Tue Mar 29, 2011 7:42 am

Re: SteamPipe/SteamCMD conversions?

Post by untamed316 »

After you guys performed the conversion for me (tf2 servers on a managed VDS), three of the basic sourcemod plugins are not loading. I'm running version 1.5.0-dev+3834.

Code: Select all

Load Errors:
Basic Commands: Error detected in plugin startup (see error logs)
Basic Votes: Error detected in plugin startup (see error logs)
Nextmap: Mapcycle Not Found
Here is the error log for today.

Code: Select all

L 05/01/2013 - 04:45:24: SourceMod error session started
L 05/01/2013 - 04:45:24: Info (map "ctf_2fort") (file "errors_20130501.log")
L 05/01/2013 - 04:45:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/01/2013 - 04:45:24: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found
L 05/01/2013 - 04:45:24: [SM] Displaying call stack trace for plugin "basecommands.smx":
L 05/01/2013 - 04:45:24: [SM]   [0]  Line 85, /home/builds/sourcemod/linux-1.5/build/plugins/basecommands.sp::OnPluginStart()
L 05/01/2013 - 04:45:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/01/2013 - 04:45:24: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found
L 05/01/2013 - 04:45:24: [SM] Displaying call stack trace for plugin "basevotes.smx":
L 05/01/2013 - 04:45:24: [SM]   [0]  Line 122, /home/builds/sourcemod/linux-1.5/build/plugins/basevotes.sp::OnPluginStart()
L 05/01/2013 - 04:12:32: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 05/01/2013 - 04:12:32: [SM] Plugin encountered error 25: Call was aborted
L 05/01/2013 - 04:12:32: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 05/01/2013 - 04:12:32: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 05/01/2013 - 04:12:32: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.5/build/plugins/nextmap.sp::FindAndSetNextMap()
L 05/01/2013 - 04:12:32: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.5/build/plugins/nextmap.sp::OnConfigsExecuted()
L 05/01/2013 - 09:38:46: SourceMod error session started
L 05/01/2013 - 09:38:46: Info (map "ctf_2fort") (file "errors_20130501.log")
L 05/01/2013 - 09:38:46: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/01/2013 - 09:38:46: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found
L 05/01/2013 - 09:38:46: [SM] Displaying call stack trace for plugin "basecommands.smx":
L 05/01/2013 - 09:38:46: [SM]   [0]  Line 85, /home/builds/sourcemod/linux-1.5/build/plugins/basecommands.sp::OnPluginStart()
L 05/01/2013 - 09:38:46: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/01/2013 - 09:38:46: [SM] Native "SetMenuTitle" reported: Language phrase "Please select a map" not found
L 05/01/2013 - 09:38:46: [SM] Displaying call stack trace for plugin "basevotes.smx":
L 05/01/2013 - 09:38:46: [SM]   [0]  Line 122, /home/builds/sourcemod/linux-1.5/build/plugins/basevotes.sp::OnPluginStart()
L 05/01/2013 - 09:05:52: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 05/01/2013 - 09:05:52: [SM] Plugin encountered error 25: Call was aborted
L 05/01/2013 - 09:05:52: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 05/01/2013 - 09:05:52: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 05/01/2013 - 09:05:52: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.5/build/plugins/nextmap.sp::FindAndSetNextMap()
L 05/01/2013 - 09:05:52: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.5/build/plugins/nextmap.sp::OnConfigsExecuted()
L 05/01/2013 - 17:55:13: Error log file session closed.

Any thoughts? I can try a 1.6 dev version in the meantime.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: SteamPipe/SteamCMD conversions?

Post by Spray »

The new update has moved the default location of mapcycle files to the tf/cfg directory.

Sourcemod still looks for the mapcycle.txt file in the main game directory. Trying making or moving a mapcycle.txt file into the /tf/ folder.
untamed316
Compulsive poster
Compulsive poster
Posts: 60
Joined: Tue Mar 29, 2011 7:42 am

Re: SteamPipe/SteamCMD conversions?

Post by untamed316 »

Thanks, that took care of the nextmap.smx not loading issue.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: SteamPipe/SteamCMD conversions?

Post by Spray »

No problem. If you wish to change the location Sourcemod looks for that file, you can set the following in your server.cfg:

Code: Select all

mapcyclefile "cfg/mapcycle.txt"
untamed316
Compulsive poster
Compulsive poster
Posts: 60
Joined: Tue Mar 29, 2011 7:42 am

Re: SteamPipe/SteamCMD conversions?

Post by untamed316 »

Cool. I use ultimate mapchooser though which works fine so I don't need to touch that default file.

In addition to the two remaining plugins with load issues, I am wondering why the error log says /home/builds/sourcemod/linux-1.5/build/plugins/

I have a Windows Managed Server...so is it possible that the linux version of sourcemod was mistakenly installed by the script?
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: SteamPipe/SteamCMD conversions?

Post by Edge100x »

.smx files are OS-independent. You're seeing an error message referencing a path used when compiling that plugin.

We actually use the same SM install for both Linux and Windows, since the only difference is that one distribution includes .dll files and one includes .so files. Having a unified install means that Sourcemod will continue to work properly if the customer moves it to a different OS.

Powerlord, the webhosting-side components of the Websync system haven't changed because those files still go in the same places. The bz2-compression functionality is part of this system. Are you sure that you're not looking at nearly incompressible files that our system doesn't try to re-compress, such as .wav or .mp3 files?
untamed316
Compulsive poster
Compulsive poster
Posts: 60
Joined: Tue Mar 29, 2011 7:42 am

Re: SteamPipe/SteamCMD conversions?

Post by untamed316 »

Going to the lastest 1.6-dev seems to resolve the basecommands and basevots issue. Working good now.
User avatar
Mycologist
A regular
A regular
Posts: 48
Joined: Thu Jan 28, 2010 2:10 pm
Location: Chilliwack, BC
Contact:

Re: SteamPipe/SteamCMD conversions?

Post by Mycologist »

Since the update our server has had increased jitter/lag issues. Fletcher just posted this in relation to others having this issue (you probably saw)
I was able to get a trace from a Windows server operator that was experiencing a similar problem. The problem in that case was that it was spending all of its time compressing snapshots. The problem was exacerbated by some process affinity settings which were counterproductive and putting all the threads on the same core, while other cores were idle.

Tracking the overall CPU usage can be quite deceiving when investigating "lag". Lower CPU usage is not necessarily better! For example, in this case if the process affinity were not set and more cores were allowed to be used, then the CPU usage on this 4-core system would have gone above 25% for a shorter burst, which would have been preferable to it being pegged at 25% (a single core saturated for a longer period of time).

I think it is a reasonable guess that his problem is similar to the one you guys are seeing. (Of course they could be totally unrelated, so take all this with a grain of salt.) But assuming that they are similar problems, there are two things to investigate. First, did something change that is doing something subtly different with process affinity that it wasn't doing before, or is the process affinity thing totally a config issue with one server? (Or if anybody else is tweaking processor affinities, do you fully understand the implications of it?) When you are looking at the CPU usage, is the process pegging a single CPU, or is it pegging at some round fraction like 1/4 or 1/8? The second thing to investigate is, what is happening at the high level that is causing the snapshot data to be so big? Do network activity spikes correlates with the CPU spikes? If that is the case, then we can use -netspike or other tools that you guys are probably more familiar with than I am to track down what the entity data is that is causing all the busywork.

We have very powerful performance analysis tools we can use on Windows to track these problems down. I only wish more windows server operators users would get setup with them! Please help us help you! It's not that difficult to get set up. Email me directly and I can get you a CD key.
https://support.steampowered.com/kb_art ... -RTXB-2672
Since I can't check any of this, would this be the cause for us? We haven't changed anything, just the Steampipe update rolled out.
Image
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: SteamPipe/SteamCMD conversions?

Post by Edge100x »

Mycologist, yes, I saw that. I haven't heard other complaints from managed customers about decreased performance yet, but if you need for us to look at your server, let us know. The affinity concern would not apply here (we figured that out long ago).

CS:S has known issues that are supposedly fixed in an optional update (we're waiting for Valve to make it required), also mentioned on the list. I'm not sure if these also apply to TF2.
Gumbie
New to forums
New to forums
Posts: 10
Joined: Mon Jul 02, 2012 7:49 pm

Re: SteamPipe/SteamCMD conversions?

Post by Gumbie »

Edge100x wrote:Mycologist, yes, I saw that. I haven't heard other complaints from managed customers about decreased performance yet, but if you need for us to look at your server, let us know. The affinity concern would not apply here (we figured that out long ago).

CS:S has known issues that are supposedly fixed in an optional update (we're waiting for Valve to make it required), also mentioned on the list. I'm not sure if these also apply to TF2.
This started happening to my managed TF2 (Windows) server tonight. Had a full 24 man TF2 server and started getting massive choke and frame drops. At one point the game appeared to be running at 30fps or so for everyone. Pings never changed for any clients connected. I tried to look at the server health page to see what the CPU usage was but by the time I got it pulled up it was only showing around 4%.
Post Reply