# Nginx memory usage

**URL:** <https://forum.gl-inet.com/t/nginx-memory-usage/63695>\
**Category:** Router\
**Created:** [September 5, 2025, 12:25pm UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695 "2025-09-05T12:25:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![castigli](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/8e7dd6/32.png) [@castigli](https://forum.gl-inet.com/u/castigli)\
**Post date:** [September 5, 2025, 12:25pm UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695/1 "2025-09-05T12:25:12Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![9b9e69c2-4b75-4420](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/9/a587f6/32.png) [@9b9e69c2-4b75-4420](https://forum.gl-inet.com/u/9b9e69c2-4b75-4420)\
**Post date:** [September 5, 2025, 9:11pm UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695/2 "2025-09-05T21:11:31Z")

</div>

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:

> [@uHTTPd still in firmware?](https://forum.gl-inet.com/t/uhttpd-still-in-firmware/55091/5):
>
> I strongly disagree. Nginx should be removed. It's bloat. There's no need for a multi-process, web server capable of c10k requiring over 15x the flash space and 37.4x the RAM when OWRT is a single seat administered, embedded system. -rwxr-xr-x 1 root root 673.6K Oct 17 2024 /usr/sbin/nginx\* -rwxr-xr-x 1 root root 44.4K Oct 17 2024 /usr/sbin/uhttpd\* ps -w | grep nginx | grep -v 'grep' && ps -w | grep uhttpd | grep -v 'grep' 4373 root 7008 S nginx: master proce…

`/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`.

---

<div class="post-metadata">

**Author:** ![castigli](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/8e7dd6/32.png) [@castigli](https://forum.gl-inet.com/u/castigli)\
**Post date:** [September 6, 2025, 12:09am UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695/3 "2025-09-06T00:09:25Z")

</div>

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;

```auto
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.

---

<div class="post-metadata">

**Author:** ![9b9e69c2-4b75-4420](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/9/a587f6/32.png) [@9b9e69c2-4b75-4420](https://forum.gl-inet.com/u/9b9e69c2-4b75-4420)\
**Post date:** [September 6, 2025, 12:15am UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695/4 "2025-09-06T00:15:46Z")

</div>

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:

> [@SiFlower still alive?](https://forum.gl-inet.com/t/siflower-still-alive/63693):
>
> Not specific to GL, but very relevant: I hear gossip that SiFlower has ended operations. I find this claim to be dubious and I have searched everywhere to prove (or disprove) - but found nothing. Maybe someone here can comment …

Have a good one.

---

<div class="post-metadata">

**Author:** ![system](https://forum-static.gl-inet.com/original/3X/7/7/77e28f6cb342ac4bd641bd9a6254595d61b2812a.png) [@system](https://forum.gl-inet.com/u/system)\
**Post date:** [December 5, 2025, 12:16am UTC](https://forum.gl-inet.com/t/nginx-memory-usage/63695/5 "2025-12-05T00:16:30Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
