Nginx Server "Forbidden Access error" and frozen browser issue

We are hosting an online examination system in a Ubuntu server 14.04 and nginx server. We tested the system with 50 users accessing the system over WiFi network using smartphones, Tab and Laptops. But while accessing the system, some browsers got frozen for longer duration and some got forbidden access error msg but got resolved when pressed refresh. What can be the possible issues?


This comment has been deleted

We have not used VPS. A simple web application hosted in a web server and accessed from an intranet through WiFi.

@gavilan VPS is called droplet at digitalocean.

you should upgrade to 1 gb droplet. but before that, to the following 2 things and check if that solve your issue or not.

  1. add swap How To Add Swap on Ubuntu 14.04

  2. optimize nginx How To Optimize Nginx Configuration

whats a droplet?

What size droplet have you set this up on? Depending on what’s actually handling this system (other than Nginx), if it’s the smallest 512MB droplet, it could easily be choking trying to handle 50 connections at once.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @gavilan,

A virtual server at DigitalOcean is called a Droplet (a drop in the Digital Ocean). Depending on how many concurrent users you intend to have on the server, you may be better suited to increase the size of your virtual machine to increase the RAM.

Before you change the size of the application, could you perhaps describe the application a little more? Is it PHP? or is it just simple HTML? or another language? Did you install a standard application (such as wordpress), or did you write your own? Does it have a database server?