AdguardTeam / AdguardTeam/AdguardForWindows

Adguard 8.0 excessive disk usage upon startup by service process

Đang mở
#5,620 13 bình luận 2 reaction 1 người được giao Được giao cho @adbuker Xem trên GitHub
Bug P3: Medium Priority: P3 Version: AdGuard v8.0.4
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
887
Fork
84
Merge trung bình
27 phút
Pull request đã merge (30 ngày)
2

Mô tả

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

8.0.5143.0

### Browser version

irrelevant

### OS version

Windows 10 19045

### Traffic filtering

- [x] yes, I do

### Ad Blocking

AdGuard Base filter

### Privacy

AdGuard Tracking Protection filter

### Language-specific

AdGuard Russian filter

### Which DNS server do you use?

System default DNS

### DNS protocol

Regular

### Custom DNS

_No response_

### What Stealth Mode options do you have enabled?

Send Do-Not-Track header

### Issue Details

Steps to reproduce:
1. Start operating system or restart AdGuardSvc
2. Observe anomalous system disk usage, and adguard database files being repeatedly open and closed

### Expected Behavior

Adguard service does not cause excessive disk usage

### Actual Behavior

AdGuardSvc causes excessive disk usage for from 20 seconds to up to 3 minutes

Image

![Image](https://github.com/user-attachments/assets/d9a27932-45f4-49ee-9a89-dd411b5d3f2c)

Image

Image

### Additional Information

Very likely should be fixed by switching all SQLite database files into WAL mode (currently only adguard.db is in WAL mode, statistics.db and certs.db are in `JOURNAL DELETE`, afaik), and not closing "connection" to them during lifetime of AdguardSvc (this one should help a lot)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.