# Memory use gradually ramps up after restart

**URL:** <https://meta.discourse.org/t/memory-use-gradually-ramps-up-after-restart/325117>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [September 5, 2024, 2:37pm UTC](https://meta.discourse.org/t/memory-use-gradually-ramps-up-after-restart/325117 "2024-09-05T14:37:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [September 5, 2024, 6:16pm UTC](https://meta.discourse.org/t/memory-use-gradually-ramps-up-after-restart/325117/6 "2024-09-05T18:16:48Z")

</div>

It’s still possible that something is gradually getting bigger.

This is one of my tactics to see what’s going on:

```plaintext
# ps aux|sort -n +5|tail
systemd+ 1659 0.0 1.3 904384 54588 ? S 16:44 0:00 /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
root 830 0.0 1.6 2253324 65208 ? Ssl 16:44 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
systemd+ 1682 0.0 1.9 904516 78092 ? Ss 16:44 0:01 postgres: 13/main: checkpointer 
systemd+ 18757 0.1 2.1 912368 85644 ? Ss 18:06 0:00 postgres: 13/main: discourse discourse [local] idle
1000 1688 0.1 6.5 1006548 256428 ? Sl 16:44 0:10 unicorn master -E production -c config/unicorn.conf.rb
1000 2189 0.1 8.5 5657760 333248 ? Sl 16:45 0:06 unicorn worker[3] -E production -c config/unicorn.conf.rb
1000 2113 0.1 8.5 5656608 334352 ? Sl 16:45 0:07 unicorn worker[2] -E production -c config/unicorn.conf.rb
1000 2044 0.4 8.7 6052196 342380 ? Sl 16:44 0:23 unicorn worker[1] -E production -c config/unicorn.conf.rb
1000 2006 1.7 9.0 5628640 352492 ? Sl 16:44 1:33 unicorn worker[0] -E production -c config/unicorn.conf.rb
1000 1971 3.1 11.1 6033652 435388 ? SNl 16:44 2:54 sidekiq 6.5.12 discourse [0 of 5 busy]

```

(or `ps auxc`)

---

_[View the full topic](https://meta.discourse.org/t/memory-use-gradually-ramps-up-after-restart/325117)._
