# 1.107.3 Error: collector unable to delete pieces

**URL:** <https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930>\
**Category:** FAQ\
**Tags:** ttl, garbage-collector, error-codes\
**Created:** [July 4, 2024, 12:56am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930 "2024-07-04T00:56:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![3lg4to](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/3lg4to/32/7816_2.png) [@3lg4to](https://forum.storj.io/u/3lg4to)\
**Post date:** [July 4, 2024, 12:56am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/1 "2024-07-04T00:56:46Z")

</div>

All my nodes have started showing this warn (endless messages) as soon as they were updated to the new version.  
All of them have 100% audit score, i’ve never seen this before.  
Anyone else have this messages ?

2024-07-03T22:06:27Z WARN collector unable to delete piece {“Process”: “storagenode”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Piece ID”: “FFUGWPHFGJKKT56BFEW65U57OTPZOKKF5B47ID4IGROMTFQYRWPQ”, “error”: “pieces error: filestore error: file does not exist”, “errorVerbose”: “pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:270\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:250\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:355\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:575\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78”}  
2024-07-03T22:06:28Z WARN collector unable to delete piece {“Process”: “storagenode”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Piece ID”: “4NZIKENI4SB2WWIKYVHQINKG5SFFX65VTBBOMP5QFZZYEHF7WFFQ”, “error”: “pieces error: filestore error: file does not exist”, “errorVerbose”: “pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:270\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:250\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:355\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:575\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78”}  
2024-07-03T22:06:28Z WARN collector unable to delete piece {“Process”: “storagenode”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Piece ID”: “2CG4VQEH6R5QVG3Z5Y6R3NIY2HRWL5RK35QRN426DBCOTXMU5WFA”, “error”: “pieces error: filestore error: file does not exist”, “errorVerbose”: “pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:270\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:250\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:355\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:575\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78”}

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 4, 2024, 3:47am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/2 "2024-07-04T03:47:55Z")

</div>

This warning means that the garbage collector removed the data with a TTL before it expired, so now when the TTL collector tries to remove it, it can’t find it.

The customer may delete their data before the expiration, if they wish or if they for example rewrote this data before the expiration.

---

<div class="post-metadata">

**Author:** ![etienneb](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/etienneb/32/1121_2.png) [@etienneb](https://forum.storj.io/u/etienneb)\
**Post date:** [July 4, 2024, 6:01am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/3 "2024-07-04T06:01:03Z")

</div>

Thanks, I got the same errors in this version.  
Do I understand you correctly that over time it will cleaned up? And thus the WARN is not an issue?  
If so, I would think that filling the log files with these not-really-errors would be a bit overkill?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 4, 2024, 6:24am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/4 "2024-07-04T06:24:07Z")

</div>

Yes, it should cleanup them and these WARNs are not an issue in this exact case.  
The code is universal, so it should print a WARN if the piece is missing, because it’s not expected.

---

<div class="post-metadata">

**Author:** ![3lg4to](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/3lg4to/32/7816_2.png) [@3lg4to](https://forum.storj.io/u/3lg4to)\
**Post date:** [July 4, 2024, 5:53pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/5 "2024-07-04T17:53:08Z")

</div>

The downside of this is that the log gets flooded with these messages at a rate of thousands per minute, forcing you to set that process to Error, preventing you from seeing the rest of the WARN events and making you resort to grepping through a log of enormous size.

---

<div class="post-metadata">

**Author:** ![Solu](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/solu/32/62_2.png) [@Solu](https://forum.storj.io/u/Solu)\
**Post date:** [July 4, 2024, 6:18pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/6 "2024-07-04T18:18:24Z")

</div>

You might want to set your log level in config.yaml to error / fatal

`log.level: fatal`

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 5, 2024, 8:29am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/7 "2024-07-05T08:29:54Z")

</div>

Or use a logrotate

> [@Best method to redirect logs to independant storage in Linux](https://forum.storj.io/t/topic/8039/10):
>
> Hi phillipe, This is easy to do with logrotate since you can use wildcards to define your paths and files. I placed a logrotate config file in /etc/logrotate.d/ called storagenode . It is a plain text file. My logrotate config file is as follows. Don’t include comments in your config file (there is an uncommented version below). /mnt/logs-usb/storj\*/storagenode\*.log { #the wildcard (\*) characters tell logrotate to look in any subfolder that #begins with storj, and rotate any log that starts wi…

> [@Native logs rotation in Windows with a simple PowerShell script](https://forum.storj.io/t/topic/6241/1):
>
> Hello, Unfortunately, in the current windows version of the Storage Node there is no way to rotate or limit the size of the generated logs files. You cannot delete them from the GUI because they are locked by the services processes. Using Clear-Content in PowerShell to reset the files works but there is no easy solution if you want to keep a few days / weeks of logs. I have written a small PowerShell script that can rotate the Storjs Logs without the need of Stop\>Start the services to release …

> [@All my nodes keep restarting since last night: "/var/log/supervisor/supervisord.log does not exist"](https://forum.storj.io/t/topic/18206/8):
>
> Yes, the simplest way is to configure logrotate to manage your storagenode logs. It should already be running on your system. I recommend placing a logrotate config specifically for your node(s) in the /etc/logrotate.d folder. For example, I have a file /etc/logrotate.d/storagenode (it can have any name). The file contents are: /path/to/logs/storj\*/storagenode\*.log { su username username weekly maxsize 200M rotate 52 dateext dateformat -%Y%m%d …

etc.

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/6_449c533f586939b6e5f246632a46421f.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [July 7, 2024, 3:57pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/8 "2024-07-07T15:57:37Z")

</div>

Yep, I got these too after updating to 107 version.  
I will use this docker run params:

```auto
--name storagenode storjlabs/storagenode:latest \
--log.level=info \
--log.custom-level=piecestore=FATAL,collector=FATAL \

```

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 8, 2024, 7:03am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/9 "2024-07-08T07:03:45Z")

</div>

The collector doesn’t spam too much, in my opinion though:

```auto
2024-07-07T10:38:02Z INFO collector collect {"Process": "storagenode", "count": 1}
2024-07-07T13:39:47Z INFO collector collect {"Process": "storagenode", "count": 2992}
2024-07-07T14:40:42Z INFO collector collect {"Process": "storagenode", "count": 5973}
2024-07-07T16:38:02Z INFO collector collect {"Process": "storagenode", "count": 1}
2024-07-07T21:38:02Z INFO collector collect {"Process": "storagenode", "count": 1}

```

---

<div class="post-metadata">

**Author:** ![EasyRhino](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/easyrhino/32/1133_2.png) [@EasyRhino](https://forum.storj.io/u/EasyRhino)\
**Post date:** [July 8, 2024, 5:39pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/10 "2024-07-08T17:39:16Z")

</div>

> [@snorkel](#):
>
> Yep, I got these too after updating to 107 version.  
> I will use this docker run params:
> 
> ```auto
> --name storagenode storjlabs/storagenode:latest \
> --log.level=info \
> --log.custom-level=piecestore=FATAL,collector=FATAL \
> 
> ```

Ooh this seems like a really good idea to reduce the piecestore log spam… how do I translate it to a docker compose file?

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/6_449c533f586939b6e5f246632a46421f.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [July 8, 2024, 6:02pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/11 "2024-07-08T18:02:30Z")

</div>

Search the thread about custom log level.

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/6_449c533f586939b6e5f246632a46421f.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [July 8, 2024, 6:06pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/12 "2024-07-08T18:06:50Z")

</div>

The 107 version gives millions of lines of “WARN … collector…” and there were some “ERROR … collector…” too. Reading about both entries that are not something to care about, I choose FATAL to get rid of them.  
Maybe you can use ERROR level, in case something useful comes up. It’s up to you.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 10, 2024, 5:41am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/13 "2024-07-10T05:41:53Z")

</div>

It’s not related to this version unfortunately

> [@Two weeks working for free in the waste storage business frowning](https://forum.storj.io/t/two-weeks-working-for-free-in-the-waste-storage-business/26854/108):
>
> Yes, you are correct. We made a mistake when uploaded the TTL data: So, some data was replaced. The replace mean - delete the object and upload it back… So, the GC and the trash would be involved… So. It’s possible that the deleted TTL data was collected by the retain and sent to the trash. Thus the TTL collector cannot find it now (because it’s in the trash).

But, yes, you always can reduce the log level either by the option or dynamically

> [@How to switch log levels](https://forum.storj.io/t/how-to-switch-log-levels/19506/6):
>
> There is also a way to change the log level without having to restart the node. This is useful for a hard to reproduce situation. Something is wrong on your node now but if you restart it with a different log level the restart itself would hide the root cause. So here is how you can change the log level on the fly without a restart: [Guide to debug my storage node, uplink, s3 gateway, satellite](https://forum.storj.io/t/guide-to-debug-my-storage-node-uplink-s3-gateway-satellite/1372)

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [August 2, 2024, 10:17am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/14 "2024-08-02T10:17:27Z")

</div>

Can’t we just change this behaviour, like at deletion with bloom filter also perform a batch delete every N deleted files in the TTL database? Is actually quite annoying, to get flooded with those warnings at every collector run.

---

<div class="post-metadata">

**Author:** ![digitalfrank](https://storj.bcdn.literatehosting.com/letter_avatar/digitalfrank/32/6_449c533f586939b6e5f246632a46421f.png) [@digitalfrank](https://forum.storj.io/u/digitalfrank)\
**Post date:** [August 2, 2024, 1:01pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/15 "2024-08-02T13:01:47Z")

</div>

on all my nodes ia have these errors

| 2024-07-30T21:36:29+02:00 | WARN | collector | unable to delete piece | {Satellite ID: 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S, Piece ID: RARGNRBJPWRWHHWST43ZYNEMXI6VBRECQWBR77J2P5YDEFNNTMTQ, error: pieces error: filestore error: file does not exist, errorVerbose: pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:290\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:270\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:356\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:576\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78} |
| --- | --- | --- | --- | --- |
| 2024-07-30T21:36:30+02:00 | WARN | collector | unable to delete piece | {Satellite ID: 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S, Piece ID: UMH5FAWBIHRQBYHZ2LXC4BPG3HL3GSIVIJVMW7JRVB5P7WW5GBRQ, error: pieces error: filestore error: file does not exist, errorVerbose: pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:290\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:270\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:356\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:576\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78} |
| 2024-07-30T21:36:32+02:00 | WARN | collector | unable to delete piece | {Satellite ID: 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S, Piece ID: ADTHC2MYOIFT2KMXJM76D5V7HFMY2NIORFOR6AICXBRZHRD76F3Q, error: pieces error: filestore error: file does not exist, errorVerbose: pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:290\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:270\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:356\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:576\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78} |
| 2024-07-30T21:36:32+02:00 | WARN | collector | unable to delete piece | {Satellite ID: 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S, Piece ID: HBL5LCD36JBRPQNYXVWC6CWQWNLTEVWPWQCV4BJYE3EWKKEGGHCA, error: pieces error: filestore error: file does not exist, errorVerbose: pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:290\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:270\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:356\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:576\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78} |
| 2024-07-30T21:36:34+02:00 | WARN | collector | unable to delete piece | {Satellite ID: 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S, Piece ID: VFHUSMHX64BZVYJYTFW7I7AYCWJKMLG7QTRJSRKPTWEYRJVSLIPA, error: pieces error: filestore error: file does not exist, errorVerbose: pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:122\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:290\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:270\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:356\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect.func1:88\n\tstorj.io/storj/storagenode/storagenodedb.(\*pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces.(\*Store).GetExpired:576\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:87\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:65\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:61\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78} |

It’s not normal for me

---

<div class="post-metadata">

**Author:** ![digitalfrank](https://storj.bcdn.literatehosting.com/letter_avatar/digitalfrank/32/6_449c533f586939b6e5f246632a46421f.png) [@digitalfrank](https://forum.storj.io/u/digitalfrank)\
**Post date:** [August 2, 2024, 1:35pm UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/16 "2024-08-02T13:35:50Z")

</div>

Sorry I just read this post

> [@1.107.3 Error: collector unable to delete pieces](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/14):
>
> Can’t we just change this behaviour, like at deletion with bloom filter also perform a batch delete every N deleted files in the TTL database? Is actually quite annoying, to get flooded with those warnings at every collector run.

and now everything is clear.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [August 3, 2024, 2:13am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/17 "2024-08-03T02:13:29Z")

</div>

Unfortunately not, otherwise you will get a “database is locked”, because there could be a TTL collector running.  
I believe It could be possible only for non-lazy filewalker, because there would be a one process, but I’m not sure. We have had “database is locked” issues even when there was no lazy mode at all.

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_449c533f586939b6e5f246632a46421f.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [October 9, 2024, 5:00am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/19 "2024-10-09T05:00:39Z")

</div>

Relise 1.114.6 fixed problem with ingress.

But node Generating  
024-10-09T07:58:19+03:00 WARN collector unable to delete piece {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Piece ID”: “PBPYA36XWUCOVSAOEO37MBSW2JEEQP5L2OBMFGZSBZOO2UYJ67ZQ”, “error”: “pieces error: filestore error: file does not exist”, “errorVerbose”: “pieces error: filestore error: file does not exist\n\tstorj.io/storj/storagenode/blobstore/filestore.(\*blobStore).Stat:126\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).pieceSizes:350\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).DeleteWithStorageFormat:329\n\tstorj.io/storj/storagenode/pieces.(\*Store).DeleteSkipV0:375\n\tstorj.io/storj/storagenode/collector.(\*Service).Collect:111\n\tstorj.io/storj/storagenode/collector.(\*Service).Run.func1:68\n\tstorj.io/common/sync2.(\*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(\*Service).Run:64\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2.1:87\n\truntime/pprof.Do:44\n\tstorj.io/storj/private/lifecycle.(\*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:78”}

Several GB in 2 min OS going very fast out of space, some log files go to 80gb then node die.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [October 9, 2024, 5:42am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/20 "2024-10-09T05:42:13Z")

</div>

I would start a new thread to get better visibility, or maybe even GitHub issue. Or even a PR — it’s a one line change.

I thought this issue has been already fixed (or maybe fix was suggested, not sure) but this should not be an error, it probably a warning at best, but like Ly just info will suffice. Not having a file that has been previously deleted is pretty normal occurrence.

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_449c533f586939b6e5f246632a46421f.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [October 9, 2024, 5:46am UTC](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930/21 "2024-10-09T05:46:24Z")

</div>

I think main problem itself not in this line, more why it genereting Gigabytes of this, bigest log got 80GB

[Next page](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930.md?page=2)
