Hello,
I am on VPS using CyberPanel with OpenLiteSpeed, where my actual website contents, databases etc. are below 50% of total disk space allotted on my VPS but now my “disk usage” shows unexpected increase up-to 91% and continuously increasing.
I am unable to figure-out why this happened and need help to figure-out it and fix the issue due to this happened.
I am appreciating for any help regarding fixing of this issue.
Please see it here: Pasteboard - Uploaded Image
Hello @Pimmal
I have made editing in “Postfix” and “Spamassassin” as the information given at here:
After making changes in the files as per the info given; this issue comes and my “disk usage” shows unexpected increase and continuously increasing.
If any more info required to fix it then I am ready to shown at here.
Thanks
After removing this; and executing this command:
systemctl restart crond.service
The unexpected increase in disk usage stopped now.
From the present situation it shows that this issue comes from the “Making a Cron Job to Automate Spam Definition Updates”.
Now, I need help to clean my disk space that’s occupied during the execution of “Cron Job” for automatic spamassassin spam definition updates.
Please let me know how can I do it; I am appreciating for any help to clean my disk usage from unnecessarily space occupied.
updates: mirror.twinlakes.net https://rep.cyberpanel.net/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s Certificate has expired.”
Trying other mirror.
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
You can try to solve this issue by using the instructions on yum-errors - CentOS Wiki
If above article doesn’t help to resolve this issue please use https://bugs.centos.org/.
base | 3.6 kB 00:00:00
copr:copr.fedorainfracloud.org:copart:restic | 3.3 kB 00:00:00
dovecot-2.3-latest | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
gf | 2.9 kB 00:00:00
litespeed | 3.6 kB 00:00:00
litespeed-update | 3.6 kB 00:00:00
lux | 3.0 kB 00:00:00
mariadb | 2.9 kB 00:00:00
powerdns-auth-42 | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/4): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(2/4): litespeed/7/x86_64/primary_db | 405 kB 00:00:00
(3/4): epel/x86_64/primary_db | 6.9 MB 00:00:00
(4/4): litespeed-update/7/x86_64/primary_db | 328 kB 00:00:00
Resolving Dependencies
→ Running transaction check
—> Package MariaDB-server.x86_64 0:10.1.46-1.el7.centos will be updated
—> Package MariaDB-server.x86_64 0:10.5.9-1.el7.centos will be an update
—> Package clamav.x86_64 0:0.103.0-3.el7 will be updated
—> Package clamav.x86_64 0:0.103.1-3.el7 will be an update
—> Package clamav-filesystem.noarch 0:0.103.0-3.el7 will be updated
—> Package clamav-filesystem.noarch 0:0.103.1-3.el7 will be an update
—> Package clamav-lib.x86_64 0:0.103.0-3.el7 will be updated
—> Package clamav-lib.x86_64 0:0.103.1-3.el7 will be an update
—> Package clamav-update.x86_64 0:0.103.0-3.el7 will be updated
—> Package clamav-update.x86_64 0:0.103.1-3.el7 will be an update
—> Package openlitespeed.x86_64 0:1.6.20-2.el7 will be updated
—> Package openlitespeed.x86_64 0:1.6.21-1.el7 will be an update
→ Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================
Package Arch Version Repository Size
Updating:
MariaDB-server x86_64 10.5.9-1.el7.centos CyberPanel 26 M
clamav x86_64 0.103.1-3.el7 CyberPanel 420 k
clamav-filesystem noarch 0.103.1-3.el7 CyberPanel 40 k
clamav-lib x86_64 0.103.1-3.el7 CyberPanel 829 k
clamav-update x86_64 0.103.1-3.el7 CyberPanel 121 k
openlitespeed x86_64 1.6.21-1.el7 litespeed 50 M
Error downloading packages:
clamav-filesystem-0.103.1-3.el7.noarch: [Errno 256] No more mirrors to try.
clamav-0.103.1-3.el7.x86_64: [Errno 256] No more mirrors to try.
clamav-lib-0.103.1-3.el7.x86_64: [Errno 256] No more mirrors to try.
clamav-update-0.103.1-3.el7.x86_64: [Errno 256] No more mirrors to try.
MariaDB-server-10.5.9-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
[root@server ~]#
I need help and appreciate for kind help to fix this issue.
Hello ianw5555,
Yes, my /etc/resolv.conf has resolvers and it is as:
options timeout:1 attempts:1
nameserver 153.92.2.25
nameserver 2a02:4780::25
nameserver 9.9.9.9
Hello ianw5555,
One more thing I have noticed that I am able to send emails ([email protected]) to Gmail, Yahoo, Hotmail etc. and that mails goes to Inboxes of Gmail, Yahoo, Hotmail etc. but when I can send emails from Gmail, Yahoo, Hotmail etc. then I can’t receive emails ([email protected]).
Hello @ianw5555,
Due to some misconfiguration in Postfix (main.cf, master.cf), Dovecot, and in Spamassassin; an unexpected increase shows in disk usage.
At present I have stopped Postfix, Dovecot and Spamassassin services or simply email services because I need first to clear cached data done by these Daemon’s, but I don’t know how can I do it?
Please help me and direct me to the right way through which I can successfully cleared my unnecessary disk space due to Postfix, Dovecot and Spamassassin cached data.
I am appreciating for the help to do it.
Cyberpanel has many issues in Centos 7, myself I switched to Ubuntu. The main reason is that the cp install script doesn’t add the official yum repos for the packages it needs except for litespeed. Therefore, packages like postfix/dovecot/docker etc are loaded from the default centos/epel repo which is seriously outdated.
My 2 cents are: unless you use Cloudlinux or really know your way around manually upgrading all those 3rd party packages, switch to Ubuntu. This should be in bold red announcement box on forums/documentation/github.
Hello @usmannasir@CyberPanel
An optional I need help for disabling Postfix header_checks
How can I disable Postfix header_checks through which mailscanner also disabled?