Nginx memory usage

There are two nginx processes on my opal router using 20% of the memory. After the router is configured correctly, can I shut down the nginx service ? Or they are necessary ?

Nginx is used to run the GL GUI. IDK how much RAM is in the Opal but Nginx takes ~34 MB on my Slate AX (404MB RAM) running v4.6.8-release1:

/etc/init.d/nginx {stop, start} && /etc/init.d/gl-ngx-session {stop, start} should be safe enough. Just reboot if anything seems out of sorts before committing to fully disable.

2 Likes

Thanks. I agree with you that being a single user system, nginx could be overikill, I have only 128MB on the opal. These are my top processes sorted by memory;

4171  4071 root     S    12136  10%   0% nginx: worker process
4173  4071 root     S    11460  10%   0% nginx: worker process
5005     1 root     S     8684   7%   0% /usr/bin/lua /usr/bin/gl_clients_update
4071     1 root     S     7848   7%   0% nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf -g daemon off;
2846     1 root     S     5628   5%   0% /usr/sbin/wpa_supplicant -B -s -P /var/run/wpa_supplicant-sta0.pid -D nl80211
4438     1 root     S     5248   4%   0% /usr/bin/sms_manager
790     1 root     S     4964   4%   0% eco /usr/sbin/gl-ngx-session
4506     1 root     S     4780   4%   0% /usr/sbin/usbmuxd disable
2977     1 root     S     4464   4%   0% /usr/sbin/uhttpd -f -h /www -r GL-SFT1200 -x /cgi-bin -t 60 -T 30 -k 20 -A 1 -
1082     1 root     S     4116   3%   0% /usr/bin/eco /usr/sbin/gl-repeater

I f you sum the entries, il will reach maybe 50%. Also the uhttpd is running along with ngnix.

128MB, huh? So that matches my Certa. I'll probably end up doing the same in shutting it down. You could always add an alias or two to ~/.profile to save some keystrokes if/when you need to bring it up/down after logging in.

Related: you should bookmark this thread if not the repos within:

Have a good one.

1 Like