Thread: change path of /tmp/.s.PGSQL.5432

change path of /tmp/.s.PGSQL.5432

From
AI Rumman
Date:
Is it possible to change the path of the file:
/tmp/.s.PGSQL.5432
 
I am using postgresql 8.1 and / has no space.
 

Re: change path of /tmp/.s.PGSQL.5432

From
Devrim GÜNDÜZ
Date:
On Mon, 2010-02-22 at 12:30 +0600, AI Rumman wrote:
> Is it possible to change the path of the file:
> /tmp/.s.PGSQL.5432

see unix_socket_directory parameter.

> I am using postgresql 8.1 and / has no space.

If it is full even for a socket file, you may have more important issues
than a single socket file.
--
Devrim GÜNDÜZ, RHCE
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

Re: change path of /tmp/.s.PGSQL.5432

From
Nilesh Govindarajan
Date:
On 02/22/2010 12:00 PM, AI Rumman wrote:
> Is it possible to change the path of the file:
> /tmp/.s.PGSQL.5432
> I am using postgresql 8.1 and / has no space.

Somebody already answered your question. But I suggest you inspect /var/log

Logfiles can take large amounts of space if not rotated regularly.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com