8

When my Server's RAM is full

Comments
  • 5
    That's not much RAM for a server!
  • 4
    @drRoss But enhough. If I shutdown TeamCity I would be just using less than 1Gig
  • 3
    @drRoss
    Says the Windowsguy!
  • 2
    @Linux Nano Server says what? ;)
  • 0
    @Linux @drRoss well the windows guy is right in this case. But i do wonder how bad nginx and the personal project has to be set up to use right under 1g, i have nginx, php7 and a website setup on a test server and when i run siege at 100 concurent it uses less than 100mb
  • 3
    @jckimble the problem with my personal project is, that it is written in Java. Although my preferred language is Java I have no clue about garbage collecting.
    The problem with nginx, php7 and mysql is, that these three services have the most allocated ram and cores. They use much RAM because they should. I can handle more than 1000 requests concurrently on php sites.
  • 1
    @Scrumplex ah got ya. Generally with java if you make sure references arnt used after you're finished with them the gc will get rid of them, you'll need to make sure its using a incremental gc to cut down on 'stop the world' gc. But i never could get it right either thats why i moved away from java myself
  • 1
    @jckimble
    Well, it is because OP PHP code that his RAM is gone.
Add Comment