안녕하세요,
저는 Discourse를 처음 사용하는 사람인데, 처음 설치하려고 시도했습니다. 첫 번째 시도는 데이터베이스조차 생성되지 않았고, 두 번째 시도(모든 것을 삭제하고 처음부터 다시 시작한 경우)에서는 다시 다음과 같은 오류가 발생합니다:
2022-08-04 18:51:53.698 UTC [41] FATAL: could not map anonymous shared memory: Cannot allocate memory
2022-08-04 18:51:53.698 UTC [41] HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory, swap space, or huge pages. To reduce the request size (currently 1125310464 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections.
그전에 다른 오류가 하나 더 있습니다(관련이 있는지 모르겠습니다):
I, [2022-08-04T18:51:52.606862 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2022/08/04 18:51:52 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
해당 머신은 4GB RAM과 138GB의 여유 공간을 가진 가상 서버입니다(어떤 기술인지 정확히 모르겠습니다).
여기서 적절한 힌트를 찾지 못했습니다. 따라서 수정 방법에 대한 아이디어가 있을까요?
감사합니다.
Roland