Latest Server related questions

Score: 0
mogoman avatar
Kubernetes limit number of simultaneous pod restarts over whole cluster
tn flag

We have a 6 node Kubernetes cluster running around 20 large replica set workloads (Java services). Each workload pod (1 pod per workload) takes about 30 seconds on average to start and use a lot of CPU. This makes starting multiple pods/workloads at the same time a problem - to the point that when 2 or 3 start at the same time on the same node they take minutes to start and eventually get killed by the  ...

Score: 0
boxcartenant avatar
Has anyone here tried using ZWAMP as a dedicated SQL instance for long-term data collection?
in flag

By "ZWAMP", I mean this product, especially its MySQL implementation.

What I'm really aiming to learn here are the inherent, hardware independent, data storage size, complexity, and duration limitations associated with that software, if any; and whether it would be a very bad idea for me to put a ZWAMP instance onto a dedicated server (I'm running Windows Server 2012, but any server will do, I suppos ...

Score: 1
Yohan W. Dunon avatar
How to set up fail2ban with UFW on Ubuntu 20.04?
fr flag

I'm trying to block IP addresses with fail2ban and ufw with the following configuration and the default ufw.conf in /etc/fail2ban/action.d.

Jail config

[app-custom]
enabled = true
maxretry = 1
journalmatch =
backend = polling
logpath = %(log_path)s
findtime = 120
bantime = -1
banaction = ufw[application=$(app), blocktype=reject]

ufw config

actionstart =

actionstop =

actioncheck =

actionban =  ...
Score: 0
user354104 avatar
What could cause files to end up zeroed out?
id flag

A client sent us an external hard drive where at least half the files are corrupt. They are broad mix of filetypes (images, documents, etc) and there is no discernible pattern into which are corrupt. They appear as their original size, however, when I open them in a hexeditor they are filled with nothing but nulls. The data has been completely replaced with 00s.

What could cause this to happen? T ...

Score: 0
How to configure HAProxy to ignore client header `Pragma: no-cache`?
ve flag

We have a web service behind a HAProxy server running in caching reverse proxy configuration. The backend servers send Cache-Control headers correctly for all responses so HAProxy can cache all responses according to HTTP spec.

However, when the end user hits the Shift+Reload button in e.g. Google Chrome, the client (Chrome) sends Pragma: no-cache and Cache-Control: no-cache which forces HAProxy to a ...

Score: 4
laurent avatar
Is it worth installing UFW on an AWS EC2 instance?
tj flag

I would usually run UFW on servers I deploy, however I've just started using AWS and I see they already provide a firewall, allowing to set inbound/outbound rules, etc.

So I'm wondering if it's ever useful to have both the AWS firewall and UFW running at the same time? Or can I drop UFW altogether?

Score: 0
melink14 avatar
Creating a stacked area distribution percentile graph in Google Cloud Monitoring
cn flag

I've created a log based metric using logs stored in Google Cloud Logs based on HTTP response duration. I'd like to a graph which shows stacked area for 50th, 95th, and 99th percentile.

I've read the Google Cloud Monitoring docs on various charts and while I can get any single metric to display as a percentile; I can't seem to have all three percentiles render stacked at the same time.

What is possi ...

Score: 0
Rafael Trevisan avatar
How to beautify the URL with NGINX and Tomcat for Oracle APEX
cn flag

I've been trying to configure my NGINX to have nicer URL with my Oracle APEX apps but I am struggling to figure out what I am missing.

My Tomcat and NGINX are in the same server, and the ORDS has been deployed and is available under http://localhost:8080/ords/.

My goal is to have two server names like below:

Server Name Where to Proxy/Redirect Desired URL
dev.example.com http://localhost: ...
Score: 1
Sandeep avatar
Ansible to update list of dictionary based on certain condition
bz flag

I wanted to update the list with ansible which contains dictionary items based on certain conditions

for example:

list1:
  - {"name": "test1", "uid": 100, "gid": 250}
  - {"name": "test2", "uid": 101, "gid": 250}
  - {"name": "test3", "uid": 103, "gid": 250}
  - {"name": "test4", "uid": 104, "gid": 250}

list2: [100, 101]

list3: [102,103]

if uid match with an item in list2 it will change gid=30 ...

Score: 3
Ankit avatar
Query about Thin Provisioning and Thick Provisioning
ck flag

If i have storage LUN created as thin provisioned and mapped it to VMware Datastore. From that Datastore thick eager VMDK allocated to VM.

Does this action reserve VMDK capacity on Backend Storage and that capacity will not be available for other host for write if we have over-provisioned storage ?

Score: 0
user3252254 avatar
haproxy: Proxy request over another http proxy
in flag

We have haproxy in place to perform two-way (mutual) TLS for TCP connections through a SOCKS proxy. This is the setup:

client --> haproxy --> socks proxy (gateway) --> Internet --> server

This is the haproxy configuration:

  global
    log stdout format iso local7 debug

  defaults
    log global
    mode tcp
    option tcplog
    maxconn 10
    timeout connect 5000
    timeout client  50000
 ...
Score: 0
remudada avatar
MariaDB on AWS RDS curiously takes up 60GB of storage occasionally in a very short span of time
ru flag

I have a small MariaDB RDS Instance running on AWS. Every once in a while, the instance quickly starts to use the available storage (not the tablespace) and becomes 100% full, i.e. 100% storage full. Then it's locked by AWS, storage optimization happens and all that storage is released. I want to be able to debug this problem, but I don't have a clue why the DB would end up with full storage? Any clues  ...

Score: 2
Razib avatar
Understanding NS Record and Authorative Server Better
br flag

I'm trying to understand how DNS works. Even after a quiet amount of searching it's still not clear to me how NS record works. Now I've following two facts.

Fact 1 (based on this article, the first paragraph)

An NS record or (name server record) tells recursive name servers which name servers are authoritative for a zone.

Fact 2 (here, under the authorative name server section)

The authoritative n ...

Score: 0
John avatar
Postfix identify the true sender
de flag

Recently my server has many spam emails generated. I looked for information in an example message but the sender is apparently faked, and there is no postfix user ID in the message header as well. Below is the complete header of a sample message:

root@server:~# postcat -qv 400CB848E9
postcat: name_mask: all
postcat: inet_addr_local: configured 4 IPv4 addresses
postcat: inet_addr_local: configured 2 ...
Score: 0
rbaleksandar avatar
How to reset iLO 4 to default without credentials?
br flag

Is there a way to reset iLO (in order to see system health and configuration details) with just a keyboard and a display (no web interface)?

If a web interface is an absolute must, then how to reset iLO without knowing the IP address and credentials?

Reason for asking: I got my eyes on a nice HP ProLiant ML350p tower server. The problem is that the person got it from a sale (refurbished) from a clea ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.