Tag Archives: shell

sysctl

Occasionally my shared memory segment settings in my /etc/rc file aren’t applied correctly during startup and I get the following error when I try to start Postgres: FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=5432001, size=33554432, 03600). HINT: This error usually means that PostgreSQL’s request for a [...]

Converting a UTF-16 file to UTF-8

Lorien recently received a bunch of SVG files encoded in UTF-16 that her Aptana editor didn’t support well. She discovered this because ever time she needed to move to the next character, she needed to arrow right twice. There were a few interesting properties of a UTF-16 file that we discovered by reading  this post: [...]