Hot answers tagged

3

The hostname should always be set to the FQDN in CentOS 7, according to Red Hat's recommendations. A host name can be a free-form string up to 64 characters in length. However, Red Hat recommends that both static and transient names match the fully-qualified domain name (FQDN) used for the machine in DNS, such as host.example.com. It is also recommended ...


2

SPF doesn't use certificates, so you have misunderstood mechanisms used by SPF to stop the use of forged "from" addresses. SPF is based on set a DNS TXT record in which you specify simple policies of what hosts can send mails using your domain name like this: v=spf1 mx a:pluto.example.net include:aspmx.googlemail.com -all You are probably confused with ...


2

This is called clock drift. The system clock runs a bit faster or slower than it should and over time this accumulates to the difference you see here. If you want your system time to be accurate, you should definitely install an NTP daemon (the ntp package). It will take into account the specificities of your VPS's clock and adapt the speed so the system ...


2

One million users doesn't mean one million requests per second. If you architect it right it could be a lot less - rely on client resources rather than constant server hits. On AWS you'd need an elastic load balancer. You may need a number of them, because they don't spin up from idle to full capacity immediately. If you can pre-warm an ELB you'd need to do ...


1

PHP processes are not particularly reliabile when left running indefinitely. You should configure php-fpm to restart the worker processes every now-and-then often. Try changing ;pm.max_requests = 500 into pm.max_requests = 500 for a start. That might not fix everything as you may possibly have other configuration problems, but changing max_requests is ...


1

Looks like packets from 'some_problem_place' are not reaching your webserver at all. You can debug this using tcpdump (i assume that you know outer network interface on your webserver): On server run sudo tcpdump -ni "outer inferface" src host "IP of some_problem_place" . For example: sudo tcpdump -ni eth0 src host 11.22.33.44 On client try to access your ...


1

The key here is the line '/lib/libc.so.5': not in executable format: File truncated The C library is one of the core components of a Unix-like system, including Linux. That it is corrupted means that virtually nothing will work. You are lucky that your system is limping along, but it's quite possible that starting or restarting anything will fail. DO NOT ...


1

Webdav is almost always very slow. Try transfering some files by regular http, ftp and/or scp and see if that is faster. If it is, its a software issue with whatever you use for webdav. Its also possible the network between you and speedtest.net is great, and between the server and speedtest.net is great, but the network path between you and the vps is ...


1

On the website of your VPS Provider, you will (likely) see which Internet speed and bandwidth you have got. If you have used all your bandwidth, your VPS might have been throttled. The VPS or the VPS Provider might be under a DDoS Attack, this can lower your speed or even block the connection. Or the VPS is very far away from your location, this can cause ...



Only top voted, non community-wiki answers of a minimum length are eligible