Questions tagged [resources]

106 questions
2
votes
1 answer

MySQL file limit. Error Out of resources

I was benchmarking my database the other day using mysqlslap, and I ran into a "Out of resources when opening file '/tmp/somefile' (Errcode: 24)" error. I with a few click on google, I found a solution to a problem, which is to…
Katafalkas
  • 523
  • 2
  • 8
  • 20
2
votes
5 answers

Track resource usage on Ubuntu server while I'm sleeping?

I've got a pretty typical LAMP server running a web site but sometimes, during the night, resource usage skyrockets and the site becomes unresponsive. There are a lot of logged errors about being unable to connect to MySQL, and the MySQL process…
Sean
  • 141
  • 3
2
votes
1 answer

VPS etiquette, and how server resources are meant to be used

I'm renting a tiny Linode to mess around with, host my site and learn more about Linux. It's a VPS with 512MB of RAM and 16GB of storage. I've never owned a computer that wasn't sitting in front of me before, so I've got some questions: I've got…
alexmuller
  • 142
  • 7
2
votes
2 answers

top: What does cpu usage mean?

I have several processes right now running at 100%. Is it 100% of the alloted resources to the process? UPDATE Take a look at this for example: top - 06:01:13 up 5 days, 22:19, 2 users, load average: 0.74, 1.24, 1.12 Tasks: 297 total, 1 running,…
gAMBOOKa
  • 979
  • 6
  • 18
  • 33
2
votes
2 answers

MS SQL Server: multiple databases on one or more VMs?

We are planning to deploy an eCommerce Solution using three distinct databases, all to be hosted in MS SQL Server 2008 R2. The whole stack will be hosted in a VMWare environment (two physical machines with a parallel setup of VMs). The question I…
Peter Becker
  • 180
  • 10
2
votes
1 answer

pthread_create failed (EAGAIN) with most software

I have a vServer (16GB RAM, 6 vCores) running Ubuntu Server (Linux 4.15.0) with a few docker containers. A few days ago, I deployed a new container, and it would simply refuse to start with weird native crashdumps from docker-compose, most including…
Twometer
  • 91
  • 1
  • 8
2
votes
0 answers

Is there a way to have pacemaker resource groups failover if all floating IP resources are unavailable?

I want to have multiple floating IPs in a resource group that will only failover if all IPs cannot work. Each floating IP is on a different subnet and can be used by the application I have. If a floating IP is unavailable it will use the next…
dev4life
  • 21
  • 1
1
vote
1 answer

How to get resource quotas for every resource in GCP

I have set up few resources in my project on Google Cloud Platform. I was looking for the resource quotas that is applicable for all the resources under a project. As per the documentation here: https://cloud.google.com/compute/quotas, running the…
1
vote
0 answers

Limit processes resources usage with (PowerShell) script

(Sorry for duplicate of https://stackoverflow.com/questions/57704486/limit-processes-resources-usage-with-powershell-script) I'm setting up a shared computer (up to 50 concurrent users) and I'd like to anticipate one obvious future remark from my…
1
vote
3 answers

Chef 12.5 Custom Resources - Accessing Resources in Recipes

I am writing a cookbook that uses the Custom Resources present in Chef 12.5. I have a custom resource that uses a template resource and as such has a notifies that reloads the associated service. However the associated service is managed in the main…
kemra102
  • 211
  • 4
  • 12
1
vote
0 answers

Nginx + PHP-FPM Too Many Resources

My Server has the following Specs CPU: 6 Cores Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz RAM: 32 GB I have a problem with nginx+php-fpm. They are taking too many resources for an unknown reason. Even if i restart the nginx + php-fpm the start up…
user3393046
  • 121
  • 2
  • 10
1
vote
3 answers

puppet hash create file

Sooo i have this hash in app1's puppet manifest $applicaton = 'app1' daemontools::build { $application: path => "/opt/supervise/${application}" envvars => { 'ENVIRONMENT' => $location, …
Arenstar
  • 3,592
  • 2
  • 24
  • 34
1
vote
1 answer

Organize code in Chef: libraries, classes and resources

I am new to both Chef and Ruby and I am implementing some scripts to learn them. Now I am facing the problem of how to organize my code: I have created a class in the library directory and I have used a custom namespace to maintain order. This is a…
ColOfAbRiX
  • 980
  • 2
  • 11
  • 22
1
vote
1 answer

Why does pacemaker start on the secondary node instead of the primary?

I have two Linux nodes running httpd service. When I try to add the httpd resource on the primary node, the service starts on the second node instead of starting on the primary. What am I missing here? Initial settings: node vpc-storage-primary \ …
edotan
  • 1,786
  • 12
  • 37
  • 57
1
vote
1 answer

How to monitor server resources?

I would like to monitor the resources of my servers such as CPU, memory, disk space and many other things. I'm using Nagios + Centreon to do this, but I would like to have a historical view of the use of the resources and show them in charts to have…
Valter Silva
  • 155
  • 1
  • 4
  • 14