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

    • Name: Germ-E-Nader [Germinator]   Steam I.D: STEAM_0:0:520043914   Duration of Ban: Permanent   Reasons for the Ban: Racism   Demo Provided?: N   Comments: Started into a political, racist rant in chat. He was warned by Keebler, DapperxDuck, and myself of the consequences of continuing. He didn't listen.
    • This is under deliberation by our MP staff.  We will notify you of a decision when one is made.
    • 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 B. Calypso, Thank you for taking interest in joining the 1st Marine Raider Battalion.   During your trial period the following will occur: Once accepted as a Recruit, you will remain as a Recruit for 2 weeks from the day of your acceptance until the next BCT Class is offered. During your time as a recruit, it is highly encouraged to play within the Public Server and join Discord with our other members. Upon acceptance, you will be contacted by one of our DIs when the next available BCT is scheduled via the appropriate Discord channel.   We have a BCT class every two weeks. Please keep an eye out for when the next one is made available once you've completed your time requirements!   Upon stating that you understand all the information here, an admin will change your forum name and login to be :   Calypso 1st MRB   Take the time now to change your Steam and in-game name to:   Rec. B. Calypso [1st MRB] (Example: Rec. J. Doe [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. 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 trial period unless otherwise posted.  
×
×
  • Create New...