https://pulumi.com logo
#general
Title
# general
c

creamy-monkey-35142

07/13/2023, 6:01 AM
Hi there, is there anyway to troubleshoot long running command, currently
pulumi up
took 2h47m for 1469 resources with a lot of
/pulumirpc.ResourceMonitor/RegisterResource
run more than 10m
c

cuddly-magician-97620

07/13/2023, 6:49 AM
Try
PULUMI_EXPERIMENTAL=1 PULUMI_SKIP_CHECKPOINTS=true pulumi up
. It will not help troubleshooting, but it may blow your mind with the speed.
c

creamy-monkey-35142

07/13/2023, 8:18 AM
PULUMI_SKIP_CHECKPOINTS
it is skip checkpoint when running state, when I look into stack, I have more than 3000 files including
.history, .checkpoint
😮
the S3 size is 260G, this is incredible
it’s safe to delete all files in side
history
folder?
e

echoing-dinner-19531

07/13/2023, 8:40 AM
it’s safe to delete all files in side
history
folder?
Yes
c

creamy-monkey-35142

07/13/2023, 9:05 AM
well, after delete almost checkpoint & history, also backups the state running now faster
Copy code
Resources:
    + 1 created
    ~ 6 updated
    7 changes. 1461 unchanged

Duration: 2m34s
thank you guys and hope we have a well note somewhere that other guys can search if they meet the same problem 😄