Windows Server 2012 R2, every once in a while a runaway process will take up all the CPU and my RDP session will either take forever to start or disconnect after a long wait. Is there a way to reserve a CPU so that I never have an issue Remoting into the server?
Tyler Clendenin's questions
I have two virtual disks sda
and sdb
on an rhel7 VM. My /var
and /var/log
folders are both constrained by the sizes of their initial provisioned logical volumes
.
sda
is partitioned into an xfs filesystem: /dev/sda1
mounted at /boot
and a physical volume: /dev/sda2
named rhel
.
There is a volume group: rhel
with several logical volumes, specifically the ones of concern to this question are mounted at /var
, /var/log
, /var/log/audit/
and /var/tmp
.
The disk sdb
is new and I was thinking of creating a single pv/vg out of the drive and moving /var
, /var/log
and /var/log/audit/
(keeping /var/tmp
on it's own lvm on sda2
) to it.
- Would it just be better/possible to just grow the current logical volumes from space allocated from the new disk, if so, how does that work?
- Is there a good reason NOT to just have
/var
,/var/log
and/var/log/audit/
on the same logical volume? - Is there a way to do this online, meaning this is a web server and I would like to have it continue serving?
- If this is unable to be done online, what steps would I need to take to reboot into a mode I can ssh into the server but no other services running that would prevent me from unmounting/moving the
/var
folder's contents?
OS: Windows Server 2008 R2
IIS: 7.5
No Managed Code
I am trying to nail down the issue here. I am not sure if it was precipitated by some change from a group policy (I don't have any control over that) or from installing some Windows Update.
All of a sudden after a reboot, none of my sites would work, they all respond with HTTP Error 503. The service is unavailable.
The app pools were stopped and there are 5 warnings (EventID 5009, EventSourceName WAS) and 1 error (EventID 5002, EventSourceName WAS) in the System event logs and 5 errors (EventID 2276, EventSourceName W3SVC-WP) in the Appliation event logs (per app pool).
I switched all my sites to a single app pool and change the identity to NetworkService and they all work. This however seems like a security/scale issue?
I downloaded DebugDiag 2 and tried to get a dump, however it never seemed to trigger. I also try to find the process in Process Explorer, but any app pool not using the NetworkService identity doesn't show up.
I don't know how else to look for the root cause.
EDIT @Lex Li
Checked my Debug Tool log and found this
[7/19/2018 3:29:02 PM] New process found: Process Name - w3wp.exe Process ID - 4652 Process Identity - IIS APPPOOL\Test Pool Web application pool name - Test Pool
[7/19/2018 3:29:02 PM] Attach Debugger: Process Name - w3wp.exe Process ID - 4652 Control Script - C:\Program Files\DebugDiag\Scripts\CrashRule_WebAppPool_Test Pool.vbs
Script Error
Error Code - 0x80070002
Error Source [DbgSvc.Controller.1]
Error Description []
Line 93, Column 2
[7/19/2018 3:29:03 PM] Process Exited: Process Name - w3wp.exe Process ID - 4652 Web application pool name - Test Pool
However that only shows up once, and can't reproduce it.
I am new to memcached but have installed and am using it for an application.
My application reports that it should have a few hundred thousand items cached, however memcached says it only has anywhere between 11k and 13k items. I also see many cache misses.
Here's my /etc/sysconfig/memcached file
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="7GB"
OPTIONS=""
As you can see it should have 7 GB of RAM to work with, however I don't know if it ever goes above using 30 MB.
CentOS 7, Memcached version 1.4.15
Some relevant stats
STAT cmd_get 320529
STAT cmd_set 111654
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 258056
STAT get_misses 62473
STAT delete_misses 4
STAT delete_hits 11
...
STAT bytes 28758173
STAT curr_items 12385
STAT total_items 111654
STAT expired_unfetched 0
STAT evicted_unfetched 73714
STAT evictions 97315
After installing Hotfix 11 on Coldfusion 11 my version number is stuck at 11,0,03,301867. It shows the update level correctly at chf11000011.jar.
The Server works, however it shows 8 updates are not installed (it was fewer before the update).
I have a SQL Server with many databases on it, the databases run a wide variety of sizes and activity.
It would be great if there was an application or SQL script that I could run to advise me on recommendations of size and costs to migrate to Azure.
At the very least if there are scripts I could run to get a sense of how many "DTUs" I would need. (I don't quite get the concept)
Coldfusion writes uploaded files to it's temporary folder, where the cffile tag will pick it up. However I want my server to ignore uploaded files and not have them written to disk at all.
How can I prevent Coldfusion from writing these files to disk?
Edit:
Or is there a way to block multipart requests in IIS (7+)?
I would like to take log files from IIS and import them into a tool. Then in that tool I would like it to generate a load testing script that includes all the requests and the timing of the requests.
It would be ideal if I could change the timing of the requests, or if the software contained some extra feature to speed up traffic until the response times were affected or reached some prior set threshold.
Free would be best, but the cheaper the better as well
I am trying to learn how apache and tomcat and war files work
I have downloaded The Turnkey Tomcat on Apache VM and am running it in Parallels
http://www.turnkeylinux.org/tomcat-apache
I have downloaded a sample WAR file
http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/
I then upload the sample.war file in the Tomcat Manager Application
But when I browse to "http://[ip-address-of-vm]/sample" i get Not Found
I am testing out running an SSH server on a local Windows VM.
I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" unchecked. (When it was enabled no output would show through the ssh connection anyway)
The shell seems to work, but when connecting from my OS-X terminal using ssh all of the shell results comes out ill formatted.
$ ls -al
total 17
drwxr-xr-x+ 1 SYSTEM Administrators 4096 Feb 2 01:00 .
drwxrwxrwt+ 1 Administrator Administrators 0 Feb 2 01:01 ..
-rw------- 1 SYSTEM Administrators 128 Feb 2 01:30 .bash_history
-rwxr-xr-x 1 SYSTEM Administrators 1150 Feb 2 00:55 .bash_profile
-rwxr-xr-x 1 SYSTEM Administrators 3754 Feb 2 00:55 .bashrc
-rwxr-xr-x 1 SYSTEM Administrators 1461 Feb 2 00:55 .inputrc
Any ideas on why this is happening, how I can fix this?