Server running XP Pro: Should I go back to Linux?
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
Some of you guys have already seen what I said about Linux, and I'm really nervous about going back after the stuff I've been through with Linux. For some reason, though, I have this nagging feeling that I need to change my current web/mail/database/ftp server running on XP Pro back over to Linux again.
My hardware specs:
- 2004 vintage Pentium 4, 2.8 GHz single core, 1.5 GB RAM, 80 GB system/300 GB data hdd
My software specs:
- XP Pro SP3
- Apache 2 web server
- IMAP/SMTP mail server
- FTP server
- MySQL database server
Why I'd want to stay on XP:
- System easily configurable by remote access (VNC, Remote Desktop)
- Config files for OS and services relatively easy to find and edit, mostly using GUI tools (that actually work most of the time)
- Microsoft software updates hardly ever break the OS because I apply them manually, never using the automatic update feature
- Have had very good experience with NTFS. Have not had a catastrophic failure with NTFS in a very long time
- VB Script is easy for me, allows me to write all kinds of maintenance and backup scripts easily
Why going with Linux seems smart:
- OS is better-suited for server duty
- Linux has a little better security than Windows
- Built-in real firewall
- Servers on Linux seem to be a tad bit more responsive than on Windows
- Seems to work better on older hardware
Why moving to Linux scares me:
- Have had ext2/ext3 file system tear itself up beyond recognition on three occasions for no good reason
- System/service configuration not easy...GUI tools are limited or sometimes don't work correctly
- Software updates seem to cause more trouble than good
- Not easy to administer remotely using remote GUI tools (VNC, etc)
- Shell scripting isn't very easy (for me, anyway)
- Linux folder/file permissions are a giant pain in the behind
- Windows file sharing (Samba) is difficult to configure and often unreliable on Linux
So, with all of that said, what do you guys think? Are my concerns unfounded? Should I just stay on XP, or would the grass be greener on Linux? I was using CentOS and tried Ubuntu server, but what distro would you guys recommend for a light to medium traffic server?
Thanks in advance.
Ubuntu Server or maybe Fedora would be a decent choice for a relatively easy-to-configure LAMP server. Fedora even has an option in the installer to get all the server-related stuff you need in your base install (at least, it did last time I used it... maybe two or three releases ago).
ext4 is stable. You could try out something like reiserfs. I trust ext3/ext4 over NTFS any day.
VNC on Linux boxes works fine for me. There's also ssh, but that requires a little more bash-fu.
Ubuntu-based distros with their "sudo" default settings are a little kinder about permissions than more traditional GNU/Linux distros. "man chown" can give you all the instructions you need to fix any broken permissions, although depending on what went wrong it can be very tedious to clean up.
Which is why you normally use Windows solutions on Windows, and Linux solutions on Linux. I use either scp or sftp for file transfer.
Well, is something wrong with your current setup on XP? If it is mostly functional and you cannot risk a period of (possibly extended) downtime, the default answer is that you shouldn't fix if it ain't seriously broke. That said, I like GNU/Linux and think it might be better than XP. I'd recommend Fedora over CentOS because it's more up-to-date.
_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
Thanks! I'll check Fedora out in a VM first to see how it goes. I actually used Fedora (Core) a lot back in the earlier days. If I don't like Fedora, guess I'll just settle with Ubuntu. I liked Ubuntu's desktop, but the last couple of releases have been train wrecks, at least on my testing hardware.
k, though I will be avoiding reiserfs because it's not getting much developer attention these days after its creator was charged with murdering his wife or something like that.
I don't mind terminal stuff that much, I just work better in GUI environments. I did a great deal of my admin duties through SSH when using CentOS, but there are some things to me that are easier, and quicker, using a GUI.
Well, I'm in a mixed environment. For the bulk of my work, I use Windows, but I also use OS X and Linux, but there are more Windows machines than any others in my network.
Is something wrong with my XP setup? I'm not sure. It just seems to have a lot more latency than my Linux server had as far as web-page loads and what-not. When I open some files on the server from my Windows 7 workstation through Windows networking, it sometimes takes forever to load, and life is too short.
Thanks Orwell. I'll take your advice and see how Fedora looks in a VM at first. I was using CentOS because it was stable, though it was a bit stale too. I hope Fedora isn't so bleeding edge that it's unreliable though.
Fedora isn't quite as bleeding edge/unstable as its reputation. I mean, sure, they often ship beta versions of Firefox and whatnot in their "stable" release, but they update it to the stable version as soon as possible and the core system seemed solid enough. I had no more or less stability problems in Fedora than I did in Ubuntu, but I came back to Ubuntu for the familiarity/ease-of-use and the more extensive repositories.
_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH
Don't even bother with reiserfs, it's one of those things that looks good on paper but perform horrible in situations that counted.
You are using XP server to serve Win7 clients? The web server performance difference may be due to XP's 10 half open connections limit. As for Windows networking, Win7 is optimized for SMB2 so it's possible that SMB1 doesn't do well with the new TCP/IP stack. But "taking forever to load" sounds more like problems in settings. Also check the time of the machines, the authentication could fail if the time drifted apart too much.
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
CloudWalker, thanks for your input.
As far as Windows file-sharing, yes, this XP Pro server is serving a Windows 7 machine, a Vista machine and a two-year-old Mac. I know there are differences in SMB between XP and later versions of Windows, so my problems aren't completely unexpected. I just don't have it in the budget for Server 2008 or something like that.
I was aware that there were limits to XP Pro's networking connections, but I thought that was only with SMB? Are you saying that *any* network connection counts toward the limit?
I'm sorry, I wasn't clear about the 'taking forever to load' part. After I wrote that, I think it's more of a file-locking issue than a networking problem. I check my apache log often from my Windows 7 machine through the network, using Firefox to view the actual file. Sometimes I hit Refresh and it loads right away, other times it takes 15 to 20 seconds. It's possible apache is locking the log file for a time, then closing it, but it's a pain. I haven't had that problem with the logs for other services, and I don't have problems copying files or using RDP to admin it.
If XP Pro's 10 connection limit is for *any* network connection, then I need to get onto Linux.
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
I took your advice and tried Fedora, adding the extra packages for server duty, but I was not pleased with it. I don't like the "end-user is stupid" assumption, where they lock out access to root and make you sudo for everything. If I want to log in as root, dag bern it, that's my choice. I know the security risks, I don't need some distro telling me what I can and cannot do. It's the same blasted thing with Ubuntu Server. I know this can be changed with Fedora and Ubuntu, but CentOS, right out of the box allows me to log in as root if I want to, without wearing out my 's','u','d' and 'o' keys.
I guess I'm just stupid, because I have so many problems with Linux, while just about everyone else sails along on smooth seas with no problems. Grrr!
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
I did find some info on this here http://support.microsoft.com/kb/314882. It's still not super clear if it applies only to Windows services like file-sharing, print-sharing, etc. There was one paragraph that stood out to me, but I'm having a hard time understanding it right now:
Hmmm....
I took your advice and tried Fedora, adding the extra packages for server duty, but I was not pleased with it. I don't like the "end-user is stupid" assumption, where they lock out access to root and make you sudo for everything. If I want to log in as root, dag bern it, that's my choice. I know the security risks, I don't need some distro telling me what I can and cannot do. It's the same blasted thing with Ubuntu Server. I know this can be changed with Fedora and Ubuntu, but CentOS, right out of the box allows me to log in as root if I want to, without wearing out my 's','u','d' and 'o' keys.
I guess I'm just stupid, because I have so many problems with Linux, while just about everyone else sails along on smooth seas with no problems. Grrr!
I didn't realize Fedora used sudo. The last time I used it they had the traditional style of permissions and user accounts where you had to log in as root for administrative tasks.
Anyways, in "sudo" distros you can add a bash alias to make "su" be interpreted as "sudo su" which more or less makes them behave like CentOS would.
I just checked, and on the command line I don't see any block to logging in directly as root on Ubuntu.
_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH
The limit applies to all TCP connections in the handshaking state. You can search the event log for Event ID 4226 to see if this affected you.
What you described is probably the reason of the slow down. The size of the log may also be a factor, it could grow quite large and I'm not sure firefox is adept at handling that. Does the delay ever happen if you copy the log manually to the local machine? And does opening the log with firefox locally have similar issues?
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
What you described is probably the reason of the slow down. The size of the log may also be a factor, it could grow quite large and I'm not sure firefox is adept at handling that. Does the delay ever happen if you copy the log manually to the local machine? And does opening the log with firefox locally have similar issues?
Oh, okay, I understand the XP connection limit now, thank you!
As far as Firefox being able to read the log properly, I've been using this approach for a long time...it's only become a problem when I switched to this server running XP Pro. If I was running Linux, it didn't happen, and I think even when I was running XP Home it didn't do this, though there were tons of people complaining about not being able to connect to the web-site when I was running XP Home.
At this point I have already scrounged enough parts together to make another server, and I loaded the latest CentOS on it last night. It's going to be a pain configuring it, but now that you have told me about the 10 connection limit, I had a 'Duh!' moment and now understand that Linux is the best way to go here...unless I want to buy MS Server 2008 R2 or whatever the latest is. No thanks, I don't have it in my budget for that, and don't need the Active Directory junk just to run my own web/mail/ftp/db server.
Thanks again for your feedback guys, I really appreciate it.
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
What you described is probably the reason of the slow down. The size of the log may also be a factor, it could grow quite large and I'm not sure firefox is adept at handling that. Does the delay ever happen if you copy the log manually to the local machine? And does opening the log with firefox locally have similar issues?
Oh, okay, I understand the XP connection limit now, thank you!
As far as Firefox being able to read the log properly, I've been using this approach for a long time...it's only become a problem when I switched to this server running XP Pro. If I was running Linux, it didn't happen, and I think even when I was running XP Home it didn't do this, though there were tons of people complaining about not being able to connect to the web-site when I was running XP Home.
At this point I have already scrounged enough parts together to make another server, and I loaded the latest CentOS on it last night. It's going to be a pain configuring it, but now that you have told me about the 10 connection limit, I had a 'Duh!' moment and now understand that Linux is the best way to go here...unless I want to buy MS Server 2008 R2 or whatever the latest is. No thanks, I don't have it in my budget for that, and don't need the Active Directory junk just to run my own web/mail/ftp/db server.
Thanks again for your feedback guys, I really appreciate it.
Just to make sure it's clear, the limit isn't about the number of connections. It's about how many new connections Windows will process at a time. If the situation is worse with XP Home, then it's even more likely the reason. M$ is a bit evasive on the limit of XP Home but some say it's as low as 5.
Actually, M$ has disabled the limit in Vista SP2 and Win 7. So, if you have any unused Vista/7 license lying around, you can put the server on those OS. Switching to linux is also a good choice if you don't need active directory.
BNineFounder
Tufted Titmouse
Joined: 5 Jul 2010
Age: 54
Gender: Male
Posts: 39
Location: Big Owie, California USA
Well, to anyone following along, I finally went back to CentOS Linux today from my XP Pro box. Current server is an old 3 GHz Pentium 4 machine with 1 GB RAM. Took forever to configure, even with backed up configuration from my last foray into Linux. Just as I said before, configuring a server on Linux is crazy slow and inefficient compared to configuring it on Windows, but the issues with latency seems to have disappeared. My web-pages load faster, accessing my logs through the network is much faster...and for some reason, I feel at ease now compared to when I was running XP.
Thank you guys for your input and tips, I really appreciate it.
Similar Topics | |
---|---|
Any linux people can help me? |
16 Feb 2024, 10:05 am |
Mexico City may be months away from running out of water |
25 Feb 2024, 11:55 pm |
Do you think it will ever be possible to go back in time? |
20 Apr 2024, 7:33 pm |
I want my baby back, baby back, baby back, baby back |
12 Apr 2024, 1:34 pm |