-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
perl -d -Ilib -Ilocal/lib/perl5 -It/lib t/module/db/postgres_rls.t
2025-07-05 17:52:56.843 EDT [15333] FATAL: could not create shared memory segment: No space left on device
2025-07-05 17:52:56.843 EDT [15333] DETAIL: Failed system call was shmget(key=37438435, size=56, 03600).
2025-07-05 17:52:56.843 EDT [15333] HINT: This error does *not* mean that you have run out of disk space. It occurs either if all available shared memory IDs have been taken, in which case you need to raise the SHMMNI parameter in your kernel, or because the system's overall limit for shared memory has been reached.
The PostgreSQL documentation contains more information about shared memory configuration.
child process exited with exit code 1
initdb: removing data directory "/var/folders/0c/4gm1slrx1_xf507cswm6ykmw0000gn/T/pgtest.JbXo6/data"
pg_ctl: database system initialization failed
Failed to start postgres after trying 10 potential ports: Failed to open /var/folders/0c/4gm1slrx1_xf507cswm6ykmw0000gn/T/pgtest.JbXo6/data/postmaster.pid: No such file or directory at local/lib/perl5/Test/PostgreSQL.pm line 484.
ipcs -m
IPC status from <running system> as of Sat Jul 5 17:57:18 EDT 2025
T ID KEY MODE OWNER GROUP
Shared Memory:
m 65536 0x510f0355 --rw------- ek-mac staff
m 327681 0x023a0ad2 --rw------- ek-mac staff
m 327682 0x023a2872 --rw------- ek-mac staff
m 983043 0x023a39c7 --rw------- ek-mac staff
m 327684 0x023a3f21 --rw------- ek-mac staff
m 327685 0x023a496f --rw------- ek-mac staff
....
ChatGPT says that this could be issue of this module: it does not cleanup properly. Because I run my test under debugger I often CTRL+C. Could be there a way to cleanup everything properly?
Metadata
Metadata
Assignees
Labels
No labels