[opensuse] Hardware req. for server?
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro? /J -- "Attempted murder, really, what is that? Do they give a Nobel Prize for attempted chemistry?" -Sideshow Bob -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It is possible to run Opensuse 10.2 on that hardware, though I have some doubt that the effort is worth the result. We are using a Pentium 650 as a samba server in our company, but we are using a good scsi hardware raid. Depending on what kind of webpages you intend to set up, a Pentium 300 will be slow, not matter what kind of distro you are running. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro? Based on my own experience I'd say not, and that you should use Debian 3.1. If you're behind a firewall, etc, you might consider 3.0. Maybe an
Jan Karjalainen wrote: old version (with security updates) of SuSE would suit, e.g. 9.3. It depends on what version of Apache, PHP, Samba, etc would be adequate. How many users will be accessing it (per hour, day and minute) ? Will you be serving scripted or static pages? What distribution of file sizes do you foresee it providing? Does it need to integrate with AD? Do you want to attach printers to it? Also, how big an HDD will you put in it/does it have? Russell Jones -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
That should be plenty for a text only install. I used to run 9.x in a lesser system. However, since SUSE is a free download, why not give it a try? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le Dienstag, 27. Februar 2007, Per Jessen a écrit :
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Does it run Apache? I tried to set up a basic server on an old Celeron with 200something ram, and Apache sucked the last byte out of it. Some other Native American tribe was much nicer to my old hardware. I think it was Cherokee. -- Gruß Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andreas wrote:
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Does it run Apache? I tried to set up a basic server on an old Celeron with 200something ram, and Apache sucked the last byte out of it.
I'll try it - I don't see why it shouldn't - it runs KDE (even if barely usable). /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
Andreas wrote:
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Does it run Apache? I tried to set up a basic server on an old Celeron with 200something ram, and Apache sucked the last byte out of it.
I'll try it - I don't see why it shouldn't - it runs KDE (even if barely usable).
Correction - this box is NOT running KDE. But I did install apache, and it's running just fine. Of course, whether it's really usable depends on what you intend to serve. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le Mittwoch, 28. Februar 2007, Per Jessen a écrit :
Correction - this box is NOT running KDE. But I did install apache, and it's running just fine. Of course, whether it's really usable depends on what you intend to serve.
Thanks for checking this out. I had Apache to serve out an "online mp3 player", a project done in php. As soon as Apache started, it forked itself a cpuple of times and in total used >64MB of my precious 200MB, which had the pc maxxed out right after booting. I guess I will try again with a faster pc and a new installation :( -- Gruß Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andreas wrote:
Thanks for checking this out. I had Apache to serve out an "online mp3 player", a project done in php. As soon as Apache started, it forked itself a cpuple of times and in total used >64MB of my precious 200MB, which had the pc maxxed out right after booting. I guess I will try again with a faster pc and a new installation :(
You can adjust how many copies of itself Apache forks on startup. I sometimes adjust it downward for personal webservers that aren't going to see more than a few hits at a time. That said, a lot of the memory used by each forked copy is actually shared code, and the copies that aren't doing anything will eventually get swapped out and stay there. So it's not as big a hit as you'd think. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David Brodbeck wrote:
Andreas wrote:
Thanks for checking this out. I had Apache to serve out an "online mp3 player", a project done in php. As soon as Apache started, it forked itself a cpuple of times and in total used >64MB of my precious 200MB, which had the pc maxxed out right after booting. I guess I will try again with a faster pc and a new installation :(
You can adjust how many copies of itself Apache forks on startup. I sometimes adjust it downward for personal webservers that aren't going to see more than a few hits at a time. That said, a lot of the memory used by each forked copy is actually shared code, and the copies that aren't doing anything will eventually get swapped out and stay there. So it's not as big a hit as you'd think.
And of course you do have no gui running and a swap file? Could you post the output of "pstree -apul" and "cat /proc/meminfo"? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le Donnerstag, 1. März 2007, Russell Jones a écrit :
David Brodbeck wrote:
Andreas wrote:
Thanks for checking this out. I had Apache to serve out an "online mp3 player", a project done in php. As soon as Apache started, it forked itself a cpuple of times and in total used >64MB of my precious 200MB, which had the pc maxxed out right after booting. I guess I will try again with a faster pc and a new installation :(
You can adjust how many copies of itself Apache forks on startup. I sometimes adjust it downward for personal webservers that aren't going to see more than a few hits at a time. That said, a lot of the memory used by each forked copy is actually shared code, and the copies that aren't doing anything will eventually get swapped out and stay there. So it's not as big a hit as you'd think.
And of course you do have no gui running and a swap file? Could you post the output of "pstree -apul" and "cat /proc/meminfo"?
Sorry for getting back at you so late. I actually didn't think the thread was still alive. However, do you know how to "adjust" apache so that it does not fork out? I was looking at the documentation for apache(2) and felt a little overwhelmed. Thanks a lot! Andreas This is the output of pstree -apul: hal9002:~ # pstree -apul init,1 ├─acpid,2304 ├─(cifsd,3578) ├─cron,3713 ├─dbus-daemon,2317,messagebus --system ├─(events/0,4) ├─faxgetty,3773,fax /dev/modem ├─faxq,3071,fax ├─hald,2355,haldaemon --daemon=yes │ └─hald-runner,2356,root │ ├─hald-addon-acpi,2538,haldaemon │ ├─hald-addon-keyb,2546,haldaemon │ ├─hald-addon-stor,2654 │ └─hald-addon-stor,2667 ├─hddtemp,2474 -d -f /etc/hddtemp.db -p 7634 -S 120 /dev/hdb ├─hfaxd,3079,fax -i hylafax -o 4557 -s 444 ├─httpd2-prefork,3739 -f /etc/apache2/httpd.conf -DSSL │ ├─httpd2-prefork,3807,wwwrun -f /etc/apache2/httpd.conf -DSSL │ ├─httpd2-prefork,3808,wwwrun -f /etc/apache2/httpd.conf -DSSL │ ├─httpd2-prefork,3809,wwwrun -f /etc/apache2/httpd.conf -DSSL │ ├─httpd2-prefork,3810,wwwrun -f /etc/apache2/httpd.conf -DSSL │ └─httpd2-prefork,3811,wwwrun -f /etc/apache2/httpd.conf -DSSL ├─(khelper,5) ├─klogd,2905 -c 1 -x -x ├─(ksoftirqd/0,3) ├─(kthread,6) │ ├─(aio/0,108) │ ├─(cifsdnotifyd,3571) │ ├─(cifsoplockd,3570) │ ├─(cqueue/0,68) │ ├─(kacpid,10) │ ├─(kauditd,3580) │ ├─(kblockd/0,9) │ ├─(kgameportd,1295) │ ├─(khubd,1095) │ ├─(kjournald,812) │ ├─(kjournald,1864) │ ├─(kpsmoused,369) │ ├─(kseriod,69) │ ├─(kswapd0,107) │ ├─(nfsd4,3120) │ ├─(pdflush,105) │ ├─(pdflush,106) │ └─(rpciod/0,2950) ├─(lockd,2951) ├─master,3682 │ ├─pickup,3700,postfix -l -t fifo -u │ └─qmgr,3701,postfix -l -t fifo -u ├─(migration/0,2) ├─mingetty,3749 --noclear tty1 ├─mingetty,3750 tty2 ├─mingetty,3752 tty3 ├─mingetty,3753 tty4 ├─mingetty,3754 tty5 ├─mingetty,3769 tty6 ├─mysqld_safe,3128 /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/lib/mysql/mysqld.pid--socke │ └─mysqld,3213,mysql --basedir=/usr --datadir=/var/lib/mysql --user=mysql--pid-file=/var/lib/mysql/mysqld │ ├─{mysqld},3370 │ ├─{mysqld},3371 │ ├─{mysqld},3372 │ ├─{mysqld},3373 │ ├─{mysqld},3443 │ ├─{mysqld},3444 │ ├─{mysqld},3448 │ ├─{mysqld},3449 │ ├─{mysqld},3728 │ ├─{mysqld},3732 │ └─{mysqld},3733 ├─mythbackend,3727 --daemon --logfile /var/log/mythtv/mythbackend.log │ ├─{mythbackend},3731 │ ├─{mythbackend},3734 │ ├─{mythbackend},3735 │ ├─{mythbackend},3736 │ ├─{mythbackend},3737 │ ├─{mythbackend},3738 │ ├─{mythbackend},3740 │ ├─{mythbackend},3741 │ ├─{mythbackend},3742 │ ├─{mythbackend},3743 │ └─{mythbackend},3744 ├─named,3093,named -t /var/lib/named -u named │ ├─{named},3094 │ ├─{named},3095 │ └─{named},3096 ├─(nfsd,3121) ├─(nfsd,3122) ├─(nfsd,3123) ├─(nfsd,3124) ├─nmbd,2952 -D -s /etc/samba/smb.conf ├─nscd,3630 │ ├─{nscd},3631 │ ├─{nscd},3632 │ ├─{nscd},3633 │ ├─{nscd},3634 │ ├─{nscd},3635 │ └─{nscd},3636 ├─ntpd,3603,ntp -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp ├─polkitd,2349 ├─portmap,2921,nobody ├─powersaved,3467 -d -f /var/run/acpid.socket -v 3 ├─pure-ftpd,3525 ├─resmgrd,2320 ├─rpasswdd,3503 -p 774 -6 --slp ├─rpc.mountd,3136 ├─rsyncd,3543 --daemon ├─slpd,3523,daemon ├─smbd,3562 -D -s /etc/samba/smb.conf │ ├─smbd,3593 -D -s /etc/samba/smb.conf │ └─smbd,4357 -D -s /etc/samba/smb.conf ├─sshd,3594 -o PidFile=/var/run/sshd.init.pid │ └─sshd,3813 │ └─bash,3816 │ └─pstree,4358 -apul ├─syslog-ng,2902 -a /var/lib/dhcp/dev/log -a /var/lib/named/dev/log -a /var/lib/stunnel/dev/log ├─udevd,856 --daemon └─xinetd,3591 And here comes cat /proc/meminfo hal9002:~ # cat /proc/meminfo MemTotal: 255360 kB MemFree: 165048 kB Buffers: 4396 kB Cached: 27536 kB SwapCached: 4496 kB Active: 23992 kB Inactive: 14644 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 255360 kB LowFree: 165048 kB SwapTotal: 851436 kB SwapFree: 811060 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 5708 kB Mapped: 7364 kB Slab: 44532 kB PageTables: 1072 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 979116 kB Committed_AS: 372456 kB VmallocTotal: 770040 kB VmallocUsed: 9536 kB VmallocChunk: 760348 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 Hugepagesize: 4096 kB -- Gruß Andreas
Andreas wrote:
However, do you know how to "adjust" apache so that it does not fork out? I was looking at the documentation for apache(2) and felt a little overwhelmed.
You can't stop it from forking entirely -- it needs one process for each concurrent incoming connection, and will fork as needed to provide that. But you can control how many copies of itself it pre-forks, and how many spares it leaves running, in the configuration file. It looks like the one you want is /etc/apache2/server-tuning.conf. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le Samstag, 3. März 2007, David Brodbeck a écrit :
Andreas wrote:
However, do you know how to "adjust" apache so that it does not fork out? I was looking at the documentation for apache(2) and felt a little overwhelmed.
You can't stop it from forking entirely -- it needs one process for each concurrent incoming connection, and will fork as needed to provide that. But you can control how many copies of itself it pre-forks, and how many spares it leaves running, in the configuration file. It looks like the one you want is /etc/apache2/server-tuning.conf.
Found it, tweaked it, works. Thank you! -- Gruß Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 27 February 2007, Per Jessen wrote:
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
I have a low volume web server running in a Pentium 120. (No roman numerals after the word Pentium.) It has 120meg of ram, and all it does is serve a small newsletter web site for a small company. The OP wanted ftp/nfs/samba as well, and a machine that small can do all of those things, not not for vary much of a load. I wouldn't look for another distro, I'd look for more memory that better use of cache could be had. -- _____________________________________ John Andersen
John Andersen wrote:
The OP wanted ftp/nfs/samba as well, and a machine that small can do all of those things, not not for vary much of a load. I wouldn't look for another distro, I'd look for more memory that better use of cache could be had.
Ditto. More memory will make the machine more agile and comfortable to work with/on. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Fair enough. You're not running beagle or ZMD on it are you? What packages do you have installed? Or if the list's too long, how many? What package management system do you use? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Russell Jones wrote:
Per Jessen wrote:
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Fair enough. You're not running beagle or ZMD on it are you?
I'll have to check - ZMD almost certainly. It's actually a vanilla openSUSE 10.2 install.
What packages do you have installed? Or if the list's too long, how many?
I think the total install was about 1.6G, but I don't know how many packages - is there an easy way to look it up?
What package management system do you use?
Vanilla YaST. Granted, it is slow and when running in just 128M, it's swapping quite a bit too. With 196M it's fine. This machine is meant to replace our current firewall/gateway which is an ancient 486DX2 with 24M running suse 7.1. It's doing perfectly fine, but we want to upgrade to a more recent suse version. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
Russell Jones wrote:
Per Jessen wrote:
Jan Karjalainen wrote:
What's the hardware requirements for openSUSE 10.2 in text mode only? I have a Pentium II 300MHz with 192 MB RAM, which I'm going to use as a web and ftp/nfs/samba server. Does it have enough horsepower, or should I look for another distro?
It depends on what sort of load you expect, but I've got a Pentium 233MMX with 128M running 10.2 just fine.
Fair enough. You're not running beagle or ZMD on it are you?
I'll have to check - ZMD almost certainly. It's actually a vanilla openSUSE 10.2 install.
What packages do you have installed? Or if the list's too long, how many?
I think the total install was about 1.6G, but I don't know how many packages - is there an easy way to look it up?
rpm -ql | wc -l
What package management system do you use?
Vanilla YaST. Granted, it is slow and when running in just 128M, it's swapping quite a bit too. With 196M it's fine.
Quite. I think something like Debian 3.1 is better suited to this job. If it's just running as a firewall (and not, say, an HTTP proxy server), swapping won't be an issue. However, I'd find the slowness when adding new packages (bridging tools, say) irritating. I guess I could live with it if I had to or I was more familiar with SuSE. I have been using Debian since '99. I got the linuxemporium.co.uk "Cheap Linux" bundle ( http://linuxemporium.co.uk/products/general/#pid4170 ) and gave Slackware, Mandrake, SuSE, RedHat, etc all a go. Things have moved on a lot since then, though :-)
This machine is meant to replace our current firewall/gateway which is an ancient 486DX2 with 24M running suse 7.1. It's doing perfectly fine, but we want to upgrade to a more recent suse version.
I guess it'd be nice to have some of the newer kernel features. Packet filtering tables have changed a bit over the last few releases of Linux, BTW, with the introduction of xTables (forget the exact names) of which IP tables are a particular type, and I think some other types of table (which I haven't had cause to use). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Russell Jones wrote:
What packages do you have installed? Or if the list's too long, how many?
I think the total install was about 1.6G, but I don't know how many packages - is there an easy way to look it up?
rpm -ql | wc -l
696 packages.
Quite. I think something like Debian 3.1 is better suited to this job. If it's just running as a firewall (and not, say, an HTTP proxy server), swapping won't be an issue.
Absolutely. And I agree that other distros could well be better suited - it's purely a technical management issue of sticking to one distro.
However, I'd find the slowness when adding new packages (bridging tools, say) irritating.
Agreed, it is - but fortunately, a firewall/gateway is very stable. In our case, it really does just two things - firewall and NAT router. I've kept it up to date with the latest 2.4 series kernels and such, but that's all done by hand anyway.
This machine is meant to replace our current firewall/gateway which is an ancient 486DX2 with 24M running suse 7.1. It's doing perfectly fine, but we want to upgrade to a more recent suse version.
I guess it'd be nice to have some of the newer kernel features. Packet filtering tables have changed a bit over the last few releases of Linux,
Yeah. A new requirement is also to have the machine run an automatic ISDN dial backup, which the old 486 could easily do, but as we will be opening the box anyway, it seemed an opportune moment to upgrade to 10.2. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at SFr1/month/user. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Andreas
-
David Brodbeck
-
James Knott
-
Jan Karjalainen
-
John Andersen
-
Per Jessen
-
Russell Jones
-
Sandy Drobic