Postgresql logs take up too much space

other_s
question_s
#1

Hey guys,

We’re running into massive space issues. How does your log rotation work? From what our system admins are telling us postgresql is generating a hefty amount of logs which is clogging up our space on the server.

May we delete them without compromising necessary functionality or is there a way we can avoid this abundance of logs?

#2

Hi @martina_r

Do you mean logs located in pg_xlog folder?

#3

Yes, that’s the one.

#4

@martina_r, I’ve sent you instruction to the direct messages. Let me know if it helps:)

2 Likes
#5

Works like a charm! Thank you. 10GB free, immediately.

Although I’d have to ask, will this build up over time, again? Would you recommend us routinely executing these instructions?

Also, this question came up on behalf of our systems team: they found two incredibly large MDMP files in C:\RPAExpress\Rpa\rpa-grid that are about 2,000,000KB large. Should we leave them or is it okay to delete them?

1 Like
#6

Hi @martina_r

Thanks for confirmation!
Yes, I think it’s safe to delete them, as it’s a memory dump files which are used for debugging.

2 Likes
#7

could you please send me the log cleanup instructions as well? not sure why this isn’t part of the standard documentation, as it seems like a common theme.

#8

pinging again. would really appreciate if you could provide the instructions.

#9

Hi @sbeauchem, I’ve sent you the instruction to direct messages. Hope that helps.

1 Like
#10

Brilliant! Tested it on our dev server and ran on our prod servers without any issues. It immediately resolved the disk space issues that were resulting in stalled bots and job failures. Thanks!

2 Likes
#11

@sbeauchem Thanks for the feedback. Very glad it helped:)

#12

I will need these instructions as well. Could you send it to me too?

1 Like
#13

I need these instructions too, thanks.

#14

Hello @johanna1.
Why you need these instruction? Could you please clarify?

#15

We are running out of space on our production server because the logs consume so much disk space.

#16

How much spaces do logs occupy? Are you sure that this is RPA Express logs and not other applications\files?

#17

There are two folders RPA logs & RPAExpress/workfusion/data/ postresql consuming more than 48GB of space.

#18

Hello,

would also need instructions to clear the same logs as indicated above. They take tens of gigabytes of space.

Thanks