Jump to content

Question

Posted

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:

13 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

What if we export the ban list to cut the total data in the form of comments? Then import the raw data for bans in sans comments and leave a copy of the export on the forum?

 

If it is a volume of data issue then this should at least buy us time.

  • 0
Posted

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?

  • 0
Posted

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.

  • 0
Posted

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.

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

    • Cannon: I used probability to shoot you in that bush Candy. Candy: What is that "Bush Probability Focus?" Ucar: "Bush probability Focus?" Thats what I call sex. Everyone laughs.  
    • Welcome to the 1st Marine Raider Battalion! Now that you have been accepted don't forget to: 1. Check in at the Recruit Depot 2. Read the Marine Raider Handbook (you are expected to know everything in it) 3. Change your steam friends Avatar 4. Download, install and log into Discord NOTE: Please be aware that you will not have access to the above links until an officer has given you full access to the forum. Access to the forum should be given to you within the next day.
    • MARINE CORPS ENLISTMENT OFFICE Camp Pendleton, CA   RECRUITMENT LETTER     Hello F. Flobbs   Thank you for taking interest in joining the 1st Marine Raider Battalion. There are a few things you should know before I give you a date for Basic Combat Training (BCT). Firstly, you are restricted to the weapon class of Rifleman for the duration of your time as a Recruit. Secondly, any questions you have about our unit, alternate times for your BCT, or just rules in general, you should contact your drill instructors GySgt. R. Fielding, 1stSgt. J. Candy, CWO. A. Pitteway, and 2ndLt. R. Martinez.    BCT will be Held on a day communicated to you by a member of the Drill Instructor team.   Do not hesitate to reach out to our Drill Instructors for additional information. They can be reached through the Forum Private Messaging System most reliably (click the envelope next to their name above).   Upon stating that you understand all the information here, an admin will change your forum name and login to be:   Flobbs 1st MRB   Take the time now to change your Steam and in-game name to:   Rec. F. Flobbs [1st MRB]   Please make sure to verify your forum account by checking your email. Also, please respond below with a reply showing that you have read and understand these rules and restrictions set. You cannot be fully accepted until you do so. We have a limit on the time to reply, if you do not do so within 48 hours, your application will be denied. Once you reply, you will be approved for your BCT unless otherwise posted.  
    • 1. Name you wish to use and Age:, (Our unit uses realistic names, this does not have to be your real name) Flobbs 2. Platform Type, Steam 3. Steam ID (Use 17 Digit SteamID 64 / PC Game Pass Account Username):, 76561198031905030 4. Do you have a microphone?, Yes 5. Which game title are you applying for?, Day of Defeat: Source 6. If you've selected Hell Let Loose, do you understand that this game is currently not cross platform capable and only PC players currently may apply? ( Steam or PC Game Pass), Yes 7. Why do you wish to join the 1st Marine Raiders?, Fielding is making me. no, known everyone for a while 8. Did any of our current members play a part in you enlisting? If so, who? If none, how did you learn about us:, lots, but I suppose Fielding 9. This unit offers more than just a place to play games with each other, do you have any online skills you think would be useful?, several. Ran a large 300 person DOD group back in my days. Ran a few for other games, Ran one for HLL. Developed software, plugins, websites, .... just ask 10. Do you have any Leadership experience that you think will be helpful?, yes 11. Have you ever been in a realism unit before, and if so, which unit was it?, no 12. By posting this Enlistment form, I acknowledge the instructions completely, declare that I am 16 years old or older, and agree that I have and will follow server and unit rules maturely and respectfully or face immediate rejection., Yes Submission stats UserId: 112220260907614208 Username: flobbs User: @Flobbs™ Duration: 363s Joined guild 3 years ago
×
×
  • Create New...