R
R
Roman Golotovsky2021-03-10 14:23:24
1C-Bitrix
Roman Golotovsky, 2021-03-10 14:23:24

/upload/iblock takes up a lot of space, what should I do?

An online store on Bitrix, quite simple, but old, which no one has touched for a long time. Recently I received an email that the disk space has been exceeded. I went to figure it out and saw that the /upload/iblock folder occupies as much as 39 gigs! Having gone through the folders, I found that most of these files are stupidly duplicates. Personally, this is the first time I've come across something like this. I googled, advised to go through a script that compares the files from the b_files table with the files from the folder and deletes the unnecessary. Alas, the script did not help. (deleted 100 files and that's all) Are there any solutions to such a disaster?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MagnitD, 2021-03-10
@MagnitD

I had a project in which iblock occupied 20 GB of pictures, I downloaded them, optimized them and threw them back, I ended up with 4 GB. Maybe your pictures are not optimized too?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question