Raised This Month: $51 Target: $400
 12% 

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Crude Oil
New Member
Join Date: Apr 2010
Old 04-05-2010 , 14:30   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2061

My server has been having problems crashing, and I think the issue lies with sourcebans.

The issue seems to be a memory leak, this is taken from sourcemod_fatal.log

These are from two different times, both of them correspond to two server crashes not half a minute later. The server doesn't restart automatically either.

Quote:
L 04/05/2010 - 01:08:25: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "sourcebans.smx")
L 04/05/2010 - 01:08:25: [SM] Unloading plugin to free 16159 handles.
L 04/05/2010 - 01:08:25: [SM] Contact the author(s) of this plugin to correct this error.
Quote:
L 04/05/2010 - 07:47:11: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "sourcebans.smx")
L 04/05/2010 - 07:47:11: [SM] Unloading plugin to free 16159 handles.
L 04/05/2010 - 07:47:11: [SM] Contact the author(s) of this plugin to correct this error.

Unloading a plugin on my server crashes it most of the time, I realize this is unrelated to sourcebans but is the eventual cause of the crash.
Of course it's more than undesirable to have a plugin unload, especially as it handles the bans.


I'd appreciate the help, I have to manually restart my server every time this happens.
Crude Oil is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 04-05-2010 , 14:53   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2062

@Crude Oil

Below is the quote of a recent post in the donor access section. I realize it doesn't provide you with a fix, but I run Sourcebans on seven different servers and don't have the problem you describe.
Quote:
Originally Posted by BAILOPAN View Post
MEMORY LEAK is not the correct term in that message - I will fix that. It's a Handle leak. SourceMod's handle table is limited to a certain (small) number of entries. If a plugin forgets to close a handle, the table will fill up.

It's really difficult to tell how much memory an individual handle is using. Sometimes impossible.
SuperShadow is offline
Crude Oil
New Member
Join Date: Apr 2010
Old 04-05-2010 , 14:57   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2063

Alright, thank you.

I'll do another troubleshooting session re-enabling plugins other than sourcebans one by one.
Crude Oil is offline
Eccentric Warmonger
Member
Join Date: Mar 2010
Old 04-12-2010 , 21:39   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2064

I need some help. I have sourcebans running on my game server (xfactorservers.com) and my website (sitegournd.com). My site is: http://www.bans.eccentricgamers.org

Here is the problem.
I have admin powers (but I also have root), but the admins I add into sourcebans do not get admin rights when they enter the game. I do both commands: sm_rehash and sb_reload. But, nothing happens.


Back story:

The website portion works as far as I can tell. My game server shows up and it displays all the info from the server. I can go into the "server manager" web panel part and use rcon and I can talk to a player on the server. They can see me and I can even kick them from the sourcebans panel.

When I add a new admin in the web panel, I get this:


When I check the admin.cfg file, the info is there. I restart the server and then log-on and do a rcon_password [password]. It logs into the server, then I do an sm_rehash. On the game server side there are no errors, but when I try to do this from the sourcebans server web panel, I get the following errors:

-> rcon sm_rehash
Socket connection failed (WSAEADDRNOTAVAIL)
Unable to connect to remote server (0.0.0.0:0)

Sometimes I get this error:
-> sm_rehash
L 04/12/2010 - 21:07:24: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 04/12/2010 - 21:07:24: [admin-flatfile.smx] (line 16) Invalid flag detected: ,
L 04/12/2010 - 21:07:24: [admin-flatfile.smx] (line 16) Invalid flag detected: ,
L 04/12/2010 - 21:07:24: [admin-flatfile.smx] (line 16) Invalid flag detected: ,
L 04/12/2010 - 21:07:24: [admin-flatfile.smx] (line 16) Invalid flag detected: ,

So here are my questions:
  1. Does anyone know how to fix these errors?
  2. Can anyone give me help? I would be more than willing to give more info (no passwords though :-)
  3. Any idea why I have admin, but others do not? Do I have to allowed each of my admins the ability to use rcon?
Thanks much guys.
Eccentric Warmonger is offline
Eccentric Warmonger
Member
Join Date: Mar 2010
Old 04-12-2010 , 22:03   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2065

Nevermind. Found the problem.
Eccentric Warmonger is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 04-12-2010 , 22:07   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2066

Which was....?
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Roadwolf
Member
Join Date: Jul 2009
Old 04-13-2010 , 20:04   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2067

Sorry if this has been posted before, but I am curious if the following 2 situations are normal.

a. The web interface looks half done, no themes appear to be working, only some icons are working, others are just links? The install pages seemed fine, but after deleting the install directory and the update directory as advised, the themes dont seem to be working.

b. In the sourcemod admin menu on the server, I no longer have the option to ban someone. Is there another in game command to quickly ban someone, or must you do it in console / web interface?

I am running the latest version of Sourcebans 1.4.6, and Sourcemod 1.3.1

Otherwise everything seems to have connected properly, and I can view my servers in the web interface...
Roadwolf is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 04-14-2010 , 11:28   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2068

Quote:
Originally Posted by Lebson506th View Post
Which was....?
Double posted.. Original

@ Roadwolf:
a. Check the permissions to the /themes folder. Did you set your /themes_c folder to chmod 777? Are you able to open the /themes/default/css/css.php file in your browser?

b. FAQ
__________________
Peace-Maker is offline
Roadwolf
Member
Join Date: Jul 2009
Old 04-14-2010 , 13:08   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2069

http://www.fastlanecrew.com/manager/themes_c/ is it correct for all those files to have odd characters in their names?

Theme is still not working, themes and themes_c are both 777 as are all the files and folders under them.
Roadwolf is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-14-2010 , 15:18   Re: SourceBans 1.4.6 (Updated 12/23/09)
#2070

Your server is incorrectly redirecting http://www.fastlanecrew.com/manager/...lt/css/css.php to http://www.fastlanecrew.com/manager/...t/css/css.php/. This is a server setting, not a SourceBans issue.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Closed 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 -4. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode