Questions tagged [resources]

106 questions
19
votes
14 answers

What are some good resources for learning PowerShell scripting?

Are there online resources or books that you would recommend as an introduction to PowerShell scripting? The resources I've found primarily focus on interactive use.
dmo
  • 2,100
  • 1
  • 16
  • 22
17
votes
4 answers

Something eats all memory (I suspect memory leak on some app). How to detect what?

I have server which runs liquidsoap+icecast bundle and simple website (httpd+mysqld). Nothing special. Visitors around 2000+ per day, with around 50 being online simultaneously on average. Server has 8GB RAM. As the time goes by, amount of free…
jayarjo
  • 337
  • 1
  • 3
  • 12
15
votes
4 answers

Cannot switch, ssh to specific user: su: cannot set user id: Resource temporarily unavailable?

/var/log/secure: su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_unix(su-l:session): session opened for user adtech by root(uid=0) su:…
quanta
  • 50,327
  • 19
  • 152
  • 213
12
votes
4 answers

Referring to an existing resource in CF Template

We have multiple CloudFormation scripts to create our stack. Now, we want to write (automate) new scripts which will be used just to updated 1 specific resource (business requirement). The thing which i am stuck at is how to refer to an existing…
Em Ae
  • 221
  • 1
  • 2
  • 3
12
votes
2 answers

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/base/1325/WA6144-150x112.jpg] to the cache because there was…
iainmac999
  • 223
  • 1
  • 2
  • 4
11
votes
3 answers

Pricing of Key Pairs and Security Groups on AWS?

My free AWS account expired. I deleted all S3 and EC2 resources, but am wandering if I can leave the Key Pairs and Security Groups without having to pay for them. (My account resources look like this now: Resources) Amazon's documentation does not…
boardrider
  • 889
  • 2
  • 15
  • 26
10
votes
0 answers

How to find which file is under heavy use/IO

Application on the Linux server is using several large files of 10-20 GB in size. It is constantly writing and reading on all of them, I want to see usage details: which file is under heavy use, see bandwidth, operation count etc. Is there a way to…
GioMac
  • 4,444
  • 3
  • 24
  • 41
9
votes
2 answers

nginx - connect() failed upstream under load testing

I've been doing some load testing with wrk of my nginx reverse proxy -> my web app setup and I noticed that when I get to 1000+ concurrent connections, nginx starts returning 502s and the following error message: 2015/04/17 20:45:26 [crit] 6068#0:…
Alexandr Kurilin
  • 546
  • 1
  • 8
  • 20
7
votes
1 answer

Why is routing neither CPU nor memory intensive?

I've recently been examining the performance statistics of my linux-based router, and have been surprised by what I'm seeing. I expected the routing workload to be much more taxing to RAM and CPU than it is. Can you help me understand why this is…
Carbon
  • 103
  • 8
7
votes
3 answers

How to safeguard a shell script against running out of control?

I've recently had an experience of writing a shell script which crashed a server (and damaged a partition) by consuming all resources. It was hooked up to a cron job, and it seems it took longer to run than the interval between executions, over time…
Steve Bennett
  • 5,539
  • 12
  • 45
  • 57
7
votes
8 answers

What great system administrator magazines are out there?

In August 2007, SysAdmin magazine ceased publication after 15 years. Since then, what resources (preferably magazines) have system administrators turned to to stay on top of their game?
KPWINC
  • 11,274
  • 3
  • 36
  • 44
5
votes
4 answers

How can I find exactly which PHP scripts are taking up all server resources?

If the web server is running slow, is there a way to see which files are responsible? Edited: Debian OS with Apache2 web server
tflynn
5
votes
6 answers

Monitoring CPU usage in Ubuntu

How to find out what process is using CPU to what extent in Ubuntu? I'd like to have real-time data as well as recorded history. Both console and GUI apps would be great. The situation is that my system seems to be really overloaded right now and I…
Alex
  • 2,287
  • 5
  • 32
  • 41
4
votes
2 answers

Can I limit user bandwidth/ram usage/CPU usage in Windows 2003/2008/2008 R2?

I would like to limit the resource usage on a per user basis on a Windows Server 2003, 2008, or 2008 R2 machine. Suppose I have four users logged into one machine using TS and they are all using various resources. How do I make sure that each user…
James Brown
4
votes
3 answers

Which VM needs more resources?

I have a physical server which runs 8 virtual machines with virt-manager and kvm. Since one VM is not needed any more, I want to give the remaining virtual machines more resources. I'm looking for ways that can help me to find out: Which VM does…
guettli
  • 3,113
  • 14
  • 59
  • 110
1
2 3 4 5 6 7 8