# オンライン再構築後、tests-passed Productionで502 Bad Gatewayが発生しました

**URL:** <https://meta.discourse.org/t/502-bad-gateway-after-online-rebuild-of-tests-passed-production-just-now/288705>\
**Category:** Self-hosting\
**Created:** [2023 年 12 月 14 日午後 5:11 UTC](https://meta.discourse.org/t/502-bad-gateway-after-online-rebuild-of-tests-passed-production-just-now/288705 "2023-12-14T17:11:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2023 年 12 月 14 日午後 5:26 UTC](https://meta.discourse.org/t/502-bad-gateway-after-online-rebuild-of-tests-passed-production-just-now/288705/3 "2023-12-14T17:26:07Z")

</div>

```plaintext
/var/www/discourse/log# sv status redis
run: redis: (pid 565) 1430s; run: log: (pid 560) 1430s

```

```plaintext
/var/www/discourse/log# sv down redis
/var/www/discourse/log# sv up redis
/var/www/discourse/log# tail /var/log/redis/current
4766:M 14 Dec 2023 17:26:20.195 * monotonic clock: POSIX clock_gettime
4766:M 14 Dec 2023 17:26:20.195 * Running mode=standalone, port=6379.
4766:M 14 Dec 2023 17:26:20.195 # Server initialized
4766:M 14 Dec 2023 17:26:20.195 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
4766:M 14 Dec 2023 17:26:20.196 * Loading RDB produced by version 7.0.7
4766:M 14 Dec 2023 17:26:20.196 * RDB age 3 seconds
4766:M 14 Dec 2023 17:26:20.196 * RDB memory usage when created 24.56 Mb
4766:M 14 Dec 2023 17:26:20.317 * Done loading RDB, keys loaded: 21165, keys expired: 3.
4766:M 14 Dec 2023 17:26:20.317 * DB loaded from disk: 0.121 seconds
4766:M 14 Dec 2023 17:26:20.317 * Ready to accept connections

```

---

_[View the full topic](https://meta.discourse.org/t/502-bad-gateway-after-online-rebuild-of-tests-passed-production-just-now/288705)._
