В Пнд, 28/09/2009 в 13:11 +0200, Martijn van Oosterhout пишет:
> On Mon, Sep 28, 2009 at 02:33:36PM +0400, Vasiliy G Tolstov wrote:
> > Hello!
> >
> > I'm using postgresql (8.0.15) on Gentoo Linux (2.6.27.29-titan #2 SMP
> > Sun Aug 16 15:12:53 MSD 2009 x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
> > GenuineIntel GNU/Linux)
> >
> > some time (meybe every four day) postgresql get error to all clients
> > what try to connect , a can attach strace to it:
>
> 1. What error?
> 2. What do the logfiles say?
>
> Have a nice day,
postgres@calipso ~ $ psql
psql: FATAL: semctl(1048608, 15, SETVAL, 0) failed: Invalid argument
I can't see errors in log-files.
Daemon was started by gentoo init script:
start() {
checkconfig || return 1
ebegin "Starting PostgreSQL"
if [ -f "$PGDATA/postmaster.pid" ] ; then
rm -f "$PGDATA/postmaster.pid"
fi
start-stop-daemon --start \
--pidfile "${PGDATA}/postmaster.pid" \
--chuid ${PGUSER}:${PGGROUP} \
--exec /usr/bin/postmaster \
-- \
-D "${PGDATA}" \
--silent-mode=true \
${PGOPTS}
eend $?
}
--
Vasiliy G Tolstov <v.tolstov@selfip.ru>
Selfip.Ru