Centos 8-Stream eats up a lot of memory

Issues related to applications and software problems and general support
Post Reply
PawelK
Posts: 3
Joined: 2020/02/25 11:21:19

Centos 8-Stream eats up a lot of memory

Post by PawelK » 2021/05/14 14:21:05

Hello,

I want to build small image, but my minimall install eats too much memory.


Proxmox shows that the centos used ~300MB RAM
Image

And debian 10 with a similar configuration
Image

And also pld linux
Image

Can anything be done to make Centos use less RAM?

my anaconda-ks.cfg

Code: Select all

root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cat anaconda-ks.cfg
#version=RHEL8
# Reboot after installation
reboot
# Use text mode install
text --non-interactive

repo --name="ICM-AppStream" --baseurl=http://ftp.icm.edu.pl/pub/Linux/distributions/centos/8-stream/AppStream/x86_64/os/ --proxy="http://10.255.1.88:8888"
repo --name="ICM-Extras" --baseurl=http://ftp.icm.edu.pl/pub/Linux/distributions/centos/8-stream/extras/x86_64/os/ --proxy="http://10.255.1.88:8888"
repo --name="AppStream" --baseurl=http://ftp.icm.edu.pl/pub/Linux/distributions/centos/8-stream/AppStream/x86_64/os --proxy="http://10.255.1.88:8888"

%post
echo "proxy=http://10.255.1:8888" >> /etc/yum.conf
%end

%packages --nocore
NetworkManager
audit
basesystem
bash
coreutils
cronie
curl
dnf
e2fsprogs
filesystem
glibc
grubby
hostname
initscripts
iproute
iprutils
iputils
irqbalance
kbd
kexec-tools
kexec-tools
less
man-db
ncurses
openssh-clients
openssh-server
parted
passwd
plymouth
policycoreutils
procps-ng
rng-tools
rootfiles
rpm
rsyslog
selinux-policy-targeted
setup
shadow-utils
sssd-common
sssd-kcm
sudo
systemd
tuned
util-linux
vim-minimal
xfsprogs
yum

%end

# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Firewall configuration
firewall --disabled
# Network information
network  --bootproto=dhcp --device=ens18 --ipv6=auto --activate
network  --hostname=localhost.localdomain

# Use network installation
url --url="http://ftp.icm.edu.pl/pub/Linux/distributions/centos/8-stream/BaseOS/x86_64/os/" --proxy="http://10.255.1.88:8888"

# Run the Setup Agent on first boot
firstboot --enable
# Do not configure the X Window System
skipx
# System services
services --enabled="chronyd"

ignoredisk --only-use=sda
# System bootloader configuration
bootloader --append="crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=plain --fstype=ext4 --nohome
# Partition clearing information
clearpart --all --initlabel

# System timezone
timezone Europe/Warsaw --isUtc --ntpservers=10.255.1.11

# Root password
rootpw --iscrypted $6$4Y60OOFUAGuJYP0d$L6uQzccA4HzRWTgPL/7ZVVhD4rurFPr37MIVF.QMrHBeLnwo1ooBt6zdhKRo/jD7qUuB9EPpf1wYjq1D3Uljj9.


%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end


Post Reply