Hi Stephen,

while I can't say anything about what might have caused your issues in the
first place, I can say with high confidence that the files you're seeing
there *are* part of a postgresql database, and deleting them straight up
will destroy something. To figure out what that "something" is, you'll need
to figure out what databases are running on your system, and who is using
it.


Good Luck,

David


On Sun, Feb 17, 2019 at 6:46 AM Stephen S. <project...@gmail.com> wrote:

> We have a puppet server running 3.8.7 on RHEL 6.10. It experienced an OOM
> event this morning then the server recovered without intervention. While
> looking into this I noticed the server became very slow to respond. I saw
> that it suddenly had over 3200 processes running and was about to crash. I
> was able to reboot the box and it came back up fine. Everything now seems
> normal except for the fact that there are about 5 files now in
> /var/lib/pgsql/data/base/*/* that are eating up 1G each. These are all
> timestamped with todays date and were not there until after the reboot.
> Does anyone know if these files are safe to delete? I am not familar with
> this particular folder or how it interacts with puppetmaster. We do not
> have puppetdb installed on this system so I am not sure why it would write
> to this folder.
>
> Files created today.
>
> -rw------- 1 postgres postgres 1.0G Feb 16 10:02
> /var/lib/pgsql/data/base/16385/17240.2
> -rw------- 1 postgres postgres 1.0G Feb 16 10:05
> /var/lib/pgsql/data/base/16385/17240.4
> -rw------- 1 postgres postgres 1.0G Feb 16 10:06
> /var/lib/pgsql/data/base/16385/17240.3
> rw-------. 1 postgres postgres 1.0G Feb 16 10:07
> /var/lib/pgsql/data/base/16385/17240
> -rw------- 1 postgres postgres 1.0G Feb 16 10:04
> /var/lib/pgsql/data/base/16385/17240.1
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/476c2298-d121-4d6f-80c2-f17e3508a956%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/476c2298-d121-4d6f-80c2-f17e3508a956%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Cheers, David

https://twitter.com/dev_el_ops

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CALF7fHa2nDkUqPVhmJtF1wFpxsyXeyWMbHe7eoWK6k8T3q4USg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to