From: Magnus Hagander [mailto:mag...@hagander.net] > In this particular case, it seems it *was* helpful, no? That's how you found > out the customer used a broken antivirus product, which may certainly also > cause *other* issues. > > Some sort of rate limiting to reduce the volume might help, but the message > itself seems to have clearly been useful.
+1 We can change pgwin32_ReserveSharedMemoryRegion() to take an argument "int loglevel". Then the caller first calls it with LOG, and DEBUGx afterwards. It may also be helpful for the caller to output "LOG: tried %d times to reserve shared memory region" when the caller ran the function twice or more before success. That explains the possibly long time or CPU spikes of connection establishment. Regards Takayuki Tsunakawa