MAPC / myschoolcommute

Walk Boston Parent Survey
http://myschoolcommute.org
GNU General Public License v3.0
2 stars 1 forks source link

502 Bad Gateway Error for report request #57

Closed TimReardon closed 10 years ago

TimReardon commented 10 years ago

MassRIDES has reported they are getting a 502 Bad Gateway error when they try to generate a report. i tried on my end and got the same issue.

http://masaferoutessurvey.org/en/boston/ellis-mendell/edit/?start_date=06%2F01%2F2011&end_date=03%2F03%2F2014&submit=Generate+Report

matthewhanson commented 10 years ago

I took a look at this and it looks like it's timing out because there's some two ruby processes running what looks to be scripts associated with regionalindicators. They are sucking up the entire CPU (and it's only a 1 CPU server). saferoutes is getting a WORKER TIMEOUT error, so I strongly suspect it is these other processes running.

matthewhanson commented 10 years ago

I should add this server has 1 CPU and 4 GB with 0 swap space. If it's going to be used for other things it should have 2 CPUs and more 8 GB RAM. Some swap space wouldn't hurt either.

TimReardon commented 10 years ago

Hi Matt C and Susan, can you look at this below (I will also send the preceding email) and make the necessary adjustments to the server so that the school commute scripts can run freely? Thanks T

On Mar 5, 2014, at 3:05 PM, "Matthew Hanson" notifications@github.com<mailto:notifications@github.com> wrote:

I should add this server has 1 CPU and 4 GB with 0 swap space. If it's going to be used for other things it should have 2 CPUs and more 8 GB RAM. Some swap space wouldn't hurt either.

— Reply to this email directly or view it on GitHubhttps://github.com/MAPC/myschoolcommute/issues/57#issuecomment-36786997.


Please be advised that the Massachusetts Secretary of State considers e-mail to be a public record, and therefore subject to the Massachusetts Public Records Law, M.G.L. c. 66 § 10.

TimReardon commented 10 years ago

On Mar 5, 2014, at 3:03 PM, "Matthew Hanson" notifications@github.com<mailto:notifications@github.com> wrote:

I took a look at this and it looks like it's timing out because there's some two ruby processes running what looks to be scripts associated with regionalindicators. They are sucking up the entire CPU (and it's only a 1 CPU server). saferoutes is getting a WORKER TIMEOUT error, so I strongly suspect it is these other processes running.

— Reply to this email directly or view it on GitHubhttps://github.com/MAPC/myschoolcommute/issues/57#issuecomment-36786809.


Please be advised that the Massachusetts Secretary of State considers e-mail to be a public record, and therefore subject to the Massachusetts Public Records Law, M.G.L. c. 66 § 10.

TimReardon commented 10 years ago

Thanks, I killed that process and I see the site now.

For my reference, when did myschoolcommute get moved to AWS? I have it registered as being on Ubuntu 1.

Matt Cloyd, Web Developer Metropolitan Area Planning Council 60 Temple Place, Boston, MA 02111 617-451-2770 x720 mcloyd@mapc.orgmailto:mcloyd@mapc.org mapc.orghttp://mapc.org

[cid:C908EC67-2BA0-41E9-B5F7-3EF6DF115E1B@ad.mapc.org]

On Mar 5, 2014, at 3:16 PM, "Reardon , Tim" TReardon@mapc.org<mailto:TReardon@mapc.org> wrote:

On Mar 5, 2014, at 3:03 PM, "Matthew Hanson" notifications@github.com<mailto:notifications@github.com> wrote:

I took a look at this and it looks like it's timing out because there's some two ruby processes running what looks to be scripts associated with regionalindicators. They are sucking up the entire CPU (and it's only a 1 CPU server). saferoutes is getting a WORKER TIMEOUT error, so I strongly suspect it is these other processes running.

� Reply to this email directly or view it on GitHubhttps://github.com/MAPC/myschoolcommute/issues/57#issuecomment-36786809.


Please be advised that the Massachusetts Secretary of State considers e-mail to be a public record, and therefore subject to the Massachusetts Public Records Law, M.G.L. c. 66 § 10.