Latest Server related questions

Score: 0
Why Nginx slow DNS Lookup, Initial Connection, SSL Negotiation on Mobile device only, not desktop
us flag

I have a LEMP stack VPS (2GB RAM, 1 CPU, SSD, PHP8.0). This server runs several WordPress sites and uses a mobile-friendly responsive theme. Enabled FastCGI and uses http/2 push.

I have completely different results when testing on webpagetest.org; it shows terrible slow results for mobile devices.

What causes this slow response for mobile devices?

This is the webpagetest.org iPhone X chrome test result ( ...

Score: 1
simonw avatar
LXD on ZFS on LVM on H/W RAID 10
in flag

I have a Dell R540 with PERC H730P running RAID 10 over 12 DISK to the tune of ~22TB. I want to run various applications/services in LXD containers.

I understand that ZFS is preferred for LXC storage pools, and that ZFS prefers direct access to raw disks.

My naive approach was to configure Ubuntu with LVM over the H/W RAID, and let LXD init with default settings (ZFS.img on EXT4 on LVM ...). My read ...

Score: 0
ShaolinMonk avatar
How to activate the Puppet.debug output in external modules
sd flag

I'm trying this Puppet module https://github.com/voxpupuli/puppet-ldapquery, and can't make it work. It's like my LDAP query does not return anything ( I tried it with ldapsearch and it works ). No error message, nothing...

I looked into the ruby code, and noticed these Puppet.debug functions in it :

Puppet.debug("ldapquery(): Searching #{@base} for #{@attributes} using #{@filter} took #{time_delta} ...
Score: 0
lickdragon avatar
puppet: collect an exported resource matching certname?
br flag

Is it possible to collect resources which match a certname?

E.g.

@@notify{"get this with certname compared to a variable" : }
Notify <<| certname == $::fqdn |>>

@@notify{"get this with certname matching string" :   }
Notify <<| certname == "f.q.d.n" |>>

@@notify{"get this with tag, to prove collection is sometimes working" : tag => $::fqdn }
Notify <<| tag == $::fqdn ...
Score: 0
Zulfeqar avatar
Generate CSR including certificate template information with OpenSSL/Keytool for submitting to Microsoft CA
ru flag

i'm trying to generate a CSR which includes the microsoft template CA name. i have tried the below config file but didn't work...any clues ? i want to generate the x509v3 CSR

oid_section = OIDs

[ OIDs ]

# This uses the short name of the template:
certificateTemplateName = 1.3.6.1.4.1.311.21.8.2200605.9715090.14372516.15973785.1368149.102.15135184.3454480

# Use this instead if you need to refer to th ...
Score: 0
Graylog fails to parse nginx access_log: JsonParseException: Unexpected character ('<' (code 60))
jp flag

I've followed https://github.com/ronlut/graylog-content-pack-nginx-docker and Send NGINX logs to Graylog to try to get nginx logs into a graylog 4.1.5 server. Graylog is not displaying messages because it's failing to JSON parse them. Example:

com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or ' ...
Score: 0
Outlook trying to autodiscover server that no longer exists
us flag

Autodiscover seems to have a lot of similar issues, but this one case existing solutions don't seem to help...

Has the common "Allow this website to configure server settings?". However, the server listed below is a server that was removed years ago. The alert is popping up suddenly on a computer (which has been in service for over a year now without having popped this before) that wasn't even ...

Score: 1
Santosh Kumar avatar
Advice required for sending STP BPDU traffic between tap interfaces connected by common bridge
cn flag

Need advice for the bridge tap interface to run stp traffic.

  1. created the tap interface and bridge  
  2. Have come across stp BPDU is consumed by bridge.
  3. i'm running the scapy on the host, however i'm not seeing the stp BPDU on the bridge nor on the tapB interface when i run the tcppdump, please advise4.
  4. My intent is to send/inject stp BPDU via  tapA and should receive on tapB or any tap interfaces on  ...
Score: 0
user3450564 avatar
Dovecot sieve concatenate heqders
cn flag

Setup

  • postfix forwards all mails to an archive@domain user via always_bcc,

  • postfix saves all the RCPT TO in X-Envelope-To headers to perserve the bcc recipients,

  • postfix deletes X-Envelope-To for smtp transfers out for privacy reasons,

  • postfix delivers messages to dovecot via lmtp.

  • dovecot uses a sieve script to flush the X-Envelope-To for all users except archive@domain.

Problem

There is one

Score: 0
Santosh Baruah avatar
Application Load Balancers Requests Hanging
co flag

In my aws env requests are hanging at the ALB for some reason. I haven't been able to identify a cause yet aside from Cache hanging requests there and possibly the session write being left open causing it to wait. what might be the possible reason for of it ,Are there other diagnostic tools for recommendation to add into the stack to try to debug this issue?

Score: 0
Harikrishnan avatar
ping: Warning: time of day goes back (-203647us), taking countermeasures
mk flag

I'm getting the below weird warning message sometimes when pinging to 8.8.8.8 (Occurrence is very low). Any idea about the root cause?

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=111 time=256 ms
ping: Warning: time of day goes back (-203756us), taking countermeasures
ping: Warning: time of day goes back (-203647us), taking countermeasures
Score: 0
en1cc avatar
Hadoop HDFS copy from local
tr flag

I want to do a hdfs copy from local, but I want to be sure that only files older than 1 hour are uploaded into hdfs. The files are beeing uploaded from clients via SFTP and i cant be 100% sure that they use atomic uploads.

For my setup, theres no other way to do this e.g. WebHDFS. Do you have any idea how I can achieve this?

Score: 0
How to add a domain name to an ECS container (ECS Service) without a load balancer?
ss flag

I'm searching for a way to add a domain name to an ECS service (containers) without a load balancer.

The particular type of service I want to do this for is itself a load balancer with capabilities outside of AWS's offering. We need this to be redundant across availability zones with similar setups in multiple isolated VPCs. I'm really loathed to spend $2000 per year to put in enough loadbalance ...

Score: 0
Gabriel Milan avatar
Is there a way of killing user processes on machines they have no jobs on SLURM?
br flag

I'm starting to configure a small cluster using SLURM. One thing I've noticed is that users can still have running jobs on any machine if he follows these steps:

  • Get a machine with salloc
  • SSH into the machine
  • Open screen
  • Run a script
  • Detach from the screen
  • Relinquish job allocation

If he does that, the script keeps running on the machine. Is there a way of avoiding that?

Score: 0
Imnl avatar
Redirect to external asset nginx
pk flag

My goal is to have one nginx that can proxy_pass to other server.

Desired input

https://example.com/https://assets1.com/image.jpg?utm=whatever

Desired output
https://assets1.com/image.jpg?utm=whatever

Here my location block

server {

    index index.html index.htm index.nginx-debian.html;
    server_name example.com www.example.com;

    location ~/(.*) {
            if ($request_method = 'GET' ...

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.