AdguardTeam / AdguardTeam/AdguardForWindows

Adguard 8.0 excessive disk usage upon startup by service process

Abierto
#5,620 13 comentarios 2 reacciones 1 asignado Asignado a @adbuker Ver en GitHub
Bug P3: Medium Priority: P3 Version: AdGuard v8.0.4
Lenguaje dominante
Sin datos de lenguaje
Estrellas
887
Forks
84
Merge medio
27 min
PR fusionados (30 d)
2

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.