Re: [Postgresql-it] error 58030

  • From: Ivan Codarin <Ivan.Codarin@xxxxxxxxxxxx>
  • To: postgresql-it@xxxxxxxxxxxxxxxxx
  • Date: Tue, 19 Apr 2005 13:30:35 +0200

Ciao,
penso che sia proprio un problema di sistema operativo/hardware poichè il posto
in cui (nei sorgenti della 7.4.7) viene visualizzato quel messaggio c'è il
filling dei file di log:

/*
         * Zero-fill the file.  We have to do this the hard way to ensure that
         * all the file space has really been allocated --- on platforms that
         * allow "holes" in files, just seeking to the end doesn't allocate
         * intermediate space.  This way, we know that we have all the space
         * and (after the fsync below) that all the indirect blocks are down
         * on disk.  Therefore, fdatasync(2) or O_DSYNC will be sufficient to
         * sync future writes to the log file.
 */
....

if (pg_fsync(fd) != 0)
                ereport(PANIC,
                                (errcode_for_file_access(),
                                 errmsg("could not fsync file \"%s\": %m", 
tmppath)));

.....

e nel fare l'istruzione pg_fsync(fd) viene ritornato un intero diverso da 0, che
in C significa condizione "non normale"....


Non sono un esperto nè di C nè di queste rogne con postgresql... avevo solo i
sorgenti sottomano... ma questo (almeno a mio modo di vedere) non dovrebbe
dipendere da "fronzoli di configurazione" ma da problemi più "fisici".

Fammi sapere
ciao

===================================================
Quoting Giulio Renzi <g.renzi@xxxxxxxxxxx>:

Salve a tutti
Vi disturbo perché ho un grosso problema:
      improvvisamente il server si è disattivato (startup process (PID
9678) was terminated by signal 6) e mi ha mandato questo messaggio    di
errore evinto dal log:
      "DFTPANIC: 58030 could not fsync control file: There is an input or
output error."
      qualcuno ha esperienza di come trattare questa situazione o a
qualcuno è già capitato??
      Non vi nascondo di essere un po’ in crisi...
Grazie
Giulio




_______________________________________________
Postgresql-it mailing list
Postgresql-it@xxxxxxxxxxxxxxxxx
http://www.linuxtime.it/mailman/listinfo/postgresql-it



------------
Ivan Codarin
============

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

----- End forwarded message -----


------------
Ivan Codarin
============

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Other related posts: