4 ms·
I'm in a similar boat to the OP. But when I read "kernel tweaking"... it terrifies me. Do Linux server admins actually... change anything related to the Linux
by crazygringo 14y ago
I'm in a similar boat to the OP. But when I read "kernel tweaking"... it terrifies me.
Do Linux server admins actually... change anything related to the Linux kernel?
I mean, I pretty much gave up on trying to understand Linux when the "certified" tech support at Rackspace couldn't figure out how to upgrade the version of PHP on my servers, apparently something to do with incompatibilities between the way the Red Hat PHP distribution was set up, and the official PHP one. And these are guys who have taken courses of years+ on configuring Linux, and that's still inadequate to achieve what would appear to me to be a trivial uninstall / reinstall.
Am I missing something here, or is Linux really this insanely hard to configure, to the point where I shoudn't even bother trying, and just leave it to the experts?
- loxs 14y agoNowadays, you will most likely never need to recompile your kernel. At least not if you are doing "normal" stuff. Let me give you an example of what kind of stuff you will come head to head with: Recently I was installing and configuring a Riak cluster. I wanted to configure it to use multi backend with a large partition ring. What these are is not essential to our discussion here. What is essential is that I hit the riak user's limit for simultaneously open files. This is a thing controlled by the kernel, but configurable in userspace. If you are interested, you can find how to raise the limit by using Google. This is the kind of "kernel tweaking" one usually needs to do. 1. How to make it work 2. how to make it persistent after server restart 3. WTF?! it's not the same in debian/ubuntu and Red Hat (half of the solutions I found don't work) But the harder part is not finding the solution. The harder part is finding out what is the problem. In order to do so, you need to have experience. Know where are the logs, know which logs to look at. Know how different systems behave under such conditions (in my case, Erlang VM). Be proficient with shell tools for diagnostics. Be able to use emacs or vi(m) on the spot (you have no graphical environment) etc. And there is no easy way in obtaining this skills. The only way is to get your hands dirty. Very dirty. Build systems, break systems, fix systems. You can't be good by just following tutorials, nor by using a sandboxed environment like a VPS.
- caw 14y ago>Do Linux server admins actually... change anything related to the Linux kernel? Yes. The Linux admins where I work have looked at TCP buffer settings, memory overcommit settings, and some other kernel level configurations. Last week, I was trying to determine for a user if the PF_SWAPOFF flag was being set on their process, and if memory was being harvested by the Out Of Memory Killer. Linux is not really this hard to configure. What I'm describing is hyper-optimization and OS level troubleshooting. Most of my developer friends have a passing familiarity with Linux administration if they host their own web servers. One of them even runs Gentoo on some of his VPS's. However, once he gets past the level of "blog post to tell you how to fix this" he generally calls me. He gets paid to develop applications, not fiddle around with the VPS.