Most Popular
1500 questions
46
votes
1 answer
Is there still a use for irqbalance on modern hardware?
This question has been asked before, but I believe that the world has changed enough for it to be asked again.
Does irqbalance have any use on today’s systems where we have NUMA-capable CPUs with memory sharing between their cores?
Running…
espenfjo
- 1,726
46
votes
5 answers
Using sed to remove both an opening and closing square bracket around a string
I'm running this command in a bash shell on Ubuntu 12.04.1 LTS. I'm attempting to remove both the [ and ] characters in one fell swoop, i.e. without having to pipe to sed a second time.
I know square brackets have special meaning in a regex so I'm…
Xhantar
- 1,112
46
votes
1 answer
HP ProLiant DL360 G7 hangs at "Power and Thermal Calibration" screen
I have a new HP ProLiant DL360 G7 system that is exhibiting a difficult-to-reproduce issue. The server randomly hangs at the "Power and Thermal Calibration in Progress..." screen during the POST process. This typically follows a warm-boot/reboot…
ewwhite
- 201,205
46
votes
2 answers
Run Elevated Powershell prompt from command-line
Is there a way to run a Powershell Prompt with Elevated privileges from a command linein Server 2012?
Problem is this is 'Minimal Server Interface' mode without full server-gui installed so I can run powershell from only either the command prompt or…
NickC
- 2,513
46
votes
3 answers
Why is Linux reporting "free" memory strangely?
This is a canonical question about how Unix operating systems report memory usage.
Similar Questions:
Server refuses to use swap partition
Memory Usage in LINUX
I have production server that is running Debian 6.0.6 Squeeze
#uname -a
Linux…
user135199
46
votes
4 answers
OpenVPN performance: how many concurrent clients are possible?
I am evaluating a system for a client where many OpenVPN clients connect to a OpenVPN server. "Many" means 50000 - 1000000.
Why do I do that? The clients are distributed embedded systems, each sitting behind the system owners dsl router. The server…
Steffen
- 708
46
votes
4 answers
How can I debug nginx further than the error log?
I'm currently receiving a fairly large HTTP flood right now, and it's causing my nginx reverse proxy to produce a 502 Bad Gateway.
I have a frontend server running nginx as a proxy to my backend server, but it's just getting a bunch of connect()…
Rob
- 2,513
46
votes
5 answers
How do I make uWSGI restart when a Python script is modified?
Can't remember where, but I read uWSGI can reload itself like Django development server when a project script is modified. I can't find that in the docs, nor in the internets. How can I do this?
I use Ubuntu 12.04 on my working machines and Debian…
culebrón
- 575
46
votes
8 answers
create 'virtual file' from bash command output?
I wonder if there is a way to create a 'virtual file' from a bash output.
Example:
Let's say I want to email the output of mysqldump as an attachment to an external email address.
I can use Mutt to do so.
The mutt option I need to use is -a
ppbitb
- 562
46
votes
3 answers
What should the order of DNS servers be for an AD Domain Controller and Why?
This is a Canonical Question about Active Directory DNS Settings.
Related:
What is Active Directory Domain Services and how does it work?
Assuming an environment with multiple domain controllers (assume that they all run DNS as well):
in what…
MDMarra
- 101,323
46
votes
3 answers
preserve permission with scp
SCP does not seem to preserve ownership stamps even if used with -p option.
scp -p /mysql/serv/data_summary.* some_server:/mysql/test/
The files are owned by mysql and I want the same ownership to be assigned on the destination server. I need to…
shantanuo
- 3,669
46
votes
3 answers
nginx as reverse proxy with upstream SSL
I'm building a proxy for an internal API to allow clients to connect without having to have the self-signed certificates installed.
Clients (built, owned and used only internally) will connect over SSL to the nginx box, where I'm using XSendfile to…
simonmaddox
- 610
46
votes
2 answers
EC2: is an instance's public DNS stable? Can I rely on it not changing?
I've launched my first instance, and am using it as a web server. I see that it has a public DNS (a public URL), e.g.:
ec2-123-45-6-789.compute-1.amazonaws.com
I can successfully go to this server in my browser, hit it via cURL, etc.
I want to use…
Aseem Kishore
- 563
- 1
- 4
- 4
46
votes
3 answers
How to check my PHP and MySQL version on Ubuntu VPS?
HI I am going to install MyBB but I am not sure whether I have installed the correct version of PHP and MySQL.
PHP version 5.1.0 or above with XML Extension installed
MySQL version 4.0 or above
How to check that? Especiall the PHP XML…
DocWiki
- 693
46
votes
4 answers
What is the maximum username length on current GNU/Linux systems
I'd like to know what the maximum username length is for current GNU/Linux systems, e.g. Ubuntu 11.04.
8 characters appears to be some historical standard, but I've already noticed on my current Ubuntu system that this limit does not apply.