Latest Server related questions

Score: 1
Oscar Orellana avatar
Low IOPS on GKE
in flag

We are installing a MongoDB in Kubernetes Engine and it performs very poorly. We have installed it using Helm with 3 replicas (in a replicaset) and storage-class=premium-rwo (pd-ssd) with 500GB on each. It takes many seconds to just insert 500 documents. Google promises IOPS of about 15.000 but when looking at the monitoring we only see about 30 IOPS. What are we doing wrong?

The problem is that we do n ...

Score: 0
How to figure out what is bad about a 400 bad request, on an Apache-server
ar flag

The overarching question

How do I see what is 'bad' about a 400 - bad request?


Info about the error

  • When I click around the WordPress-backend, then between 3 and 7 requests (out of 95-100) give me a: 400 - Bad request-error, upon every page load. But it varies which request that fails, from refresh to refresh?!
  • I've been battling this issue for 8 hours (ish). I feel like I've tried everything.
  •  ...
Score: 0
masus04 avatar
NginX: Serve application under sub path
tn flag

I have multiple single page applications running each in their own container under the home directoy which is quite straight forward.

Now I would like to route to those applications under the same dns entry using different paths, e.g.:

domain.com      -> defaultAppContainer
domain.com/app1 -> container1
domain.com/app2 -> container2

I do not have the option to rewrite the paths during routing, s ...

Score: 0
a.ilchinger avatar
Dynamically register hostnames on DNS server (via DHCP)
nl flag

I want to set up a small network, where a central DHCP server leases IPv4 addresses to the clients. The clients already have their hostnames set and should advertise those to the central DNS server, so both the server and all clients can find each other with that hostname. The DNS server will resolve LAN addresses of the domain "my.domain" and point towards an external DNS server for all other domains ( ...

Score: 0
Can't add VPN address to UFW killswitch
st flag

I am trying to use UFW as a VPN killswitch as outlined in this guide: https://adamtheautomator.com/linux-killswitch/

So far, I have been successful up to the step where I need to restrict outbound traffic only to the VPN.

According to the instructions I should run the following command sudo ufw allow out to <vpn-address> port <vpn-port> proto <vpn-proto>

To get this information, ...

Score: 0
Tim Watts avatar
Openstack security group targeting another security group not working as expected
de flag

I wonder if anyone might be able to see why chaining security groups isn't working please?

I have a VM with security group test_1 applied to its only NIC port. Default security group has egress rules removed to prevent outbound pings (all ICMP in fact)

  1. openstack security group rule create --egress test_1 # Allow all egress
  2. confirm VM can ping stuff: it can
  3. openstack security group rule delete &l ...
Score: 0
jornane avatar
Using both SpamAssassin and postscreen in Postfix
cn flag

I'm trying to set up an MX server using Postfix, postscreen and SpamAssassin.

According to the SpamAssassin documentation, I have to add -o content_filter to the smtp service in master.cf. This works with the default settings for Postfix, which is to use the smtpd command:

# SpamAssassin works:
smtp      inet  n       -       y       -       -       smtpd
  -o content_filter=spamassassin
spamassassin ...
Score: 0
Authenticate on other apps with OpenLDAP user still working after user password expired
au flag

I'm trying to figure out why is this still possible. For example, we have icinga(web)2 and users are still able to login without promting to change the password. Also, other apps that are not using ssh auth are still able to complete the login.

On ssh it prompts the user to change his password, which is the normal behavior.

Any clue why is this happening? If any config files are required, please let ...

Score: 0
Guido Goluke avatar
Apache stops responding after a while when activating HTTP/2
dz flag

I have apache 2.4.41 on Ubuntu 20.04 and run a certain application through PHP-FPM, with the MPM set to 'event'. Recently, in an attempt to speed up the application, I enabled HTTP/2 in the virtualhost by adding Protocols h2 http/1.1. Of course I first checked if the HTTP2 module was enabled using apachectl -M. I checked the response from the server: HTTP/2 is working. Apache2 accepts the protocol ...

Score: 0
volvox avatar
Bash vi-bindings position of last CLI character
tl flag

I'll use

ls -la

as an example.

On Iterm2 (xterm-color256 vi-bindings), when I use the up arrow to go to the last command, the cursor is placed to the right of the 'a'.

When I hit the left hand cursor key, the cursor moves so it's on the 'a'.

When I hit the right hand cursor key, the cursor does not move to the right again, as this is the last char. I have set -o vi in my .login, so using $ to go to t ...

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.