AdguardTeam / AdguardTeam/AdguardForWindows

Adguard 8.0 excessive disk usage upon startup by service process

Ouverte
#5,620 13 commentaires 2 réactions 1 personne assignée Assignée à @adbuker Voir sur GitHub
Bug P3: Medium Priority: P3 Version: AdGuard v8.0.4
Langage dominant
Aucune donnée de langage
Étoiles
887
Forks
84
Merge moyen
27 min
PR mergées (30 j)
2

Description

### 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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.