I have attempted to set up a Postgres 9.5 server as a streaming replication backup (guessing my way through the process after reading the Postgresql documentation and a few tutorials) but am running into an issue. The WAL archive files are not being removed on the backup. I'm wondering if everything is OK and I should have discontinued the WAL archive process or if something else is wrong. Thanks for any help. The following should be the relevant configuration.
you should see a recovery.conf in slave server and below line must be included in that file to delete old archive files.