Jump to content
  • 0

SourceBans HTML Error


S. Larson 1st MRB

Question

Name: S. Larson

Rank: 1stSgt.

 

Type of issue: HTML Error

Brief Description of Issue: So for the past couple of weeks when I've been getting on Sourcebans, an HTML error pops up and it seems to be isolated to the Dashboard page. Not sure what is causing it, but I figured I'd ask here. It's not like it's impeding anything, it's just annoying... Here's a picture of the error:

425dd1374d9e322bb735d688ed324c62.png

 

***Medical Supply Staff ONLY Below this line***

Current Status:

Researching Pending Reply Resolved Unresolved

Main Technician:

Supporting Technician:

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

I've allocated 512MB and it still seems to error.... I don't want to allocate more than the server allows and irrevocably break something.  Programming-wise allocating more memory than we have will cause a memory leak and potentially crash the server.  I'll do some research as to what the server capabilities are and give it the max.

 

If that still doesn't work, we might need find a different fix.

 

For now, I've defaulted the homepage to the banlist, the dashboard is the only page that seems to throw an error.

Link to comment
Share on other sites

  • 0

Here's the error: 

[Sat May 13 06:35:14.547959 2017] [:error] [pid 791318] (12)Cannot allocate memory: [client 73.98.221.127:62056] couldn't create child process: /usr/sbin/suphp for /home/a753129/public_html/index.php, referer: http://1stmarineraiderbattalion.clanservers.com/index.php?p=home

Something is using a lot of memory in index.php to create the homepage/dashboard.  You can click the OK button on the error a few times (at least 6 for me) to get it to go away and continue using Sourcebans as a workaround for now.

 

I'll see if I can allocate more memory.

Link to comment
Share on other sites

  • 0

I don't think it's a volume issue.  If it were, we would see the error on the banlist page (where all the data is queried and displayed).  It is possible that the fix I implemented to speed up the database seek is causing severe memory draw... but it still doesn't make sense that we see the error on the dashboard (a snapshot of everything) and not on the actual banlist.

 

Also, the page is supposed to be returning a 500 error, which means the server (or at least the sourcebans api) is trying to say "Nope, not gonna load" but loads anyways... I've always seen the server info load last, I wonder if that means that there's an issue with the communication between the game server and sourcebans?

Link to comment
Share on other sites

  • 0

Yeah, the dashboard is still having issues.  Changing the homepage to the banlist is the workaround I did initially, since we don't see that error anywhere but the dashboard.

 

I'll try to allocate more memory later this week (maybe tonight, depending) and see if it still throws a 500 error.

 

Next step will probably be re-installing sourcebans (with a backup of the bans, then without).  Worst case, it might be time for a new program.  Sourcebans hasn't been updated since 2014, there is a new iteration of Sourcebans called Sourcebans++ which seems to have active support (last updated May 5th).  If anyone in the CS wants to look into installing it (or if you want me to look into it :P), just let me know.

Link to comment
Share on other sites

  • 0

Welp, I've allocated 2GB of memory with the SB Config and we're still seeing the error.  I'll see if there is a way to restart the server safely, I'm not sure how often they refresh.  

 

If that doesn't work, there's either something up with sourcebans itself and we need to try re-installing, or the config doesn't actually allocate the memory to what we need it to.

 

Back to researching.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Recent Posts

    • Name: TRT user   Steam I.D: STEAM_0:0:139065980   Duration of Ban: Permanent   Reasons for the Ban: Aimbot   Demo Provided?: Y   Comments: trtuser.dem
    • 2nd Platoon Weekly Attendance   Week of 21APR2024   P = Present | E = Excused | A = Absent   Platoon Staff WO. A. Pitteway - Excused MSgt. J Candy - Present TSgt. A, Yoder - Present   1st Squad Squad leader:  Cpl. R. Fielding - Excused Cpl. B. Grande - Present Pfc. R. Smith - Excused Pfc. W. Swift - Excused* Resigned Pfc. X. Hocker - Excused Pvt. B. Niles - Absent III Pvt. M. Noel - Excused   2nd Squad Squad leader:  Cpl. C. Dilley - Excused Cpl. H. Nielsen - Present Cpl. S. Holquist - Excused Pfc. R. Mcspadden - Absent III Pfc. T. Scary - Present Pfc. C. Marsh - Present Pvt. K. Bradley - Absent II   Reserves: Pvt. T. Mongillo - Excused   Helpers: Pfc. J. Lindsay, Pfc. Z. Duckers, Ret. A. Ucar   Attendance Policy    1. Each Week you must submit a TDR through Perscomm on the website before practice starts     2. If you do not submit a TDR you will get an Unexcused absence    3. Three (3) Unexcused absences in a row you receive an Infraction Report with a possible demerit with Command Staff approval.    4. Five (5) Unexcused absences in a row will result in being moved from Active duty to Reserves   If you need any assistance learning how to fill out a TDR contact your Squad Leader or your Platoon Sergeant.
    • Name: u1dm   Steam I.D: STEAM_0:0:585704837   Duration of Ban: Permanent   Reasons for the Ban: No recoil hack   Demo Provided?:  Y   Additional comments: When I came to make another demo of my own, he froze in spawn for about 20 seconds, and then just started mowing down teammates in spawn. You can see with the demo provided that there is clearly no recoil on the STG udm1 (2).dem
    • Thank you for bringing this to our attention, player has been permanently banned.
    • Name: Avarija Steam I.D:  [U:1:375578978]  Reasons for the Ban: rasicm Recommended duration of ban: Perm Demo Provided?: Y
×
×
  • Create New...