New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Comments
at my point of view, it is easier to upgrade on debian... I managed CentOS 5 several years ago and never feel so good of it...
I prefer debian myself. But i was pretty much trolling with memes as buyvm guys arent here
32M box from IPXCore
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 2.2 2028 724 ? Ss 03:29 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 03:29 0:00 [kthreadd/776]
root 3 0.0 0.0 0 0 ? S 03:29 0:00 [khelper/776]
root 393 0.0 1.8 5368 612 ? S 03:29 0:00 supervising sys
root 394 0.0 6.9 5624 2268 ? Ss 03:29 0:00 /usr/sbin/syslo
root 421 0.0 1.5 2084 500 ? Ss 03:29 0:00 /usr/sbin/dropb
root 432 0.0 2.4 2288 788 ? Ss 03:29 0:00 /usr/sbin/cron
root 452 0.2 3.3 2400 1088 ? Ss 03:29 0:00 /usr/sbin/dropb
root 453 0.0 2.4 1924 800 ? S 03:29 0:00 /usr/lib/sftp-s
root 454 0.3 3.4 2400 1124 ? Ss 03:30 0:00 /usr/sbin/dropb
root 455 0.0 4.9 2960 1608 pts/0 Ss 03:30 0:00 -bash
root 463 0.0 2.8 2348 924 pts/0 R+ 03:31 0:00 ps aux
total used free shared buffers cached
Mem: 32 9 22 0 0 6
-/+ buffers/cache: 3 28
Swap: 32 0 32
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 2.0G 312M 1.7G 16% /
tmpfs 16M 0 16M 0% /lib/init/rw
tmpfs 16M 0 16M 0% /dev/shm
@huluwa how were you able to drop disk usage to 312mb? mine is 480mb after installing debian 6.
I also have the same question... Maybe, logs, or removal of some bulk?
I removed many others:
apt-get -y purge lynx memtester unixodbc python-* odbcinst-* sudo tcpdump ttf-*
Read the full thread
@jcaleb
EDIT: Used the minimal.sh script from Maxexcloo...
https://github.com/maxexcloo/Minimal
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 2.0G 183M 1.9G 9% /
tmpfs 16M 0 16M 0% /lib/init/rw
tmpfs 16M 0 16M 0% /dev/shm
So d**m small!
thanks! thats a big help!
You guys just aren't trying hard enough
2/3MB RAM usage and 85MB disk for a fully updated Debian 6 build (Sticking to SSHD and BASH as well)
https://www.thriftydevil.com.au/technology/minimizing-debian-for-openvz
Yes, but you don't mention how to achieve it...
no consolidated script =(
Yep
But I am afraid this implies removing files at hand, which isn't the best idea always. Sounds cool, but...
i can live with 180mb from maxexcloo, with script i understand.
2/3MB RAM usage and 85MB disk for a fully updated Debian 6 build (Sticking to SSHD and BASH as well)
I don't get why people post "oh my, I minimized debian so much", but don't provide how they even did it.
It just involved removing some of the locales and a few parts of the docs (the same copyright message repeated 100 times!) etc.
I'll write something in more detailed later, but rather than running the scripts blindly, you guys should be looking at what each command does anyway... That way you can combine all of the guides online.
I got powerdns and MySQL backend running on my 32MB IPXcore VPS. Works fine. :-)
Running CentOS btw.
Hooray people like my script
Just FYI, Minimal is depreciated, I'd recommend Minstall instead (will have automated install soon)!
Can you add support for Ubuntu ?
Interesting result with minimal.sh ...it removed aptitude and then freaked out because it couldn't continue without aptitude. I blame Debian...
Minstall, you're up
Hi @Oliver would you mind sharing your mysql and pdns config on that 32MB?
I also have pdns setup on Amanah free vps 64MB (burst to 128), it uses 94MB right now.
top - 19:15:26 up 1 day, 11:10, 0 users, load average: 0.00, 0.00, 0.00 Tasks: 12 total, 1 running, 11 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 131072k total, 97080k used, 33992k free, 0k buffers Swap: 0k total, 0k used, 0k free, 0k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20200 mysql 18 0 25128 7296 5404 S 0 5.6 0:02.91 mysqld 20253 pdns 18 0 59572 4460 2532 S 0 3.4 0:01.02 pdns_server 6047 root 15 0 8488 2904 2232 S 0 2.2 0:00.17 sshd 20243 root 18 0 15784 2312 1068 S 0 1.8 0:01.34 pdns_server 20176 root 15 0 5640 2280 1752 S 0 1.7 0:00.02 syslog-ng 20367 root 18 0 5472 2112 1700 S 0 1.6 0:00.00 sshd 6115 root 15 0 4512 1876 1472 S 0 1.4 0:00.00 bash 1 root 15 0 2472 1396 1160 S 0 1.1 0:01.37 init 7337 root 15 0 2344 1076 884 R 0 0.8 0:00.00 top 20271 root 25 0 2424 876 700 S 0 0.7 0:00.00 xinetd 20155 root 15 0 2304 812 640 S 0 0.6 0:00.09 cron 20175 root 20 0 5384 664 336 S 0 0.5 0:00.00 syslog-ngroot@amanah:~# free -m total used free shared buffers cached Mem: 128 94 33 0 0 0 -/+ buffers/cache: 94 33 Swap: 0 0 0Looks like OpenVZ without vswap. It's allocated 94MB, not really using that much. Most by the pdns_server. You need to look at /proc/user_beancounters to see actual memory usage.
I heard rm -rf /* will reduce your disk usage to 1KB.
This is what happens if you remove init, you get the best RAM savings but you remove all functionality.
To be fair you don't have any free RAM left
But im using the least RAM.
Ya mostly by pdns service. But after a little change on the pdns.conf:
It reduces a lot. But I don't know maybe @Oliver has another recipes to make it as small as possible.
Very odd, is this with stock Debian 6?
Convert all the tables to MyISAM so you can disable innodb completely.
Reduce distributor threads as you have already.
Adjust all the MySQL settings down as much as possible obviously.