Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument - Mailing list pgsql-general

From Adrian Klaver
Subject Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument
Date
Msg-id d0fa9613-97c2-9a78-a704-fd03464d90e6@aklaver.com
Whole thread Raw
In response to PANIC: could not write to log file {} at offset {}, length {}: Invalid argument  (Shani Israeli <sisraeli@illusivenetworks.com>)
List pgsql-general
On 11/4/20 2:24 AM, Shani Israeli wrote:
> Hi all,
> 
> We are running PostgreSQL v9.5.19 over Windows Server 2012 R2, 16GB RAM.
> Lately, postgres started to crash (happened already 3 times ~once a 
> month) and before its crashes I found this message in Event Log:
> 
>     PANIC:  could not write to log file {} at offset {}, length {}:
>     Invalid argument
> 
> (so I assumed it is related).
> 
> attached is our configuration.
> 
> Any ideas about what is the problem? or anything else I need to check?

Any time I see seemingly random crashes involving file corruption on 
Windows I think anti-virus software. Has someone turned an AV program 
loose on this machine?

> 
> Thanks is advance,
> Shani Israeli - Software Developer
>     +972 54 6689920
> 
>     sisraeli@illusivenetworks.com
> 
>     www.illusivenetworks.com <https://www.illusivenetworks.com/>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: David Day
Date:
Subject: Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument
Next
From: "Brad Nicholson"
Date:
Subject: Race condition with restore_command on streaming replica