From: | Ramón Alberto Bruening González <albertobruening(at)hotmail(dot)com> |
---|---|
To: | <alvherre(at)commandprompt(dot)com> |
Cc: | <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | RE: Problemas para Levantar la Base de Datos (SHHMAX) |
Date: | 2010-12-29 02:47:55 |
Message-ID: | SNT137-w16A29F6F9FF1289963CC40A2020@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
gracias a todos por responder, adjunto el menu que tiene el usuario para ejecutar la copia de seguridad
y si me equivoque, en ninguna parte habla de SHMMAX, tiene que ser SHMMNI y es un servidor dedicado solo para base de datos y samba para compartir archivos.
10) echo "Atencion!!! Para realizar la Copia de Seguridad ningun usuario debera estar conectado a la Base de Datos";
echo "Presione [Enter] para continuar...";
read espera;
echo "Deteniendo el Servidor PostgreSQL";
service postgresql stop;
RETVAL=$?;
if [ "$RETVAL" = 0 ]; then
date=$(date +%Y-%m-%d-%H-%M-%S);
tar czf /app/backup/backup-$date.tar.gz /usr/local/pgsql/data -p;
RETVAL=$?;
if [ "$RETVAL" = 0 ]; then
echo "Iniciando el Servidor PostgreSQL";
service postgresql start;
RETVAL=$?;
if [ "$RETVAL" = 0 ]; then
echo "La copia de Seguridad se realizo correctamente";
echo "Presione [Enter] para continuar...";
read espera;
fi;
fi;
fi;;
> CC: pgsql-es-ayuda(at)postgresql(dot)org
> Subject: RE: [pgsql-es-ayuda] Problemas para Levantar la Base de Datos (SHHMAX)
> From: alvherre(at)commandprompt(dot)com
> To: albertobruening(at)hotmail(dot)com
> Date: Tue, 28 Dec 2010 12:37:14 -0300
>
> Excerpts from Alvaro Herrera's message of mar dic 28 12:29:15 -0300 2010:
> > Excerpts from albertobruening's message of mar dic 28 11:59:26 -0300 2010:
> > >
> > > Este el mensaje en log del postgresql.
> > >
> > > could not create shared memory segment: No queda espacio en el dispositivo.
> > >
> > > Hint: this error does *not* mean that yoy have run out of disk space. it occurs either if all
> > > shared memory IDs have been taken, in wich case you need to raise SHMMNI parameter in yout kernel,
> > > or because the system's overall limit for shared memory has been reached. if you cannot increase
> > > the shared memory limit, reduce postgresql shared memory request (currently 1103593472 bytes),
> > > by reducing its shared_buffers parameters (currently 1031072) and/or its max_conexxion parameters
> > > (currently 100).
> >
> > En ninguna parte se menciona SHMMAX. Puede ser que el problema sea
> > SHMALL; o quizás estás pidiendo demasiada memoria, considerando que el
> > servidor sólo tiene 4 GB. ¿Qué más está corriendo simultáneamente?
>
> Se me olvidaba -- usa ipcs para saber qué otros segmentos de memoria
> se están usando.
>
> --
> Álvaro Herrera <alvherre(at)commandprompt(dot)com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
> -
> Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org)
> Para cambiar tu suscripci�n:
> http://www.postgresql.org/mailpref/pgsql-es-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2010-12-29 03:04:51 | Re: Problemas para Levantar la Base de Datos (SHHMAX) |
Previous Message | Jaime Casanova | 2010-12-28 20:32:04 | Re: Problemas para Levantar la Base de Datos (SHHMAX) |