apache 2.2 – Server slower and slower

I am using a dedicated server for my php application. The server slows down day after day after restarting everything goes normal. I cache the results of my json and serve them to the clients, when the normal response time is about 50 ms, but when the server slows down the response time increases up to 17 seconds or more.
This problem affects all servers, I can not even log in with ssh when this happens.

I do not have enough knowledge about the servers.

How can I trace this problem?

System up for 6 days now, and the slowdown started again –

Here are my results

    # lsof | wc -l
34255

# free
total used free shared buff / cache available
Mem: 32641048 1826832 6598216 232780 24216000 29805868
Swap: 16760828 0 16760828

My server has 32gb Ram, 8 Core CPU, Centos 7.
I run the laravel application with 500 unique users daily.
I restarted the mysql service, the httpd service, the ngnix service and deleted the cache, nothing changed. Only the restart of the server helps.

Static files respond normally, but files served by the php application or http responses are very slow and get slower day by day.

Log in with ssh increasingly slow, use plesk as control panel, but it also becomes slower.

I mean that this problem affects not only my application but all servers.

What can I do with this problem? where should I look

Thanks in advance

Provide 50 high quality Quora answers for $ 22

Provide you 50 high quality answers on Quora.

If you are looking for many spam links, please stay, this offer is not for you. Quora's answers are gold mines in SEO. Do you want to guarantee site visitors and return links of Quora's response? We will provide you with a 10th response with your keyword and link. We answer this question that is related to your website / niche. We have different Quora response accounts and we use different proxy.

My specialty service

  1. All the answers are informative and natural (DO NOT PASS COPY)
  2. Use the backlinks of your site related to the response.
  3. All the answers are real account.
  4. Use high quality relevant image to attract viewers.
  5. All the answers will be informative, natural and manual.
  6. 100% guaranteed quality and 100% safe.
  7. Availability 24/7 hours.

Because I? Because I'm a marketing expert at Quora. And I am the most seen writer on Quora.

.

apache 2.2 – How to redirect multiple domains to the same ip but different port for different services

In my VM, I'm running both apache2 Y nginx, but apache2 points to port 8080 and nginx is port 80. I have already pointed my domain to ip in nginx and it is running correctly. The same thing I need to do for apache2. But how am I going to give Port number While mapping the ip to the domain. In the cName registry, I can not specify the port. Is there an alternative way to solve these problems?

Change Target Framework from .NET framework 4.7.2 to .NET core 2.2 for an ASP.NET Core application

I have an existing ASP.NET Core application whose target frame is .NET 4.7.2. I would like to change it to use .net core 2.2 instead.

How to do this?

Show the inequality $ sec x ge 1+ (x ^ 2/2) $

Test inequality

$ sec (x) ge 1+ (x ^ 2/2) $

apache 2.2 – The WordPress admin panel is running extremely slow

1 or 2 weeks ago, I asked my server provider to transfer my server to a different location, since it was responding slowly and it was taking time to load pages from a distant location, so I managed to transfer it to the nearest country.
I have 5 wordpress sites running on my server and all have only more than 100 visitors per day per site.
After the transfer, the wordpress admin panel is running very slowly on all my sites hosted on my server, it is taking 20-30 seconds to load any page only in / wp-admin /. The site interface works without problems.
I am running ubuntu 18.04 on my server with apache2 2.4.29.
What I've done so far is …
1. I tried to disable all wordpress plugins in a site to see if something changes or a problem with the plugin but there are no results.
2. I updated all the packages on my server and deleted an unwanted one.
3. Check open ports if there are strange ports.
4. Checked the firewall if there is a connection problem.
5. I tried a new wordpress instance but it also had the same problem.
6. Checked the ipv6 and ipv4 connection.
7. Even then the problem persists, so I finally rebuild all my VPS, which is enough to prove to the server provider that the problem is not on my side. But the problem still persists.
I do not know what is the problem. I have been in contact with my server provider for a few weeks regarding this problem and have clearly denied that the problem is on their side. But I also verified everything from my side and there are no problems, even if they existed, they should have been solved after rebuilding my VPS.
Any help would be appreciated.
Regards,
Ayu

Redswitches.com: | 2 x Intel Xeon E5 | 8 Cores @ 2.2 GHz | 20TB BW | 1 port of GE | Start 10 euros | | Proxies123.com

[​IMG] Outdoor

VPS servers with 1 gbps instant activation with KVM virtualization and RAID 10 storage.

Redswitches.com: Happy to announce unmanaged VPS services Our 1 gbps VPS offers some of the fastest and most reliable server options, not to mention that compared to other VPS services, ours is a service based on the operating system Linux VPS surprisingly cheap, with KVM and RAID virtualization. 10 storage.

====================================================================================
Get in touch to deal with us:
E-mail: [email protected]
E-mail: [email protected]
Skype: sales switches
=====================================================================================

================================================================================
Pearl
================================================================================
2 x Intel Xeon E5 | 2 Cores @ 2.2 GHz
RAM:
4 GB DDR4
Storage: 35 GB SSD
Port: Port 1GE
Traffic: 5TB traffic
Location: Netherlands
Activation: Time: Instant activation
Price: € 10 / Month
Order now
================================================================================
Sapphire
================================================================================
2 x Intel Xeon E5 | 3 Cores @ 2.2 GHz
RAM:
6 GB DDR4
Storage: 50GB SSD
Port: Port 1GE
Traffic: 8TB traffic
Location: Netherlands
Activation: Time: Instant activation
Price: € 20 / Month
Order now
================================================================================
Gold
================================================================================
2 x Intel Xeon E5 | 5 Cores @ 2.2 GHz
RAM:
8GB of RAM
Storage: 65GB SSD
Port: Port 1GE
Traffic: 10TB traffic
Location: Netherlands
Activation time: Instant activation
Price: € 30 / Month
Order now
================================================================================
Jade
================================================================================
2 x Intel Xeon E5 | 6 Cores @ 2.2 GHz
RAM:
10GB Ram
Storage: 80 GB SSD
Port: Port 1GE
Traffic: 158TB traffic
Location: Netherlands
Activation time: Instant activation
Price: € 40 / Month
Order now
====================================================================================
Diamond
====================================================================================
2 x Intel Xeon E5 | 8 Cores @ 2.2 GHz
RAM:
12GB Ram
Storage: 100 GB SSD
Port: Port 1GE
Traffic: 20TB traffic
Location: Netherlands
Activation time: Instant activation
Price: € 50 / Month
Order now
====================================================================================

Get in touch to deal with us:
E-mail: [email protected]
E-mail: [email protected]
Skype: sales switches

=====================================================================================
FREQUENT QUESTIONS
=====================================================================================
1. What is VPS not administered?
Unmanaged VPS is like having your own dedicated server but with the benefits of shared hosting costs. Although technically it will share the same hardware server with others, that server will be divided into separate virtual servers that will be assigned to specific entities.

2. Is it possible to start with a monthly plan and then change to an annual plan?
Yes, this is absolutely possible.

3. Do you provide refunds after the server has been ordered?

No, we do not provide any refund on dedicated servers. Please, clean all your quarries in advance!
=====================================================================================
Do you have another question?
====================================================================================
Contact Us [email protected]
Website: Red Switches | Dedicated server, virtual private servers, web hosting
====================================================================================
Thank you
Calvin k
Sales team
Redswitches.com

500,000 keywords directed to new emails for $ 22

500,000 keywords directed to new emails

I have years of experience extracting new emails in use that are aimed at a specific niche. Your campaign will be better than ever because I can get your customers who want to buy or click on your affiliate link.

  • Niche directed
  • Fast delivery in 24 hours.
  • Great inbox rate
  • Always in use emails
  • Better campaign!
  • Go to a specific country

I can verify that the emails are in use with my email verification tool!

EXTRA MAIL LOTS WITH ANY ORDER!

MAKE AN ORDER TODAY AND PROMISE THAT YOU WILL NOT RETURN IT!

.

apache 2.2 – Domain and subdomain can not be configured locally using SSL

I have the following configuration for my local Apache server:


    
    
    
    Server name mysite.local
SSLEngine in
SSLCertificateFile "/Users/graziano/Projects/mysite/ssl/mysite.local.pem"
SSLCertificateKeyFile "/Users/graziano/Projects/mysite/ssl/mysite.local-key.pem"
SSLProxyEngine On
ProxyPass / http: // localhost: 3000 /
ProxyPassReverse / http: // localhost: 3000 /



    
    
    
    Server name access.mysite.local
DocumentRoot "/ Users / graziano / Projects / mysite / mysite-backend"
SSLEngine in
SSLCertificateFile "/Users/graziano/Projects/mysite/ssl/access.mysite.local.pem"
SSLCertificateKeyFile "/Users/graziano/Projects/mysite/ssl/access.mysite.local-key.pem"         

Here are my hosts:

127.0.0.1 localhost
127.0.0.1 mysite.local
127.0.0.1 access.mysite.local

I have generated the certificate files using this fantastic tool.

When I visit https: //mysite.local, I am correctly redirected to localhost: 3000 (which serves a Next.js application), but if I hit https: //access.mysite.local (which is a WordPress installation) Google Chrome complains that the connection is not secure:

NET :: ERR_CERT_COMMON_NAME_INVALID

If I invest the two Virtual host directives, that is, move the lower to the upper and vice versa, then https: //access.mysite.local it works but then https: //mysite.local it does not do it and it gives the same previous error.

I need to do this work to test the authentication cookies shared between the Next.js application and the WordPress installation.

magento2.2 – How to configure Varnish 4.1 with Magento 2.2?

Running Magento 2.2.8 – Magento runs in Developer mode

Varnish version 4.1.11

Varnish installed successfully in Apache 2.4

I put VARNISH_LISTEN_PORT = 80 in / etc / sysconfig / varnish

With the settings ready for use in /etc/varnish/default.vcl Varnish works on 127.0.0.1 (I see the X-Varnish header when you ping with CURL), except in my real domain and, therefore, in the store . The https version of my store is the default (naturally).

When I tried with

curl -I http://example.com 

Surprisingly, the varnish headers showed. So now, I continued and disabled "Update unsafe requests" from the Magento administrator. However, this caused the http versions of my store pages to not load at all.

Configuration file exported from Magento admin for Varnish 4. Varnish default.vcl was replaced with the exported file.
Now Varnish does not work for 127.0.0.1 either (or for my real domain name with http or https)

I am aware that the relative path "/ pub" is added to the default.vcl problem exported by Magento. I removed the / pub and this did not solve my problem. I removed the entire probe = {} status check completely and I still do not have X-Varnish headers (nor the X-Magento-Cache-Debug header).

grep -iw listen /usr/local/apache/conf/httpd.conf

Apache listens on 0.0.0.0:8080 and 0.0.0.0:443

grep VARNISH_LISTEN_PORT / etc / sysconfig / varnish

VARNISH_LISTEN_PORT = 80

There seems to be a lot of information about setting up Varnish with Magento and I read a lot, I spent the last two days on this and I'm hitting a wall.

What am i missing here? This is what I do not understand?

Can anyone share their experience in detailed steps to configure Varnish 4.x with Magento 2.2.x?

How did you successfully configure Varnish (4.1) with Magento 2.2.x?

I appreciate your time answering. Thank you!

Here is the latest version of default.vcl that I tried (the best one so far, the same one that does not work):

                vcl 4.0;

import std;
# The minimum version of Varnish is 4.0.
# For the SSL download, pass the following header on your proxy server or load balancer: X-Forwarded-Proto: https & # 39;

default of the backend {
.host = "127.0.0.1";
.port = "8080";
}

acl purge
"127.0.0.1";
}

sub vcl_recv {
if (req.method == "PURGE") {
if (client.ip! ~ purge) {
return (synthesizer (405, "Method not allowed"));
}
if (! req.http.X-Magento-Tags-Pattern) {
return (synthesizer (400, "The X-Magento-Tags-Pattern header is required"));
}
ban ("obj.http.X-Magento-Tags ~" + req.http.X-Magento-Tags-Pattern);
return (synthesizer (200, "Purged"));
}

if (req.method! = "GET" &&
req.method! = "HEAD" &&
req.method! = "PUT" &&
req.method! = "POST" &&
req.method! = "TRACE" &&
req.method! = "OPTIONS" &&
req.method! = "DELETE") {
/ * Non-RFC2616 or CONNECT that is weird. * /
return (tube);
}

# We only deal with GET and HEAD by default
if (req.method! = "GET" && req.method! = "HEAD") {
return (pass);
}

# Avoid shopping cart, payment and search requests
if (req.url ~ "/ checkout" || req.url ~ "/ catalogsearch") {
return (pass);
}

# normalize url in case of main domain and HTTP schema
set req.url = regsub (req.url, "^ http[s]?: // "," ");

# Collect all cookies
std.collect (req.http.Cookie);

# Compression filter. See https://www.varnish-cache.org/trac/wiki/FAQ/Compression
if (req.http.Accept-Encoding) {
if (req.url ~ ". (jpg | jpeg | png | gif | gz | tgz | bz2 | tbz | mp3 | ogg | swf | flv) $") {
# It does not make sense to compress these
unassign req.http.Accept-Encoding;
} elsif (req.http.Accept-Encoding ~ "gzip") {
set req.http.Accept-Encoding = "gzip";
} elsif (req.http.Accept-Encoding ~ "deflate" && req.http.user-agent! ~ "MSIE") {
set req.http.Accept-Encoding = "deflate";
} else {
# unknown algorithm
unassign req.http.Accept-Encoding;
}
}

# Delete Google Gclid parameters to minimize cache objects
set req.url = regsuball (req.url, "? gclid =[^&]+ $ "," "); # strips when QS ="? gclid = AAA "
set req.url = regsuball (req.url, "? gclid =[^&]+ & ","? "); # strips when QS ="? gclid = AAA & foo = bar "
set req.url = regsuball (req.url, "& gclid =[^&]+ "," "); # strips when QS ="? foo = bar & gclid = AAA "or QS ="? foo = bar & gclid = AAA & bar = baz "

# static files are always cacheable. remove the SSL indicator and the cookie
if (req.url ~ "^ / (pub /)? (media | static) /.* . (ico | css | js | jpg | jpeg | png | gif | tiff | bmp | mp3 | ogg | svg | swf | woff | woff2 | eot | ttf | otf) $ ") {
unset req.http.Https;
unset req.http.X-Forwarded-Proto;
unset req.http.Cookie;
}

return (hash);
}

sub vcl_hash {
if (req.http.cookie ~ "X-Magento-Vary =") {
hash_data (regsub (req.http.cookie, "^. *? X-Magento-Vary = ([^;]+); *. * $ ","  1 "));
}

# So that the configurations of multiple sites do not save the content of each one
if (req.http.host) {
hash_data (req.http.host);
} else {
hash_data (server.ip);
}

# To make sure that HTTP users do not see the SSL warning
if (req.http.X-Forwarded-Proto) {
hash_data (req.http.X-Forwarded-Proto);
}
/ * {{design_exceptions_code}} * /
}

sub vcl_backend_response {
if (beresp.http.content-type ~ "text") {
set beresp.do_esi = true;
}

if (bereq.url ~ " .js $" || beresp.http.content-type ~ "text") {
set beresp.do_gzip = true;
}

# cache only successful answers and 404s
if (beresp.status! = 200 && beresp.status! = 404) {
set beresp.ttl = 0s;
set beresp.uncacheable = true;
return (deliver);
} elsif (beresp.http.Cache-Control ~ "private") {
set beresp.uncacheable = true;
set beresp.ttl = 86400s;
return (deliver);
}

if (beresp.http.X-Magento-Debug) {
set beresp.http.X-Magento-Cache-Control = beresp.http.Cache-Control;
}

# validate if we have to cache it and avoid setting cookies
# images, css and js are cacheable by default, so we also have to delete cookies
if (beresp.ttl> 0s && (bereq.method == "GET" || bereq.method == "HEAD")) {
disable beresp.http.set-cookie;
if (bereq.url! ~ ". (ico | css | js | jpg | jpeg | png | gif | tiff | bmp | gz | tgz | bz2 | tbz | mp3 | ogg | svg | swf | woff2 | eot | ttf | otf) (? | $) ") {
set beresp.http.Pragma = "no-cache";
set beresp.http.Expires = "-1";
set beresp.http.Cache-Control = "no-store, no-cache, must-revalidate, max-age = 0";
set beresp.grace = 1m;
}
}

# If the page can not be cached, omit Varnish for 2 minutes as Hit-For-Pass
yes (beresp.ttl <= 0s ||
beresp.http.Surrogate-control ~ "no-store" ||
(! beresp.http.Surrogate-Control && beresp.http.Vary == "*")) {
# Mark as Hit-For-Pass for the next 2 minutes
set beresp.ttl = 120s;
set beresp.uncacheable = true;
}
return (deliver);
}

sub vcl_deliver {
if (resp.http.X-Magento-Debug) {
if (resp.http.x-varnish ~ "") {
set resp.http.X-Magento-Cache-Debug = "HIT";
} else {
set resp.http.X-Magento-Cache-Debug = "MISS";
}
} else {
unset resp.http.Age;
}

unset resp.http.X-Magento-Debug;
Unset resp.http.X-Magento-Tags;
unset resp.http.X-Powered-By;
unset resp.http.Server;
unset resp.http.X-Varnish;
unset resp.http.Via;
unset resp.http.Link;
}