AWS Elastic BeanStalk Error writing to |/usr/sbin/rotatelogs

I have an AWS beanstalk app that after a reboot runs pretty smoothly for few hours, then all of the sudden the latency starts creeping up. When I check the logs, I find a lot of these messages [log_config:warn] [pid 15905] (32)Broken pipe: [client 172.31.5.163:31780] AH00646: Error writing to |/usr/sbin/rotatelogs /var/log/httpd/healthd/application.log.%Y-%m-%d-%H 3600 I also read…

Strange character inside dates in “net user” command output

When running the net user username /domain command in cmd, all the dates (Password last set, Password expires, Password changeable and Last logon) have a strange character before the individual dates numbers, like: Password last set ⌠2019-⌠11-⌠27 09:22:20 When I copy and convert that character to HEX, I get E2808E (the ‘LEFT-TO-RIGHT MARK’ U+200E Unicode…

How do I import an ascii-armored private key back into gpg?

I have exported a private key from gpg using gpg –armor –export-secret-keys 33CB58F45B45F676 This gives me a file like —–BEGIN PGP PRIVATE KEY BLOCK—– nQPGBF3wKSABCAC5ahaMFUVO2+FKDzkEYjSbw0HyiFOPfRIyM+wdbraUCc8Q8guv … If I want to import this file back into gpg, what command should I use? I have tried gpg –import < private.pem but it says gpg: no valid OpenPGP…

The memory with PHP FCGI continues to grow until the server does not respond

I need advice to configure my server. With these parameters, the memory keeps growing until the server dies without error (Apache or PHP). Can someone help us improve performance? Server Windows Server Apache 2.4.12 8 GB RAM Config <IfModule mpm_winnt.c> ThreadsPerChild 125 MaxRequestsPerChild 5000 ThreadStackSize 8388608 </IfModule> <IfModule fcgid_module> FcgidMaxRequestLen 1073741824 FcgidIOTimeout 300 FcgidBusyTimeout 300…

Why is there a mysterious page redirection on localhost?

I migrated this question from https://stackoverflow.com/questions/59259672/why-is-there-a-mysterious-page-redirection-on-localhost on StackOverflow I am seeing something extremely weird that I have been seeing for days while developing a site on localhost. When I go to localhost/thesiliconvalleyjournal it immediately redirects me to localhost/pages/siliconvalleyjournal.php. Notice the absence of ‘the’. I just uninstalled XAMPP using XAMPP’s uninstall executable (uninstall.exe) and then reinstalled…

How to troubleshoot a log flooding issue with a monitoring agent?

I have email flooding issue with OMS agent installation a monitoring agent in Azure Log Analytics. Once the agent is installed on servers, there’s huge amount of emails being sent regarding agent processes. Logs are of the following pattern in the mails received Mail type-1: [Timestamp] [serverName] sudo: omsagent : TTY=unknown ; PWD=/; USER=root; COMMAND=/opt/microsoft/omsagent/ruby/bin/ruby…