• Furthermore, one issue I hadn't dealt with was this on server startup:

    Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.

    I increased the limit by running this command:

     ulimit -SHn 65535 

    Then, I edited the /etc/security/limits.conf file to add these lines:

    ubuntu soft nofile 65535
    ubuntu hard nofile 65535
    root soft nofile 65535
    root hard nofile 65535

    Now when I restart Redis, there's no errors:

    Now, time for a well-earned coffee and fingers crossed that's the problem dealt with.

    P.S., getting an invalid refresh token message when trying to upload an image.

  • Ok, so that's not helped. The forum is on the brink of crashing, outputting invalid csrf tokens on /login/

    I took a peek at the memory usage, which has sky rocketed.

    Memory used seems to increase constantly until it crashes by the looks of things. Restarting redis then nodebb is making no difference to the memory used.

    Anyone help?


  • NodeBB

    Can you post top as well?

    What plugins do you have installed/active? It could be a memory leak.

  • GNU/Linux Admin

    A memory leak would be cleared up when the NodeBB process is killed.

    Inspect top, sort of memory, and see what process is gobbling up all that memory? Hopefully it's not NodeBB 😄

  • Doing this on my iPhone so managed to get top, but my power button's a pain to screenshot.

    As for plugins, I disabled blog comments & Twitter (embed tweets) as they were failing, and pushbullet as I wasn't using it anyway - I'll get a full list when home.

    Topping it off, a DNS issue has raised its head so I'll have to see if somethings happened with Apache. I'll jump on it within the hour and see what's what.

  • Okay, here's top ordered by memory.


    I've looked at Apache and there's no changes to the configuration for that - even after a restart (Apache, Redis, NodeBB) the browser's showing nothing, and the server is timing out; perhaps this is just the memory issue?

    I'm about to reset all plugins, so i'll post how that goes soon, and give a list of what was used.

  • On Apache, getting this error:

    AH00549: Failed to resolve server name for xx.xx.xx.xx (check DNS) -- or specify an explicit ServerName

    As I said, no settings have been changed in regards to that.

    Edit - after a hard reset on the Digital Ocean site, the forum reappeared for a second or two, then vanished like a fart in the wind, so Apache/DNS doesn't seem to be the problem. Also, here's the memory usage after that.


    All plugins have been deactivated.

  • NodeBB

    My first reaction, why are there so many apache processes?

  • There's a Wordpress install running on the server too. It's routed to onlyanexcuse.com - while the forum (nodebb) is directed to spflforum.com. It's never caused any issues before. Still, I'm assuming that there's far too many regardless.

  • I've turned Apache off on the server and installed nginx to use that instead. Intended to do that for some time anyway.

    http://www.spflforum.com seems to be working, but i've not yet configured it for the other domain.

    One curious side effect is the font size in Persona has increased?

  • Well, strange font sizes aside, the forum is up and running again, and this looks far healthier. Granted, Wordpress isn't running, but that's a job for tomorrow.

    I guess we'll soon see if Nginx experiences the same issues.


    Plugin list, I couldn't get earlier - activated a few we use.



    Memory use is still increasing incrementally.


  • And this is where we're at today with it. Free -m and top ordered by mem shown.


    (Bear in mind this is using Nginx and not Apache, nor has Nginx yet been configured to point the other domain to the Wordpress install, php5 has also been turned off)

Suggested Topics

  • 4
  • 3
  • 13
  • 1
  • 1
| |