Most Popular

1500 questions
54
votes
2 answers

How can I increase the value of somaxconn?

I can check its value by cat /proc/sys/net/core/somaxconn, is it OK if I change it simply by echo 1024 > /proc/sys/net/core/somaxconn?
54
votes
5 answers

Need to add a "Wait" command to a Powershell script

Here is my current code: Write-output “ENTER THE FOLLOWING DETAILS - When Creating Multiple New Accounts Go to EMC hit F5(refresh) and make sure previous new account is listed before proceeding to the next one” $DName = Read-Host…
54
votes
4 answers

Bind to ports less than 1024 without root access

I would like to run applications I'm working on that binds to port numbers less than 1000 without requiring root access. I'm using Linux Mint and have root access to set it up. I would ideally like to be able to do it over SSH. Also happy hear if…
tarn
  • 645
54
votes
2 answers

Why do I have to edit /etc/sudoers with visudo?

I've noticed that the sudoers file and cron config files act in a special way compared to other config files on Linux. They need to be edited with a special wrapper rather than any text editor. Why is this?
Brian Lyttle
  • 1,787
54
votes
7 answers

Headless Ubuntu server machine sometimes stuck at GRUB menu

I have Ubuntu 10.10 Server installed on a single-board machine in a semi-embedded environment; no keyboard or screen, just SSH access to it. So it's really frustrating when it occasionally boots up and gets stuck on the GRUB menu, waiting for a…
mikepurvis
  • 1,047
54
votes
24 answers

Which websites should a system administrator read?

I try to religiously follow planet sysadmin as well as IBM developerworks. Which ones do you read and advise to other system administrators?
tomdeb
  • 709
54
votes
11 answers

Why should I use Amazon Route 53 over my registrar's DNS servers?

I am building a site that I anticipate will have high usage. Currently, my registrar (GoDaddy) is handling DNS. However, Amazon's Route 53 looks interesting. They promise high speed and offer globally distributed DNS servers and a programmable…
54
votes
4 answers

What is "freeable memory"?

Amazon RDS has a metric for 'freeable memory'. It appears to go up & down in a sawtooth pattern. This leads me to believe that it's memory that is being used by MySQL for caching and that when the cache expires, more freeable memory appears. Any…
Adam Nelson
  • 1,767
54
votes
22 answers

Why change default ssh port?

I've noticed that a lot of admins change the default ssh port. Is there any rational reason to do so?
sheerun
  • 643
54
votes
4 answers

How do I activate launchd logging on OS X?

How do I activate launchd logging on OS X 10.6? I added a new daemon that is not starting properly (status is 1). I want to debug the problem but I was not able to find launchd logs, they are not in /var/log/launchd.log.
sorin
  • 8,454
54
votes
5 answers

How exactly & specifically does layer 3 LACP destination address hashing work?

Based on an earlier question over a year ago (Multiplexed 1 Gbps Ethernet?), I went off and setup a new rack with a new ISP with LACP links all over the place. We need this because we have individual servers (one application, one IP) serving up…
Stu Thompson
  • 3,379
54
votes
8 answers

How to add message that will be read with dmesg?

I am trying to write some custom messages in my dmesg output. I tried: logger "Hello" but this does not work. It exits without error, but no "Hello" appears int the output of: dmesg I am using a Fedora 9, and it seems that there is no…
calandoa
  • 1,345
  • 2
  • 12
  • 14
54
votes
6 answers

Stop ssh client from offering all the public keys it can find?

Like most sysadmins I use openssh all the time. I have about a dozen ssh keys, I like to have a different ssh key for each host. However this causes a problem when I am connecting to a host for the first time, and all I have is a password. I want to…
Amandasaurus
  • 33,461
54
votes
11 answers

SSH via PowerShell

Is it possible to open an SSH session in PowerShell? Currently I use PuTTY but it would be nice if that were not required.
nw.
  • 723
54
votes
6 answers

SSL for devices in local network

Initial question We make devices which run a webserver and the user can control some functionality of the device by browsing directly to the IP of the device. This can be a fixed IP when a direct WiFi or ethernet connection is used but in most cases…
Daan Pape
  • 641