OpenX Admin not accessible - openx

My OpenX server got slammed with heavy traffic a couple of days ago. Since then I have been unable to get into the OpenX admin. The page just times out. The server is still delivering ads. Apache had been restarted and the RAM on the server cluser has been increased from 256MB per server (896MB total) to 512MB per server (1.6GB total). I'm seeing lots of apc-cache 'Unable to allocate memory for pool' errors in the logs.
Server is running 1ubuntu4.15 with PHP 5.3.2. OpenX version is 2.8.9
PHP settings
memory_limit=64M
max_execution_time=90
Any advice on where and what to look at?

I was able to get the Admin UI working again by removing all files in the OpenX cache folder.

Related

Azure App Service - Wordpress super slow and cURL error 28

Following the announcement found here https://azure.github.io/AppService/2022/08/08/Announcing-GA-WordPress-on-Azure-App-Service.html
I've decided to migrate my website from a Ubuntu Server VM on Azure to this App Service configuration.
First, I've created new resources using the "Wordpress" template/configuration which I found on Azure portal. So, the deployment process created an App Service (plan P1), a MySQL database and a CDN Endpoint.
Everything seems to working quite fine. Then I've moved my website files from the VM to the App Service and I've created a new database in MySQL server where I've imported my website database without problems.
I've kept the wp-admin and wp-includes folders which were deployed by Azure and the wp-config.php file.
As final step, I've changed the configurations in the App Service to connect to the right database.
Then I tried to visit my website, but it is super slow (about 10 seconds to load the home page and I was forced to disable some plugins which was causing a fatal error).
I've checked the Wordpress Health Status using the plugin in the admin center, and it reports some issues.
Two of them are reporting a message like this:
cURL error 28: Resolving timed out
I've seen another post on SO ("cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux) with a similar issue and it suggested to change resolv.conf DNS to 8.8.8.8 (previously was 127.0.0.11). The author of the post wrote that this change improved page load time to max 1-2 seconds.
I've made this change but then the website stopped working returning "Error establishing a database connection" (maybe because MySQL db and app service are on the VNET created by Azure Wordpress template and there are some restriction to connect to database).
I've also tried to disable the CDN, changing the CDN_ENABLED to false in the App Service configuration. Obviously I've created the correct custom domains in the App Service and changed the domain DNS which is managed outside Azure.
Also, and I don't know if it is all related to this issue, I've noticed that Google Page Speed is unable to reach the website reporting the error "Lighthouse encountered an error loading the requested page".
What can I do to resolve the reported cURL error 28 and maybe these performance issues?

IIS 10.0 http 500 error reading .txt after kb5001402 and 1347

We have 3 ASP.NET 4.5 websites set up in IIS 10.0, windows 2016, all on port 443 using Host Headers to direct to correct site. The sites are on 2 servers with an NLB in front, the NLB pings each site looking for a status.txt at the root of each site folder to know if the site is active.
After the windows updates kb5001402 and 1347 on april 27th, the NLB can no longer read the status.txt files, IIS is returning a http 500 error. There is nothing in the event logs or the IIS logs except the http 500.
I'm at a bit of a loss where to look next or how to fix this, any thoughts or ideas?
Additional Info: To narrow things down, I turned off the second server removed all the sites but one and removed the host header, so now I have one site on one server on port 443. Using the server name to bypass the NLB I can access .aspx pages, but the .txt and .png files do not load. So for some reason IIS will not serve the .txt or .png after the patches
Edit and Answer - It turned out the service account the app pool was running under had been removed from the required "permission" set of the certificate the site was running under. No idea how this happen or if was even related to the kb.
Those KBs have been installed this morning on my system and I had a similar issue in an app where PNGs were not displaying anymore.
In my case, it turned to be a security problem: A website running with anonymous authentication under the App Pool identity. And, this morning, the authentication was set to IUSR. Which led to the PNG not being shown (due to access being denied, I suppose). After setting authentication back to 'app pool identity', the problem was solved.
I didn't find anything in the KB which can explain this. I presume that the txt file should be 'anonymous' to be read from a NLB.
Have you already checked that nothing has changed around the authentication on you system?

Azure hosted Wordpress site taking long to connect to domain

I'm running a wordpress website on Azure with a MySQL DB both located in East US
However, for some reason recently the website has been taking a much longer time than usual to connect. The first request to connect to the domain takes 6+ seconds.
I've edited the Web config file and worked with a Cache for the website but its still giving me the long waiting times. Would Appreciate any help.
longwaitingtime

Azure Websites - Drupal

I have a Drupal site loaded up on Azure Websites but it timeouts and wont load, the database connection is fine as if I navigate to /install.php it says that there is already a installation.
Now I tested my configuration with a vanilla install of Drupal and it works fine, no error message comes up just a blank page.
The logs suggest the following
[08-Dec-2014 09:38:55 Australia/Brisbane] PHP Fatal error: Maximum execution time of 300 seconds exceeded in D:\home\site\wwwroot\includes\database\database.inc on line 2171
Check how much php memory is allocated to your site. 300 seconds are enough for loading a drupal site.
Also, make sure, your website is not calling an external API which is taking a while to respond.

Exchange OWA stopped working after installing Tomcat

I have a window 2003 server running exchange 2003 on IIS 6. Everything worked until I installed Tomcat/Railo on the server.
After the Tomcat install I am unable to reach the exchange server on the OWA. I understand that Tomcat is processing the servlets for railo but I am not sure how it is effecting OWA and how to fix it.
Since this has been running so long I am not sure where the files are to reinstall OWA are.
When I hit the exchange OWA site it does ask me to login but then IIS give me a 404 error
I obviously need to get this up and running since every in the company uses the OWA help!
Added info:
I have added a new virtual directory to the default website that contains an image. I can hit this with no problem so it appears that what is no longer working are the virutal directories originally added by the install.
/exchadmin \\.\backofficeStorage
/exchange \\.\backofficeStaorage
/exchweb C:\Program Files\Exchsrvr\ExchWeb
etc
These also appear to be ASP.NET related pages. Is it possible that installing railo/Tomcat messed up the asp processing for this site?
I suspect that both IIS and Tomcat are trying to listen on Port 80, only one can bind at a time. If you look in IIS you may find your default website is stopped.
#Gavin Totall put me on the right track for this. What ever happened during the Tomcat install hosed all of the application pool settings for the default site I found this page
http://support.microsoft.com/?id=883380
on how to reset all the default OWA virtual directorys and everything started working again. Hopefully this post will save someone the hours I spent on this. Thanks again #Gavin

Resources