CPU resources were limited - limit

My wp-admin, cpanel and webmail are notified as follows:
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.his
Hosting provider give the following reasons:
CPU resources were limited for your site
You have reached entry processes (number of simultaneously running php and cgi scripts, as well as cron jobs and shell sessions) limit 4023 times
The Swift account is allotted the following resources:
Number of Processes: 50. Currently 35.
Entry Processes: 35. Currently 35
Virtual Memory Usage: 8GB. Currently 653MB
Physical Memory Usage: 1GB. Currently 136.8MB.
CPU: 100 % of 2 x 2.1 ghz virtual CPU's. Currently at 0.
What should I do for my sites could be back to normal again?
Thanks & Kind regards, Feby

Login to WHM WebHost Manager as 'root'
Link to Access WHM : https://yourserverIP:2087
Username : root
Password : Enter root password of Server *******
Click on "CloudLinux LVE Manager" under "Server Configuration"
WHM Home » Server Configuration » CloudLinux LVE Manager
In the 'statistics' tab you can check whether any sites hit the Entry process Limit.
Click on "Settings" tab. Here you can see Current Entry process Limit set for Domains.
Click on "Edit" to increase the Entry process EP for the website.
Settings for LVE 502 (Username - website.com)
Concurrent connections (EP) - Here you can see the current Entry process Limit set for the domain, you can enter a new Entry process Limit value.
Click on Apply after making changes.
WHM Home » Server Configuration » CloudLinux LVE Manager » Settings » Edit » Apply

Related

How do you disable SeImpersonatePrivilege from an Apache Tomcat log on user account?

Steps to reproduce the problem :
I have below configuration in my machine. But this issue happens in any Tomcat version.
Configuration Details :
Tomcat version : 9.0.54
Windows : Windows 10 Enterprise 64 bit Edition
create new user (lets call it, NewUser) from "Edit local and user groups" and set password.
Assign Permission of NewUser to Tomcat 9.0 folder.
open Services from Taskbar search.
Right click on Apache Tomcat 9.0 and click Properties.
From Properties dialog, click on Log On tab.
Browse New user from Browse option next to "This account".
Enter User password you set in Step 2.
Here is first problem on click on apply, pop up comes up with a message "The account .\New user has been granted the Log On As a Service right".
Due to Step 9, New User is assigned a local service rights, and hence the SeImpersonatePrivilege (Details in this link 1. https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/seimpersonateprivilege-secreateglobalprivilege).
Problem statement : How to stop step 9 and step 10 above as well as smooth start of Apache Tomcat Service ?
The Above screenshot is from ProcessExplorer64.exe ( you can download from internet) and right click on Tomcat9.exe and then click properties. You can find above screenshot.
Trial 1 : Removed "Local Service" from "Local Security Policy" of Windows 10 Configuration. Check ProcessExplorer (In attachment) still showing SeImpersonatePrivilege enabled.
Trial 2 : Created "new user" from "Edit local user and groups" and added as Apache Tomcat log on user. Still SeImpersonatePrivilege is enabled.
How to disable SeImpersonateprivilege ?

How do we change AppPool idle timeout in Plesk WebAdmin (Shared Hosting)?

I have a website that is hosted on Plesk in Shared Hosting. The session keeps on timing out because the app pool recycles after 5 minutes (even though session timeout is set to 30 min). The effect of session timeout is exaggerated because current user activity is quite low and for users testing the app, the session keeps on timing out every 5 minutes.
On plesk web hosting panel, I can see the AppPool settings but they are disabled. Is there a way to change this setting?
Unfortunately no you cannot change this. I heard that you can set up your webapp to ping periodically to try and keep it alive:
https://www.godaddy.com/community/Developer-Cloud-Portal/IIS-Application-Pool-Idle-Timeout/td-p/9158
Can you prevent your ASP.NET application from shutting down?
If you can't change IIS settings, you can use an external uptime monitor service to continuously query your website with GET requests, which will also keep it alive. Most uptime monitors don't send actual requests, however the Availability feature in Application Insights does and works perfectly for this.
I wrote more about it here.
It's possible in Plesk for Plesk admin and customers/resellers:
Permissions to manage IIS pool settings are granted on a service plan level. Contact Plesk admin to change permissions on a service plan that your domain is assigned.
If you login to Plesk under an 'admin' user, make sure your Plesk is opened in a Service Provider view as this view allows editing Service Plans.

Bitstream PageFlex Storefront Server Crash

this question is about PageFlex StoreFront server crash and recovery. We were able to recover the OS Drive and all Storage. We moved it via clonning to a new box.
The License Administrator displays the Host Server and License as OK -- no errors. The software runs as it always has except we have this error in event viewer regarding the PFLicenseServer Service:
PFLicenseServer
Computer: WEBSERVER
Description: Licensing failure: Not enough licenses for Pageflex Server Job machine 'WEBSERVER'.
And yet the License Administrator displays OK!
On reboot a Service startup problem alert popsup. Any ideas how I can resolve this? I've scoured the registry and the path to the Service is correct. So I'm at a brick wall.
A few things you can check:
Server Admin
- Is the host that failed still in the list of hosts?
- Does the failed host still have engines it can run? Try setting Minimum Idle Engines and Maximum Concurrent Jobs to 0.
- Host logs
Licensing Administrator:
How many CPUs are in use?
More information on what version of Pageflex you are running would be helpful. Also is this a server license or are you running storefront? If Storefront, does this come up successfully?

How to configure active directory running on Virtual machine

I have active directory installed on a Virtual Machine having OS Win Server 2012.
Now I want to configure it so that users can access it.
My IP Add is: 103.31.80.54
Subnet Mask: 255.255.255.252
GW: 103.31.80.53
What to do??
Follow the below mentioned steps from the Server Manager on Windows 2012 Server:
Open the Notifications Pane by selecting the Notifications icon from the top of the Server Manager. From the notification regarding configuring AD DS click
Promote this server to a domain controller.
From the Deployment Configuration tab select Add a new forest from the radial options menu. Insert your root domain name into the Root domain name field. [i.e
yourdomain.com]
Review and select a Domain and Forest functional level. Once selected fill in a DSRM password in the provided password fields. The DSRM password is used when
booting the Domain Controller into recovery mode.
Review the warning on the DNS Options tab and select Next.
Confirm or enter a NetBIOS name and click Next.
Configure the location of the SYSVOL, Log files, and Database folders and click Next.
Review the configuration options and click Next.
The system will check to ensure all necessary prerequistes are installed on the system prior to moving forward. If the system passes these checks you will
proceed by clicking Install. [The server will automatically be rebooted once the installation completes]
Once the server is done rebooting reconnect via RDP. Congratulations on successfully installing and configuring a Active Directory Domain Services on Windows
Server 2012.

Heroku Bandwidth Limit Exceeded

Please, try to acess:
http://unidemico.herokuapp.com/
It is working the index page, but when I'm trying to acess any Available controller:
Available Controllers:
unidemico.AreaAcademicaController
unidemico.ArtigoController
I get the following error:
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
Apache Server at www.changeme.com Port 80
Any Idea why?
https://devcenter.heroku.com/articles/limits
I have no idea if I exceed any limit its the first time I deploy an application and its a Grails application very simple, only two controllers, project has only 2Mb...
changeme.com is a placeholder domain. You need to update your Config.groovy to point to your heroku app domain or your custom domain.

Resources